Bump mongoose from 5.7.0 to 6.13.10 #70

Closed
dependabot[bot] wants to merge 1 commit from dependabot/npm_and_yarn/mongoose-6.13.10 into master
dependabot[bot] commented 2026-10-22 17:49:24 +00:00 (Migrated from github.com)

Bumps mongoose from 5.7.0 to 6.13.10.

Release notes

Sourced from mongoose's releases.

6.13.9 / 2026-02-04

  • fix: handle other top-level query operators in sanitizeFilter
  • types(aggregate): add $firstN, $lastN, $bottom, $bottomN, $minN and $maxN operators #15303 #15299
  • docs(compatibility): add note that Mongoose ^6.5 works with MongoDB server 7.x #15427
Changelog

Sourced from mongoose's changelog.

6.13.10 / 2026-06-22

  • fix(document): add additional defensive checks for special properties in Document.prototype.get()
  • fix(schema): avoid returning inherited properties from schema path lookups

6.13.9 / 2026-02-04

  • fix: handle other top-level query operators in sanitizeFilter
  • types(aggregate): add $firstN, $lastN, $bottom, $bottomN, $minN and $maxN operators #15303 #15299
  • docs(compatibility): add note that Mongoose ^6.5 works with MongoDB server 7.x #15427

6.13.8 / 2025-01-20

  • chore: remove coverage output from bundle

6.13.7 / 2025-01-20

  • chore: re-release to force npm audit to pick up 6.x fix for CVE-2025-23061

6.13.6 / 2025-01-13

  • fix: disallow nested $where in populate match CVE-2025-23061

6.13.5 / 2024-11-26

  • fix: disallow using $where in match

6.13.4 / 2024-11-15

  • fix: save execution stack in query as string #15043 #15039
  • docs: clarify strictQuery default will flip-flop in "Migrating to 6.x" #14998 markstos

6.13.3 / 2024-09-23

  • docs(migrating_to_6): document that Lodash _.isEmpty() with ObjectId() as a parameter returns true in Mongoose 6 #11152

6.13.2 / 2024-09-12

  • fix(document): make set() respect merge option on deeply nested objects #14870 #14878

6.13.1 / 2024-09-06

  • fix: remove empty $and, $or, $not that were made empty by scrict mode #14749 #13086 0x0a0d

6.13.0 / 2024-06-06

  • feat(model): add throwOnValidationError option for opting into getting MongooseBulkWriteError if all valid operations succeed in bulkWrite() and insertMany() #14599 #14587 #14572 #13410

6.12.9 / 2024-05-24

... (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 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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.
Bumps [mongoose](https://github.com/Automattic/mongoose) from 5.7.0 to 6.13.10. <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>6.13.9 / 2026-02-04</h1> <ul> <li>fix: handle other top-level query operators in sanitizeFilter</li> <li>types(aggregate): add $firstN, $lastN, $bottom, $bottomN, $minN and $maxN operators <a href="https://redirect.github.com/Automattic/mongoose/issues/15303">#15303</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15299">#15299</a></li> <li>docs(compatibility): add note that Mongoose ^6.5 works with MongoDB server 7.x <a href="https://redirect.github.com/Automattic/mongoose/issues/15427">#15427</a></li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/Automattic/mongoose/blob/6.13.10/CHANGELOG.md">mongoose's changelog</a>.</em></p> <blockquote> <h1>6.13.10 / 2026-06-22</h1> <ul> <li>fix(document): add additional defensive checks for special properties in Document.prototype.get()</li> <li>fix(schema): avoid returning inherited properties from schema path lookups</li> </ul> <h1>6.13.9 / 2026-02-04</h1> <ul> <li>fix: handle other top-level query operators in sanitizeFilter</li> <li>types(aggregate): add $firstN, $lastN, $bottom, $bottomN, $minN and $maxN operators <a href="https://redirect.github.com/Automattic/mongoose/issues/15303">#15303</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15299">#15299</a></li> <li>docs(compatibility): add note that Mongoose ^6.5 works with MongoDB server 7.x <a href="https://redirect.github.com/Automattic/mongoose/issues/15427">#15427</a></li> </ul> <h1>6.13.8 / 2025-01-20</h1> <ul> <li>chore: remove coverage output from bundle</li> </ul> <h1>6.13.7 / 2025-01-20</h1> <ul> <li>chore: re-release to force npm audit to pick up 6.x fix for CVE-2025-23061</li> </ul> <h1>6.13.6 / 2025-01-13</h1> <ul> <li>fix: disallow nested $where in populate match CVE-2025-23061</li> </ul> <h1>6.13.5 / 2024-11-26</h1> <ul> <li>fix: disallow using $where in match</li> </ul> <h1>6.13.4 / 2024-11-15</h1> <ul> <li>fix: save execution stack in query as string <a href="https://redirect.github.com/Automattic/mongoose/issues/15043">#15043</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/15039">#15039</a></li> <li>docs: clarify strictQuery default will flip-flop in &quot;Migrating to 6.x&quot; <a href="https://redirect.github.com/Automattic/mongoose/issues/14998">#14998</a> <a href="https://github.com/markstos">markstos</a></li> </ul> <h1>6.13.3 / 2024-09-23</h1> <ul> <li>docs(migrating_to_6): document that Lodash _.isEmpty() with ObjectId() as a parameter returns true in Mongoose 6 <a href="https://redirect.github.com/Automattic/mongoose/issues/11152">#11152</a></li> </ul> <h1>6.13.2 / 2024-09-12</h1> <ul> <li>fix(document): make set() respect merge option on deeply nested objects <a href="https://redirect.github.com/Automattic/mongoose/issues/14870">#14870</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14878">#14878</a></li> </ul> <h1>6.13.1 / 2024-09-06</h1> <ul> <li>fix: remove empty $and, $or, $not that were made empty by scrict mode <a href="https://redirect.github.com/Automattic/mongoose/issues/14749">#14749</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/13086">#13086</a> <a href="https://github.com/0x0a0d">0x0a0d</a></li> </ul> <h1>6.13.0 / 2024-06-06</h1> <ul> <li>feat(model): add throwOnValidationError option for opting into getting MongooseBulkWriteError if all valid operations succeed in bulkWrite() and insertMany() <a href="https://redirect.github.com/Automattic/mongoose/issues/14599">#14599</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14587">#14587</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/14572">#14572</a> <a href="https://redirect.github.com/Automattic/mongoose/issues/13410">#13410</a></li> </ul> <h1>6.12.9 / 2024-05-24</h1> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/Automattic/mongoose/commit/424b7d02e60821e67ddaadb2ee3a03eaee3ac6fb"><code>424b7d0</code></a> downgrade back to mongodb-memory-server@8</li> <li><a href="https://github.com/Automattic/mongoose/commit/4047e14dbaf817d06025845e2b810db976e2bd32"><code>4047e14</code></a> use mongodb-memory-server 9 for older node version support</li> <li><a href="https://github.com/Automattic/mongoose/commit/743298f251684b03956bc4a54e3667aaea93e448"><code>743298f</code></a> use <a href="mailto:mongodb-memory-server@10.x">mongodb-memory-server@10.x</a> to avoid bson issue with <a href="https://redirect.github.com/mongodb/js-bson/issues/884">mongodb/js-bson#884</a></li> <li><a href="https://github.com/Automattic/mongoose/commit/83039b4651255b4e1afc908241c39c0308bd2477"><code>83039b4</code></a> chore: release 6.13.10</li> <li><a href="https://github.com/Automattic/mongoose/commit/65efcb9901e5b6943ceed0700b0ca93a311f7ca2"><code>65efcb9</code></a> fix(document): additional defensive checks in Document.prototype.get()</li> <li><a href="https://github.com/Automattic/mongoose/commit/fab793b747131c68927888cba41cf3e6d6593740"><code>fab793b</code></a> fix(schema): only return own properties in schematype lookups</li> <li><a href="https://github.com/Automattic/mongoose/commit/c859ca45f4d7d6729e41a90af03f58bb1e4c7887"><code>c859ca4</code></a> chore: add new tools to npmignore</li> <li><a href="https://github.com/Automattic/mongoose/commit/473a92e912012984534a52623d786ca4b94185f6"><code>473a92e</code></a> style: fix lint</li> <li><a href="https://github.com/Automattic/mongoose/commit/40e1af0f28cc21029e95670042994f33a4785310"><code>40e1af0</code></a> quick fix for no elvis operator in node 12</li> <li><a href="https://github.com/Automattic/mongoose/commit/068ee25fe94b404a6f87c6ed5e3ea7f0ac11460d"><code>068ee25</code></a> chore: release 6.13.9</li> <li>Additional commits viewable in <a href="https://github.com/Automattic/mongoose/compare/5.7.0...6.13.10">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=5.7.0&new-version=6.13.10)](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 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) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/backmeupplz/banofbot/network/alerts). </details>
backmeupplz commented 2026-10-22 18:06:19 +00:00 (Migrated from github.com)

Holding this one: mongoose 6 rejects mongoose.set('useCreateIndex' / 'useFindAndModify') ("is not a valid option to set"), which the bot calls at startup, so merging as-is would crash it on deploy. Needs a small migration (drop those options, check strictQuery and other v6 changes) and a real test pass first.

Holding this one: mongoose 6 rejects `mongoose.set('useCreateIndex' / 'useFindAndModify')` ("is not a valid option to set"), which the bot calls at startup, so merging as-is would crash it on deploy. Needs a small migration (drop those options, check strictQuery and other v6 changes) and a real test pass first.
dependabot[bot] commented 2026-10-22 19:19:56 +00:00 (Migrated from github.com)

Looks like mongoose is up-to-date now, so this is no longer needed.

Looks like mongoose is up-to-date now, so this is no longer needed.

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
backmeupplz/banofbot!70
No description provided.