Skip to content

[Snyk] Upgrade mongoose from 7.4.1 to 7.4.2

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to upgrade mongoose from 7.4.1 to 7.4.2.

Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 1 version ahead of your current version.
  • The recommended version was released 21 days ago, on 2023-08-03.
Release notes
Package name: mongoose
  • 7.4.2 - 2023-08-03

    7.4.2 / 2023-08-03

    • fix(model): avoid hanging on empty bulkWrite() with ordered: false #13684 #13664
    • fix: Document.prototype.isModified support for a string of keys as first parameter #13674 #13667 gastoncasini
    • fix: disable id virtual if alias:id set #13654 #13650
    • fix: support timestamps:false on bulkWrite with updateOne and updateMany #13649 #13611
    • docs(typescript): highlight auto type inference for methods and statics, add info on using methods with generics #13696 #12942
    • docs(middleware): fix old example using post('remove') #13683 #13518
    • docs(deprecations): quick fix for includeResultMetadata docs #13695
  • 7.4.1 - 2023-07-24

    7.4.1 / 2023-07-24

    • fix(document): correctly clean up nested subdocs modified state on save() #13644 #13609
    • fix(schema): avoid propagating toObject.transform and toJSON.transform option to implicitly created schemas #13634 #13599
    • fix: prevent schema options overwriting user defined writeConcern #13612 #13592
    • types: correctly handle pre('deleteOne', { document: true }) #13632
    • types(schema): handle type: Schema.Types.Map in TypeScript #13628
    • types: Add inline comment to to tell the default value of the runValidator flag in the queryOptions types #13636 omran95
    • docs: rework several code examples that still use callbacks #13635 #13616
    • docs: remove callbacks from validation description #13638 #13501
from mongoose GitHub release notes
Commit messages
Package name: mongoose
  • 9e0ca12 chore: release 7.4.2
  • b1e0b7c Merge pull request #13696 from Automattic/vkarpov15/gh-12942
  • ab7ea18 Update statics.md
  • 9cb950d Merge pull request #13684 from Automattic/vkarpov15/gh-13664
  • 899bf5c docs(deprecations): quick fix for includeResultMetadata dos (#13695)
  • cdfae32 docs(typescript): highlight auto type inference for methods and statics, add info on using methods with generics
  • 8658878 Merge pull request #13686 from Automattic/dependabot/npm_and_yarn/master/babel/core-7.22.9
  • 51977e1 Merge pull request #13685 from Automattic/dependabot/github_actions/master/actions/setup-node-3.7.0
  • 080f440 chore(deps-dev): bump @ babel/core from 7.22.5 to 7.22.9
  • d65bc27 Merge pull request #13687 from Automattic/dependabot/npm_and_yarn/master/babel/preset-env-7.22.9
  • 8c99f5f Merge pull request #13690 from Automattic/dependabot/npm_and_yarn/master/eslint-8.46.0
  • f8c717b Merge pull request #13691 from Automattic/dependabot/npm_and_yarn/master/webpack-5.88.2
  • fb096b3 Merge pull request #13693 from Automattic/dependabot/npm_and_yarn/master/typescript-eslint/parser-5.62.0
  • d0c3d1b chore(deps-dev): bump @ typescript-eslint/parser from 5.61.0 to 5.62.0
  • 2d2f4c6 chore(deps-dev): bump webpack from 5.88.1 to 5.88.2
  • 57244ce chore(deps-dev): bump eslint from 8.44.0 to 8.46.0
  • 1b889d5 chore(deps-dev): bump @ babel/preset-env from 7.22.5 to 7.22.9
  • dd58d79 chore(deps): bump actions/setup-node from 3.6.0 to 3.7.0
  • 221ca3d fix(model): avoid hanging on empty `bulkWrite()` with ordered: false
  • a07a4f6 Merge branch '6.x'
  • be5b7d5 chore: release 6.11.5
  • d5784d8 Merge pull request #13682 from Automattic/vkarpov15/gh-13626-2
  • 22cfb3b Merge pull request #13683 from Automattic/vkarpov15/gh-13518
  • 22f0722 docs(middleware): clean up some other examples that still use `remove()`

Compare


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Merge request reports