🚨 [security] Update mongoose 5.12.3 → 8.9.5 (major) #107
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Welcome to Depfu 👋
This is one of the first three pull requests with dependency updates we've sent your way. We tried to start with a few easy patch-level updates. Hopefully your tests will pass and you can merge this pull request without too much risk. This should give you an idea how Depfu works in general.
After you merge your first pull request, we'll send you a few more. We'll never open more than seven PRs at the same time so you're not getting overwhelmed with updates.
Let us know if you have any questions. Thanks so much for giving Depfu a try!
🚨 Your current dependencies have known security vulnerabilities 🚨
This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!
Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ mongoose (5.12.3 → 8.9.5) · Repo · Changelog
Security Advisories 🚨
🚨 Mongoose search injection vulnerability
🚨 Mongoose search injection vulnerability
🚨 Mongoose search injection vulnerability
🚨 Mongoose search injection vulnerability
🚨 Mongoose Prototype Pollution vulnerability
🚨 Mongoose Prototype Pollution vulnerability
🚨 Mongoose Prototype Pollution vulnerability
🚨 Mongoose Vulnerable to Prototype Pollution in Schema Object
🚨 Mongoose Vulnerable to Prototype Pollution in Schema Object
🚨 automattic/mongoose vulnerable to Prototype pollution via Schema.path
🚨 automattic/mongoose vulnerable to Prototype pollution via Schema.path
Release Notes
Too many releases to show here. View the full release notes.
Commits
See the full diff on Github. The new version differs by 10 commits:
chore: release 8.9.5Merge branch '7.x'chore: release 7.8.4Merge branch '6.x' into 7.xchore: release 6.13.6fix: disallow nested $where in populate matchMerge pull request #15176 from Automattic/vkarpov15/gh-15170test: make test cast non-boolean valuefix(schema): handle bitwise operators on Int32docs: quick changelog formatting fixCommits
See the full diff on Github. The new version differs by 73 commits:
chore: release 2.6.3chore: update npmignore to exclude a couple of extraneous fileschore: release 2.6.2fix: publish all files by defaultchore: release 2.6.1chore: release 2.6.0Merge pull request #35 from hasezoey/updateUrlMerge pull request #37 from mongoosejs/vkarpov15/typescriptimprove typings for optionsadd declare and fix other issues with typescript typesadd typescript typescreate SECURITY.mdchore: release 2.5.1Merge pull request #36 from mongoosejs/vkarpov15/mongoose-12836avoid passing final callback to pre hook, because calling the callback can mess up hook executiondocs(README): remove coverage status, because it is currently not submitteddocs(README): update build ci badge to github-cichore(package.json): update repository url for moved packagechore: release 2.5.0Merge pull request #34 from mongoosejs/vkarpov15/mongoose-12583feat: add errorHandler option to `post()`Merge pull request #33 from hasezoey/addJSDOCUpdate index.jsMerge pull request #32 from hasezoey/modernizeupdate license, fix #31style(index): consistenize some variable namesstyle(index): add JSDOCchore(workflows/test.yml): change "run" to execute script, not aliasdeps(eslint): update version to "8.20.0"deps(acquit-ignore): update version to "0.2.x"style: apply new eslint configchore(.eslintrc): replace old config with mongoose'schore(package.json): add "engines" propertychore(package.json): add "files" propertychore(workflows/test.yml): change testing script to use coveragechore(.gitignore): add yarn.lock to ignorechore(package.json): rename script "test-travis" to "test-coverage"chore(package.json): add remaining missing scripts from MAKEFILEchore(.travis.yml): remove filechore: release 2.4.1style: fix lintfix: only pass promise resolved value to next middleware if instanceof `overwriteResult`add lint and lint workflowchore: release 2.4.0only run tests on ubuntu 20.04chore: add GitHub workflows CIMerge pull request #30 from vkarpov15/vkarpov15/mongoose-11426feat: add skipWrappedFunction() annd overwriteResult() to allow changing the wrapped function's resultchore: release 2.3.5Merge pull request #22 from Uzlopak/perf-improve-wrapMerge pull request #19 from Uzlopak/browser-supportMerge pull request #18 from Uzlopak/isPromiseLikeaddress commentschore: release 2.3.4Update index.jsMerge pull request #27 from Uzlopak/remove-some-codesmellsMerge pull request #24 from Uzlopak/improve-handleWrapErrorMerge pull request #23 from Uzlopak/perf-remove-getMerge pull request #21 from Uzlopak/perf-use-array-from-instead-sliceMerge pull request #20 from Uzlopak/remove-error-parmMerge pull request #17 from Uzlopak/update-mocha-nycsimplifyremove some codesmellsimprove _handleWrapErrorperf: remove get in favor of directly getting the valueperf: improve perf of wrapperf: use Array.from instead of sliceremove passing error to nextuse setTimeout as fallback when we use a browsermake isPromiseLike favor of Promiseupdate mocha and nycchore: release 2.3.3fix: handle sync errors in `wrap()`Security Advisories 🚨
🚨 Type confusion in mpath
Release Notes
0.9.0 (from changelog)
0.8.4 (from changelog)
Does any of this look wrong? Please let us know.
Release Notes
5.0.0 (from changelog)
4.0.3 (from changelog)
4.0.2 (from changelog)
4.0.1 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
Release Notes
16.0.0 (from changelog)
12.0.0 (from changelog)
11.0.0 (from changelog)
10.0.0 (from changelog)
9.0.0 (from changelog)
8.5.1 (from changelog)
8.5.0 (from changelog)
8.4.0 (from changelog)
8.3.2 (from changelog)
8.0.0 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
🆕 @mongodb-js/saslprep (added, 1.1.9)
🆕 @types/webidl-conversions (added, 7.0.3)
🆕 @types/whatwg-url (added, 11.0.5)
🆕 mongodb-connection-string-url (added, 3.0.2)
🗑️ bluebird (removed)
🗑️ mongoose-legacy-pluralize (removed)
🗑️ regexp-clone (removed)
🗑️ sliced (removed)
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase.All Depfu comment commands