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.
![merge advice](https://app.snyk.io/badges/merge-advice/?package_manager=npm&package_name=mongoose&from_version=4.13.14&to_version=6.4.6&pr_id=a70f970b-8bad-42fa-be19-c1e2e964586d&visibility=true&has_feature_flag=false)
#### 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
:-------------------------:|-------------------------|:-------------------------|:-------------------------|:-------------------------
![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **743/1000** **Why?** Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 7 | Prototype Pollution [SNYK-JS-MONGOOSE-2961688](https://snyk.io/vuln/SNYK-JS-MONGOOSE-2961688) | Yes | Proof of Concept
(*) Note that the real score may have changed since the PR was raised.
Commit messagesPackage name: mongoose
The new version differs by 250 commits.
118c97a Merge branch 'master' into netlify-functions-example
1306d00 Merge pull request #12086 from hasezoey/modelJSDOCTouchup
f95373d Merge pull request #12110 from skrtheboss/fix/is-atlas-check
1445c20 Merge pull request #12112 from pathei-kosmos/master
250b01b fix(types): avoid treating `| undefined` types as `any` in `Require_id` to better support `_id: String` with auto-typed schemas
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](https://app.snyk.io/org/noobling/project/c8524139-7da2-47c9-ba55-0612d6af0499?utm_source=github&utm_medium=referral&page=fix-pr)
🛠 [Adjust project settings](https://app.snyk.io/org/noobling/project/c8524139-7da2-47c9-ba55-0612d6af0499?utm_source=github&utm_medium=referral&page=fix-pr/settings)
📚 [Read more about Snyk's upgrade and patch logic](https://support.snyk.io/hc/en-us/articles/360003891078-Snyk-patches-to-fix-vulnerabilities)
[//]: # (snyk:metadata:{"prId":"a70f970b-8bad-42fa-be19-c1e2e964586d","prPublicId":"a70f970b-8bad-42fa-be19-c1e2e964586d","dependencies":[{"name":"mongoose","from":"4.13.14","to":"6.4.6"}],"packageManager":"npm","projectPublicId":"c8524139-7da2-47c9-ba55-0612d6af0499","projectUrl":"https://app.snyk.io/org/noobling/project/c8524139-7da2-47c9-ba55-0612d6af0499?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JS-MONGOOSE-2961688"],"upgrade":["SNYK-JS-MONGOOSE-2961688"],"isBreakingChange":true,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","priorityScore","merge-advice-badge-shown"],"priorityScoreList":[743]})
---
**Learn how to fix vulnerabilities with free interactive lessons:**
🦉 [Prototype Pollution](https://learn.snyk.io/lessons/prototype-pollution/javascript?loc=fix-pr)
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.
![merge advice](https://app.snyk.io/badges/merge-advice/?package_manager=npm&package_name=mongoose&from_version=4.13.14&to_version=6.4.6&pr_id=a70f970b-8bad-42fa-be19-c1e2e964586d&visibility=true&has_feature_flag=false) #### 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 :-------------------------:|-------------------------|:-------------------------|:-------------------------|:------------------------- ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **743/1000****Why?** Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 7 | Prototype Pollution
[SNYK-JS-MONGOOSE-2961688](https://snyk.io/vuln/SNYK-JS-MONGOOSE-2961688) | Yes | Proof of Concept (*) 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.