Automattic/mongoose
### [`v5.10.14`](https://togithub.com/Automattic/mongoose/blob/master/History.md#51014--2020-11-12)
[Compare Source](https://togithub.com/Automattic/mongoose/compare/5.10.13...5.10.14)
====================
- fix(update): handle casting immutable object properties with `$setOnInsert` [#9537](https://togithub.com/Automattic/mongoose/issues/9537)
- fix(discriminator): overwrite instead of merge if discriminator schema specifies a path is single nested but base schema has path as doc array [#9534](https://togithub.com/Automattic/mongoose/issues/9534)
- docs(middleware): clarify that you need to set both `document` and `query` on `remove` hooks to get just document middleware [#9530](https://togithub.com/Automattic/mongoose/issues/9530) [mustafaKamal-fe](https://togithub.com/mustafaKamal-fe)
- docs(CONTRIBUTING): remove mmapv1 recommendation and clean up a few other details [#9529](https://togithub.com/Automattic/mongoose/issues/9529)
- refactor: remove duplicate function definition [#9527](https://togithub.com/Automattic/mongoose/issues/9527) [ksullivan](https://togithub.com/ksullivan)
Renovate configuration
:date: Schedule: "before 3am on Monday" in timezone Europe/Paris.
:vertical_traffic_light: Automerge: Enabled.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
5.10.13
->5.10.14
Release Notes
Automattic/mongoose
### [`v5.10.14`](https://togithub.com/Automattic/mongoose/blob/master/History.md#51014--2020-11-12) [Compare Source](https://togithub.com/Automattic/mongoose/compare/5.10.13...5.10.14) ==================== - fix(update): handle casting immutable object properties with `$setOnInsert` [#9537](https://togithub.com/Automattic/mongoose/issues/9537) - fix(discriminator): overwrite instead of merge if discriminator schema specifies a path is single nested but base schema has path as doc array [#9534](https://togithub.com/Automattic/mongoose/issues/9534) - docs(middleware): clarify that you need to set both `document` and `query` on `remove` hooks to get just document middleware [#9530](https://togithub.com/Automattic/mongoose/issues/9530) [mustafaKamal-fe](https://togithub.com/mustafaKamal-fe) - docs(CONTRIBUTING): remove mmapv1 recommendation and clean up a few other details [#9529](https://togithub.com/Automattic/mongoose/issues/9529) - refactor: remove duplicate function definition [#9527](https://togithub.com/Automattic/mongoose/issues/9527) [ksullivan](https://togithub.com/ksullivan)Renovate configuration
:date: Schedule: "before 3am on Monday" in timezone Europe/Paris.
:vertical_traffic_light: Automerge: Enabled.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.