fix(deps): update dependency mongoose to v6.6.5
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| mongoose (source) | 6.6.1 -> 6.6.5 |
Release Notes
Automattic/mongoose
v6.6.5
==================
- fix(document): set defaults on subdocuments underneath init-ed single nested subdocument #12523 #12515
- fix: make Jest fake timers check more robust to other libs that overwrite time functions #12527 #12514
- fix(types): indicate that Schema.prototype.discriminator() returns this #12522 #12457
- fix(types): add "estimatedDocumentCount" and "countDocuments" as possible hooks #12519 #12516
- docs(models): add section on MongoDB Views #12526 #5694
- docs(subdocs): clarify that populated docs are not subdocs #12521 #12398
- docs(change-streams): remove unnecessary obsolete comment about needing to use mongodb driver change streams #12444
v6.6.4
==================
- 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
v6.6.3
==================
- 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
v6.6.2
==================
- 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: falseon 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
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.
/gcbrun
Merge-on-green attempted to merge your PR for 6 hours, but it was not mergeable because either one of your required status checks failed, one of your required reviews was not approved, or there is a do not merge label. Learn more about your required status checks here: https://help.github.com/en/github/administering-a-repository/enabling-required-status-checks. You can remove and reapply the label to re-run the bot.
/gcbrun
/gcbrun
/gcbrun
/gcbrun
/gcbrun
/gcbrun
/gcbrun
/gcbrun
/gcbrun
/gcbrun
/gcbrun
/gcbrun
/gcbrun