[Snyk] Security upgrade mongoose from 4.2.4 to 6.13.10 - #349
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-MONGOOSE-18319533
|
This is a major upgrade spanning two major versions (v4 → v6) and introduces a large number of significant breaking changes. A direct upgrade without code modifications will cause application failures. A thorough review and refactoring are required. Breaking Changes: Mongoose v4 → v5This first major step introduces fundamental changes to connection logic and query behavior.
Breaking Changes: Mongoose v5 → v6This second major step builds on v5, modernizes the driver, and changes default behaviors.
Sources: Recommendation: This upgrade is high-risk and requires significant developer effort. It is critical to follow both migration guides, paying special attention to connection logic, the new
|
Snyk has created this PR to fix 1 vulnerabilities in the npm dependencies of this project.
Snyk changed the following file(s):
package.jsonpackage-lock.jsonVulnerabilities that will be fixed with an upgrade:
SNYK-JS-MONGOOSE-18319533
Breaking Change Risk
Important
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
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic
Learn how to fix vulnerabilities with free interactive lessons:
🦉 Prototype Pollution