Skip to content

Bump mongoose from 7.5.3 to 8.13.2#421

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/mongoose-8.13.2
Open

Bump mongoose from 7.5.3 to 8.13.2#421
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/mongoose-8.13.2

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 7, 2025

Bumps mongoose from 7.5.3 to 8.13.2.

Release notes

Sourced from mongoose's releases.

8.13.2 / 2025-04-03

  • fix: avoid double calling validators on paths in document arrays underneath subdocuments #15338 #15335

8.13.1 / 2025-03-28

  • fix(populate): handle virtual populate on array of UUIDs #15329 #15315
  • types: allow default function returning undefined with DocType override #15328

8.13.0 / 2025-03-24

  • feat: bump mongodb driver -> 6.15.0
  • feat: support custom types exported from driver #15321

8.12.2 / 2025-03-21

  • fix(document): avoid stripping out fields in discriminator schema after select: false field #15322 #15308
  • fix(AggregationCursor): make next() error if schema pre('aggregate') middleware throws error #15293 #15279
  • fix(populate): correctly get schematypes when deep populating under a map #15302 #9359
  • fix(model): avoid returning null from bulkSave() if error doesn't have writeErrors property #15323
  • types: add WithTimestamps utility type #15318 baruchiro
  • docs: update references to the ms module in date schema documentation #15319 baruchiro
  • docs: fix typo in schematypes.md #15305 skyran1278

8.12.1 / 2025-03-04

8.12.0 / 2025-03-03

  • feat: bump mongodb driver to 6.14
  • feat: expose "SchemaTypeOptions" in browser #15277 hasezoey
  • docs: update field-level-encryption.md #15272 dphrag

8.11.0 / 2025-02-26

  • feat(model): make bulkWrite results include MongoDB bulk write errors as well as validation errors #15271 #15265
  • feat(document): add schemaFieldsOnly option to toObject() and toJSON() #15259 #15218
  • feat: introduce populate ordered option for populating in series rather than in parallel for transactions #15239 #15231 #15210
  • fix(bigint): throw error when casting BigInt that's outside of the bounds of what MongoDB can safely store #15230 #15200

8.10.2 / 2025-02-25

  • fix(model+connection): return MongoDB BulkWriteResult instance even if no valid ops #15266 #15265
  • fix(debug): avoid printing trusted symbol in debug output #15267 #15263
  • types: make type inference logic resilient to no Buffer type due to missing @​types/node #15261

8.10.1 / 2025-02-14

  • perf(document): only call undoReset() 1x/document #15257 #15255

... (truncated)

Changelog

Sourced from mongoose's changelog.

8.13.2 / 2025-04-03

  • fix: avoid double calling validators on paths in document arrays underneath subdocuments #15338 #15335

8.13.1 / 2025-03-28

  • fix(populate): handle virtual populate on array of UUIDs #15329 #15315
  • types: allow default function returning undefined with DocType override #15328

8.13.0 / 2025-03-24

  • feat: bump mongodb driver -> 6.15.0
  • feat: support custom types exported from driver #15321

8.12.2 / 2025-03-21

  • fix(document): avoid stripping out fields in discriminator schema after select: false field #15322 #15308
  • fix(AggregationCursor): make next() error if schema pre('aggregate') middleware throws error #15293 #15279
  • fix(populate): correctly get schematypes when deep populating under a map #15302 #9359
  • fix(model): avoid returning null from bulkSave() if error doesn't have writeErrors property #15323
  • types: add WithTimestamps utility type #15318 baruchiro
  • docs: update references to the ms module in date schema documentation #15319 baruchiro
  • docs: fix typo in schematypes.md #15305 skyran1278

8.12.1 / 2025-03-04

8.12.0 / 2025-03-03

  • feat: bump mongodb driver to 6.14
  • feat: expose "SchemaTypeOptions" in browser #15277 hasezoey
  • docs: update field-level-encryption.md #15272 dphrag

8.11.0 / 2025-02-26

  • feat(model): make bulkWrite results include MongoDB bulk write errors as well as validation errors #15271 #15265
  • feat(document): add schemaFieldsOnly option to toObject() and toJSON() #15259 #15218
  • feat: introduce populate ordered option for populating in series rather than in parallel for transactions #15239 #15231 #15210
  • fix(bigint): throw error when casting BigInt that's outside of the bounds of what MongoDB can safely store #15230 #15200

8.10.2 / 2025-02-25

  • fix(model+connection): return MongoDB BulkWriteResult instance even if no valid ops #15266 #15265
  • fix(debug): avoid printing trusted symbol in debug output #15267 #15263
  • types: make type inference logic resilient to no Buffer type due to missing @​types/node #15261

8.10.1 / 2025-02-14

  • perf(document): only call undoReset() 1x/document #15257 #15255

... (truncated)

Commits
  • 2032038 chore: release 8.13.2
  • eae96bb Merge pull request #15343 from Automattic/dependabot/github_actions/master/ac...
  • 6960eda Merge pull request #15341 from Automattic/dependabot/npm_and_yarn/master/babe...
  • 1ac3e74 Merge pull request #15340 from Automattic/dependabot/npm_and_yarn/master/sino...
  • 5597808 Merge pull request #15338 from Automattic/vkarpov15/gh-15335
  • 99b9b42 chore(deps): bump actions/setup-node from 4.2.0 to 4.3.0
  • 3559fc7 chore(deps-dev): bump @​babel/core from 7.26.9 to 7.26.10
  • de45792 chore(deps-dev): bump sinon from 19.0.2 to 20.0.0
  • 46cf99b fix: only run unmodified subdoc validation logic on top-level subdocs
  • fa4d6eb fix(document): avoid double calling validators on paths in document arrays un...
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Apr 7, 2025
@github-actions
Copy link

github-actions bot commented Apr 7, 2025

Dependency Review

The following issues were found:
  • ✅ 0 vulnerable package(s)
  • ✅ 0 package(s) with incompatible licenses
  • ✅ 0 package(s) with invalid SPDX license definitions
  • ⚠️ 1 package(s) with unknown licenses.
  • ⚠️ 1 packages with OpenSSF Scorecard issues.
See the Details below.

License Issues

package-lock.json

PackageVersionLicenseIssue Type
@mongodb-js/saslprep1.4.4NullUnknown License

OpenSSF Scorecard

Scorecard details
PackageVersionScoreDetails
npm/@mongodb-js/saslprep 1.4.4 UnknownUnknown
npm/@types/whatwg-url 13.0.0 🟢 7
Details
CheckScoreReason
Maintained🟢 1030 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Packaging⚠️ -1packaging workflow not detected
Code-Review🟢 9Found 26/28 approved changesets -- score normalized to 9
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Security-Policy🟢 10security policy file detected
License🟢 9license file detected
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Signed-Releases⚠️ -1no releases found
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
Vulnerabilities🟢 100 existing vulnerabilities detected
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
Binary-Artifacts🟢 10no binaries found in the repo
Pinned-Dependencies🟢 8dependency not pinned by hash detected -- score normalized to 8
Fuzzing⚠️ 0project is not fuzzed
npm/bson 7.0.0 🟢 6.3
Details
CheckScoreReason
Maintained🟢 1027 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Code-Review🟢 10all changesets reviewed
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Packaging⚠️ -1packaging workflow not detected
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Binary-Artifacts🟢 10no binaries found in the repo
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Security-Policy⚠️ 0security policy file not detected
License🟢 10license file detected
Fuzzing⚠️ 0project is not fuzzed
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
Signed-Releases🟢 85 out of the last 5 releases have a total of 5 signed artifacts.
Branch-Protection🟢 5branch protection is not maximal on development and all release branches
Vulnerabilities🟢 82 existing vulnerabilities detected
SAST🟢 9SAST tool detected but not run on all commits
npm/kareem 3.0.0 UnknownUnknown
npm/minimist 1.2.8 🟢 5.9
Details
CheckScoreReason
Code-Review🟢 4Found 10/25 approved changesets -- score normalized to 4
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
Packaging⚠️ -1packaging workflow not detected
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Maintained⚠️ 00 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Binary-Artifacts🟢 10no binaries found in the repo
Token-Permissions🟢 10GitHub workflow tokens follow principle of least privilege
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Vulnerabilities🟢 100 existing vulnerabilities detected
Fuzzing⚠️ 0project is not fuzzed
License🟢 10license file detected
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
Signed-Releases⚠️ -1no releases found
Security-Policy🟢 9security policy file detected
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
npm/mongodb 7.0.0 🟢 6.2
Details
CheckScoreReason
Maintained🟢 1030 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Code-Review🟢 10all changesets reviewed
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Packaging⚠️ -1packaging workflow not detected
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
License🟢 10license file detected
Security-Policy⚠️ 0security policy file not detected
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Branch-Protection🟢 5branch protection is not maximal on development and all release branches
Signed-Releases🟢 85 out of the last 5 releases have a total of 5 signed artifacts.
SAST🟢 9SAST tool detected but not run on all commits
Vulnerabilities🟢 73 existing vulnerabilities detected
Binary-Artifacts🟢 10no binaries found in the repo
Fuzzing⚠️ 0project is not fuzzed
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
npm/mongodb-connection-string-url 7.0.0 🟢 6.2
Details
CheckScoreReason
Binary-Artifacts🟢 10no binaries found in the repo
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Maintained🟢 1012 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Packaging⚠️ -1packaging workflow not detected
Code-Review🟢 10all changesets reviewed
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Security-Policy⚠️ 0security policy file not detected
Fuzzing⚠️ 0project is not fuzzed
License🟢 10license file detected
Signed-Releases⚠️ -1no releases found
Branch-Protection🟢 5branch protection is not maximal on development and all release branches
Vulnerabilities🟢 82 existing vulnerabilities detected
SAST🟢 9SAST tool is not run on all commits -- score normalized to 9
npm/mongoose 9.0.2 🟢 6.9
Details
CheckScoreReason
Maintained🟢 1030 commit(s) and 18 issue activity found in the last 90 days -- score normalized to 10
Security-Policy🟢 9security policy file detected
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Code-Review🟢 6Found 5/8 approved changesets -- score normalized to 6
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Binary-Artifacts🟢 10no binaries found in the repo
License🟢 10license file detected
Pinned-Dependencies⚠️ 2dependency not pinned by hash detected -- score normalized to 2
Vulnerabilities🟢 100 existing vulnerabilities detected
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
Signed-Releases⚠️ -1no releases found
Packaging🟢 10packaging workflow detected
Fuzzing⚠️ 0project is not fuzzed
SAST🟢 7SAST tool detected but not run on all commits
npm/mquery 6.0.0 UnknownUnknown
npm/punycode 2.3.1 🟢 3.8
Details
CheckScoreReason
Code-Review🟢 4Found 13/30 approved changesets -- score normalized to 4
Maintained⚠️ 00 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Packaging⚠️ -1packaging workflow not detected
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
Binary-Artifacts🟢 10no binaries found in the repo
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Security-Policy⚠️ 0security policy file not detected
Vulnerabilities🟢 100 existing vulnerabilities detected
Fuzzing⚠️ 0project is not fuzzed
License🟢 10license file detected
Signed-Releases⚠️ -1no releases found
Branch-Protection⚠️ 0branch protection not enabled on development/release branches
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
npm/sift 17.1.3 ⚠️ 2.3
Details
CheckScoreReason
Code-Review⚠️ 2Found 4/16 approved changesets -- score normalized to 2
Dangerous-Workflow⚠️ -1no workflows found
Maintained⚠️ 00 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Token-Permissions⚠️ -1No tokens found
Packaging⚠️ -1packaging workflow not detected
Pinned-Dependencies⚠️ -1no dependencies found
Binary-Artifacts🟢 10no binaries found in the repo
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Security-Policy⚠️ 0security policy file not detected
License🟢 10license file detected
Fuzzing⚠️ 0project is not fuzzed
Signed-Releases⚠️ -1no releases found
Branch-Protection⚠️ 0branch protection not enabled on development/release branches
Vulnerabilities⚠️ 28 existing vulnerabilities detected
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
npm/tr46 5.1.1 🟢 4.2
Details
CheckScoreReason
Maintained⚠️ 00 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Pinned-Dependencies🟢 3dependency not pinned by hash detected -- score normalized to 3
Binary-Artifacts🟢 10no binaries found in the repo
Packaging⚠️ -1packaging workflow not detected
Code-Review⚠️ 1Found 5/26 approved changesets -- score normalized to 1
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Fuzzing⚠️ 0project is not fuzzed
License🟢 10license file detected
Signed-Releases⚠️ -1no releases found
Vulnerabilities🟢 91 existing vulnerabilities detected
Branch-Protection⚠️ 0branch protection not enabled on development/release branches
Security-Policy🟢 10security policy file detected
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
npm/whatwg-url 14.2.0 🟢 4
Details
CheckScoreReason
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Maintained⚠️ 00 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Binary-Artifacts🟢 10no binaries found in the repo
Code-Review⚠️ 0Found 1/27 approved changesets -- score normalized to 0
Packaging⚠️ -1packaging workflow not detected
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Pinned-Dependencies⚠️ 2dependency not pinned by hash detected -- score normalized to 2
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
License🟢 10license file detected
Fuzzing⚠️ 0project is not fuzzed
Security-Policy🟢 10security policy file detected
Signed-Releases⚠️ -1no releases found
Branch-Protection⚠️ 0branch protection not enabled on development/release branches
Vulnerabilities🟢 82 existing vulnerabilities detected
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0

Scanned Files

  • package-lock.json

@ronaldsg20
Copy link
Member

@dependabot recreate

Bumps [mongoose](https://github.com/Automattic/mongoose) from 7.5.3 to 8.13.2.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](Automattic/mongoose@7.5.3...8.13.2)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-version: 8.13.2
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/mongoose-8.13.2 branch from 02832ec to c4ee77d Compare December 18, 2025 19:28
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.

1 participant