Skip to content

Bump mongoose from 6.4.2 to 6.13.12 - #261

Open
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/npm_and_yarn/mongoose-6.13.12
Open

dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/npm_and_yarn/mongoose-6.13.12

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 11, 2026

Copy link
Copy Markdown

Bumps mongoose from 6.4.2 to 6.13.12.

Release notes

Sourced from mongoose's releases.

6.13.11 / 2026-08-10

  • fix(query): apply sanitizeFilter in countDocuments and cursor

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.12 / 2026-10-23

  • fix: avoid walking into inherited properties like toString when hydrating documents, setting dotted paths, and merging updates
  • fix: only use own properties when looking up discriminators by key
  • fix(schema): disallow setting special properties via virtual()
  • fix(query): respect connection-level sanitizeFilter in queries
  • fix(query): disallow special properties like __proto__ as paths in where() and mod()
  • fix(deps): upgrade mquery -> 4.0.4 to avoid prototype pollution with query helpers like gt() and in()

6.13.11 / 2026-08-10

  • fix(query): apply sanitizeFilter in countDocuments and cursor

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

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

... (truncated)

Commits
  • cfc97ff chore: release 6.13.12
  • c838891 Merge branch 'vkarpov15/20261022/6.x/security' into 6.x
  • fcadc2c Merge branch 'vkarpov15/20261016/6.x/security' into 6.x
  • b26c435 fix: finish backporting discriminator key lookup to 6.x
  • 0ecd804 fix: only use own properties when looking up discriminators by key
  • 1b72f7c fix: skip inherited properties in setDottedPath - not user facing but still g...
  • 3cb702b fix: avoid setting values underneath inherited properties when constructing n...
  • ffe8c5c fix: avoid overriding built-in properties when copying conditions and avoid p...
  • 7a2a656 fix: disallow setting special properties via virtual()
  • b8970c2 fix(query): respect connection-level sanitizeFilter in queries
  • Additional commits viewable in compare view

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 6.4.2 to 6.13.12.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/6.13.12/CHANGELOG.md)
- [Commits](Automattic/mongoose@6.4.2...6.13.12)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-version: 6.13.12
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 11, 2026

This branch had an error being deployed

1 failed deployment
Preview — 206a958f Deployed Nov 11, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants