InfusionBot / Welcome-Bot

A cool multi-purpose discord bot that solves all your problems. I have features such as Moderation, ModLog, Welcome & Goodbye logs, Fun, Music
https://Welcome-Bot.github.io/
GNU Lesser General Public License v2.1
86 stars 34 forks source link

npm(deps): bump mongoose from 6.0.12 to 6.6.4 #488

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps mongoose from 6.0.12 to 6.6.4.

Release notes

Sourced from mongoose's releases.

6.6.4 / 2022-10-03

  • fix(model): avoid saving applied defaults if path is deselected #12506 #12414
  • fix(types): correct DocType for auto typed query helpers #12342
  • fix(types): avoid "excessively deep" type instantiation error when using bulkWrite() with type that extends from document #12277
  • fix(types): avoid relying on typeof this, which isn't supported in TypeScript < 4.4 #12375
  • docs(schema): correct example for Schema.prototype.discriminator() #12493
  • docs(typescript): clean up query helpers examples #12342
  • chore: use mongodb-memory-server for testing #12262 hasezoey

6.6.3 / 2022-09-30

  • fix(query): treat findOne(_id) as equivalent to findOne({ _id }) #12485 #12325
  • fix(timestamps): findOneAndUpdate creates subdocs with timestamps in reverse order #12484 #12475 lpizzinidev
  • fix(types): make schema.plugin() more flexible for schemas that don't define any generics #12486 #12454
  • fix(types): add "array of array key-value pairs" as a argument option for "query.sort()" #12483 #12434 hasezoey
  • fix(types): remove unused defaults in "PluginFunction" #12459 hasezoey
  • fix(types): update DiscriminatorSchema to have better names and combine statics #12460 hasezoey

6.6.2 / 2022-09-26

  • fix(model): avoid deleting shared schema methods in fix for #12254 #12423
  • fix(document): set $inc default value in case field has not been specified on the document #12435 lpizzinidev
  • fix(query): handle select: false on map paths in query results #12467 lpizzinidev
  • fix(types): add HydratedDocumentFromSchema to make it easier to pull inferred hydrated doc type #12464 #12319
  • fix(types): add sanitizeFilter to types #12465 zrosenbauer
  • fix(types): infer number enum types from schema if using enum: [0, 1] as const #12463 #12242
  • docs(validation): add section on global schematype validation, clean up other issues #12430
  • docs: add clarification about overwrite flag in model.js #12447 Tzvika-m
  • docs: change to consistent "Example:" for jsdoc comments #12432 hasezoey

6.6.1 / 2022-09-14

  • fix: correctly apply defaults after subdoc init #12328
  • fix(array): avoid using default _id when using pull() #12294
  • fix: allow null values inside $expr objects #12429 MartinDrost
  • fix(query): use correct Query constructor when cloning query #12418
  • docs(website): remove setting "latest38x" which is not used anywhere #12396 hasezoey

6.6.0 / 2022-09-08

  • feat: upgrade mongodb driver -> 4.9.1 #12370 AbdelrahmanHafez
  • feat: re-export default Mongoose instance properties for ESM named imports support #12256
  • feat(model): add option to skip invalid fields with castObject() #12156 IslandRhythms
  • feat: use setPrototypeOf() instead of proto to allow running on Deno #12315
  • feat(QueryCursor): add support for AbortSignal on eachAsync() #12323
  • feat(types): add types for new $densify operator #12118 IslandRhythms

6.5.5 / 2022-09-07

... (truncated)

Changelog

Sourced from mongoose's changelog.

6.6.4 / 2022-10-03

  • fix(model): avoid saving applied defaults if path is deselected #12506 #12414
  • fix(types): correct DocType for auto typed query helpers #12342
  • fix(types): avoid "excessively deep" type instantiation error when using bulkWrite() with type that extends from document #12277
  • fix(types): avoid relying on typeof this, which isn't supported in TypeScript < 4.4 #12375
  • docs(schema): correct example for Schema.prototype.discriminator() #12493
  • docs(typescript): clean up query helpers examples #12342
  • chore: use mongodb-memory-server for testing #12262 hasezoey

6.6.3 / 2022-09-30

  • fix(query): treat findOne(_id) as equivalent to findOne({ _id }) #12485 #12325
  • fix(timestamps): findOneAndUpdate creates subdocs with timestamps in reverse order #12484 #12475 lpizzinidev
  • fix(types): make schema.plugin() more flexible for schemas that don't define any generics #12486 #12454
  • fix(types): add "array of array key-value pairs" as a argument option for "query.sort()" #12483 #12434 hasezoey
  • fix(types): remove unused defaults in "PluginFunction" #12459 hasezoey
  • fix(types): update DiscriminatorSchema to have better names and combine statics #12460 hasezoey

6.6.2 / 2022-09-26

  • fix(model): avoid deleting shared schema methods in fix for #12254 #12423
  • fix(document): set $inc default value in case field has not been specified on the document #12435 lpizzinidev
  • fix(query): handle select: false on map paths in query results #12467 lpizzinidev
  • fix(types): add HydratedDocumentFromSchema to make it easier to pull inferred hydrated doc type #12464 #12319
  • fix(types): add sanitizeFilter to types #12465 zrosenbauer
  • fix(types): infer number enum types from schema if using enum: [0, 1] as const #12463 #12242
  • docs(validation): add section on global schematype validation, clean up other issues #12430
  • docs: add clarification about overwrite flag in model.js #12447 Tzvika-m
  • docs: change to consistent "Example:" for jsdoc comments #12432 hasezoey

6.6.1 / 2022-09-14

  • fix: correctly apply defaults after subdoc init #12328
  • fix(array): avoid using default _id when using pull() #12294
  • fix: allow null values inside $expr objects #12429 MartinDrost
  • fix(query): use correct Query constructor when cloning query #12418
  • docs(website): remove setting "latest38x" which is not used anywhere #12396 hasezoey

6.6.0 / 2022-09-08

  • feat: upgrade mongodb driver -> 4.9.1 #12370 AbdelrahmanHafez
  • feat: re-export default Mongoose instance properties for ESM named imports support #12256
  • feat(model): add option to skip invalid fields with castObject() #12156 IslandRhythms
  • feat: use setPrototypeOf() instead of proto to allow running on Deno #12315
  • feat(QueryCursor): add support for AbortSignal on eachAsync() #12323
  • feat(types): add types for new $densify operator #12118 IslandRhythms

6.5.5 / 2022-09-07

... (truncated)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 2 years ago

Superseded by #489.