Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Security upgrade mongoose from 6.0.4 to 6.12.0 #46

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

saurabharch
Copy link
Owner

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


Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.

Changes included in this PR

  • Changes to the following files to upgrade the vulnerable dependencies to a fixed version:
    • package.json
    • package-lock.json

Vulnerabilities that will be fixed

With an upgrade:
Severity Priority Score (*) Issue Breaking Change Exploit Maturity
medium severity 496/1000
Why? Recently disclosed, Has a fix available, CVSS 4.2
Information Exposure
SNYK-JS-MONGODB-5871303
No No Known Exploit

(*) Note that the real score may have changed since the PR was raised.

Commit messages
Package name: mongoose The new version differs by 250 commits.
  • eb34bd3 chore: release 6.12.0
  • ec74347 feat: use mongodb driver v4.17.1
  • 4f79ce2 Merge pull request #13770 from Automattic/vkarpov15/gh-13664-2
  • 17c31b7 fix(model): make Model.bulkWrite() with empty array and ordered false not throw an error
  • 0229ffd Merge pull request #13763 from Automattic/vkarpov15/gh-13720
  • 44f3f0d fix(document): correctly handle inclusive/exclusive projections when applying subdocument defaults
  • 0604133 chore: release 6.11.6
  • c1109ac Merge pull request #13723 from Automattic/IslandRhythms/backport-13515
  • 557a472 Update mongo.test.ts
  • bab0e9e Update package.json
  • 0ae1367 backport pull 13515
  • d4a1080 Merge pull request #13701 from JavaScriptBach/backport-bulkwrite
  • 6f5adfb lint
  • c520587 Backport empty bulkwrite fix #13684 to Mongoose v6
  • be5b7d5 chore: release 6.11.5
  • d5784d8 Merge pull request #13682 from Automattic/vkarpov15/gh-13626-2
  • 1a9f1b3 fix(document): correctly set index when casting subdocs for validation re: #13626
  • 622fa1c Merge pull request #13671 from Automattic/vkarpov15/gh-13626
  • d012888 fix(schema): make `Schema.prototype.clone()` avoid creating different copies of subdocuments and single nested paths underneath single nested paths
  • 0d17ccb Merge pull request #13637 from Automattic/IslandRhythms/gh-13364-backport
  • 1b09cb1 backported
  • 20b030e chore: release 6.11.4
  • 895bc32 Merge pull request #13614 from Automattic/vkarpov15/gh-13191-2
  • b8ebe80 perf: speed up mapOfSubdocs benchmark by 4x by avoiding unnecessary O(n^2) loop in getPathsToValidate()

See the full diff

Check the changes in this PR to ensure they won't cause issues with your project.


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

For more information:
🧐 View latest project report

🛠 Adjust project settings

📚 Read more about Snyk's upgrade and patch logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants