Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(deps): Bump mongoose from 7.5.0 to 7.5.2 (#243)
Bumps [mongoose](https://github.com/Automattic/mongoose) from 7.5.0 to 7.5.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/Automattic/mongoose/releases">mongoose's releases</a>.</em></p> <blockquote> <h1>7.5.2 / 2023-09-15</h1> <ul> <li>fix(schema): handle number discriminator keys when using Schema.prototype.discriminator() <a href="https://redirect.github.com/Automattic/mongoose/issues/13858">#13858</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/13788">#13788</a></li> <li>fix: ignore <code>id</code> property when calling <code>set()</code> with both <code>id</code> and <code>_id</code> specified to avoid <code>id</code> setter overwriting <a href="https://redirect.github.com/Automattic/mongoose/issues/13762">#13762</a></li> <li>types: pass correct document type to required and default function <a href="https://redirect.github.com/Automattic/mongoose/issues/13851">#13851</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/13797">#13797</a></li> <li>docs(model): add examples of using diffIndexes() to syncIndexes()and diffIndexes() api docs <a href="https://redirect.github.com/Automattic/mongoose/issues/13850">#13850</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/13771">#13771</a></li> </ul> <h1>7.5.1 / 2023-09-11</h1> <ul> <li>fix: set default value for _update when no update object is provided and versionKey is set to false <a href="https://redirect.github.com/Automattic/mongoose/issues/13795">#13795</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/13783">#13783</a> <a href="https://github.com/MohOraby">MohOraby</a></li> <li>fix: avoid unexpected error when accessing null array element on discriminator array when populating <a href="https://redirect.github.com/Automattic/mongoose/issues/13716">#13716</a> <a href="https://github.com/ZSabakh">ZSabakh</a></li> <li>types(schematypes): use DocType for instance method this <a href="https://redirect.github.com/Automattic/mongoose/issues/13822">#13822</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/13800">#13800</a> <a href="https://github.com/pshaddel">pshaddel</a></li> <li>types: remove duplicated 'exists' method in Model interface in models.d.ts <a href="https://redirect.github.com/Automattic/mongoose/issues/13818">#13818</a> <a href="https://github.com/ohzeno">ohzeno</a></li> <li>docs(model): replace outdated docs on deprecated findOneAndUpdate() overwrite option <a href="https://redirect.github.com/Automattic/mongoose/issues/13821">#13821</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/13715">#13715</a></li> <li>docs: add example of using <code>virtuals.pathsToSkip</code> option for <code>toObject()</code> and <code>toJSON()</code> <a href="https://redirect.github.com/Automattic/mongoose/issues/13798">#13798</a> <a href="https://github.com/RobertHunter-Pluto">RobertHunter-Pluto</a></li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md">mongoose's changelog</a>.</em></p> <blockquote> <h1>7.5.2 / 2023-09-15</h1> <ul> <li>fix(schema): handle number discriminator keys when using Schema.prototype.discriminator() <a href="https://redirect.github.com/Automattic/mongoose/issues/13858">#13858</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/13788">#13788</a></li> <li>fix: ignore <code>id</code> property when calling <code>set()</code> with both <code>id</code> and <code>_id</code> specified to avoid <code>id</code> setter overwriting <a href="https://redirect.github.com/Automattic/mongoose/issues/13762">#13762</a></li> <li>types: pass correct document type to required and default function <a href="https://redirect.github.com/Automattic/mongoose/issues/13851">#13851</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/13797">#13797</a></li> <li>docs(model): add examples of using diffIndexes() to syncIndexes()and diffIndexes() api docs <a href="https://redirect.github.com/Automattic/mongoose/issues/13850">#13850</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/13771">#13771</a></li> </ul> <h1>7.5.1 / 2023-09-11</h1> <ul> <li>fix: set default value for _update when no update object is provided and versionKey is set to false <a href="https://redirect.github.com/Automattic/mongoose/issues/13795">#13795</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/13783">#13783</a> <a href="https://github.com/MohOraby">MohOraby</a></li> <li>fix: avoid unexpected error when accessing null array element on discriminator array when populating <a href="https://redirect.github.com/Automattic/mongoose/issues/13716">#13716</a> <a href="https://github.com/ZSabakh">ZSabakh</a></li> <li>types(schematypes): use DocType for instance method this <a href="https://redirect.github.com/Automattic/mongoose/issues/13822">#13822</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/13800">#13800</a> <a href="https://github.com/pshaddel">pshaddel</a></li> <li>types: remove duplicated 'exists' method in Model interface in models.d.ts <a href="https://redirect.github.com/Automattic/mongoose/issues/13818">#13818</a> <a href="https://github.com/ohzeno">ohzeno</a></li> <li>docs(model): replace outdated docs on deprecated findOneAndUpdate() overwrite option <a href="https://redirect.github.com/Automattic/mongoose/issues/13821">#13821</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/13715">#13715</a></li> <li>docs: add example of using <code>virtuals.pathsToSkip</code> option for <code>toObject()</code> and <code>toJSON()</code> <a href="https://redirect.github.com/Automattic/mongoose/issues/13798">#13798</a> <a href="https://github.com/RobertHunter-Pluto">RobertHunter-Pluto</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/Automattic/mongoose/commit/6148d969aca0975c9dc38cdb119fa09777e9f8cc"><code>6148d96</code></a> chore: release 7.5.2</li> <li><a href="https://github.com/Automattic/mongoose/commit/f9bfae007e8251b691385e077121dff1261a793e"><code>f9bfae0</code></a> Merge pull request <a href="https://redirect.github.com/Automattic/mongoose/issues/13858">#13858</a> from Automattic/vkarpov15/<a href="https://redirect.github.com/Automattic/mongoose/issues/13788">gh-13788</a></li> <li><a href="https://github.com/Automattic/mongoose/commit/4c3805665bdc783cd421043ad0f41679d22c4be7"><code>4c38056</code></a> style: fix lint</li> <li><a href="https://github.com/Automattic/mongoose/commit/aa90acddf5e8b5aca31f593d3f8b157ec339ab21"><code>aa90acd</code></a> fix(schema): handle number discriminator keys when using `Schema.prototype.di...</li> <li><a href="https://github.com/Automattic/mongoose/commit/87619d078e07ab317c1ac7b04e17ea6c0b10cff8"><code>87619d0</code></a> Merge pull request <a href="https://redirect.github.com/Automattic/mongoose/issues/13854">#13854</a> from Automattic/IslandRhythms/<a href="https://redirect.github.com/Automattic/mongoose/issues/13762">gh-13762</a></li> <li><a href="https://github.com/Automattic/mongoose/commit/a6d421397c797a95023a914097b43b081642d3ed"><code>a6d4213</code></a> Merge branch 'master' into IslandRhythms/<a href="https://redirect.github.com/Automattic/mongoose/issues/13762">gh-13762</a></li> <li><a href="https://github.com/Automattic/mongoose/commit/71bbf648310ec36638a2677297070d35f020d2e3"><code>71bbf64</code></a> Merge pull request <a href="https://redirect.github.com/Automattic/mongoose/issues/13851">#13851</a> from pshaddel/master</li> <li><a href="https://github.com/Automattic/mongoose/commit/64cec0254d9da37af7dccb38f9bf1fb7d2c758e9"><code>64cec02</code></a> Merge branch 'master' into master</li> <li><a href="https://github.com/Automattic/mongoose/commit/c27500b2c206d870321620fa982d4195abedd33c"><code>c27500b</code></a> Merge pull request <a href="https://redirect.github.com/Automattic/mongoose/issues/13850">#13850</a> from Automattic/vkarpov15/<a href="https://redirect.github.com/Automattic/mongoose/issues/13771">gh-13771</a></li> <li><a href="https://github.com/Automattic/mongoose/commit/cf576fcd949b64d8eb26ff3e0907af2c41419420"><code>cf576fc</code></a> Update document.js</li> <li>Additional commits viewable in <a href="https://github.com/Automattic/mongoose/compare/7.5.0...7.5.2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=mongoose&package-manager=npm_and_yarn&previous-version=7.5.0&new-version=7.5.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@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) </details>
- Loading branch information