🚨 [security] Update mongoose 5.13.8 → 8.9.5 (major) #89
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.
🚨 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.13.8 → 8.9.5) · Repo · Changelog
Security Advisories 🚨
🚨 Mongoose search injection vulnerability
🚨 Mongoose search injection vulnerability
🚨 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 fixRelease Notes
Too many releases to show here. View the full release notes.
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
Commits
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 🚨
🚨 MongoDB Driver may publish events containing authentication-related data
🚨 MongoDB Driver may publish events containing authentication-related data
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 more commits than we can show here.
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)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 72 commits:
17.1.3fix #26917.1.2change to mjsprettierupdate deps17.1.1fix testsMerge pull request #267 from weiliddat/patch-array-prop-accessfix: use hasOwnProperty instead of `in`fix: property access in array-like17.1.0update yarn lockMerge pull request #264 from weiliddat/patch-263Merge pull request #266 from weiliddat/patch-265fix: $in/nin with non-arrays as paramsfix: $exists comparing non-leaf valuestest: add nested key exist testremove extra -add to changelogMerge pull request #260 from kubo550/masterfix typoes and code errors in documentationMerge pull request #259 from crcn/fix-25517.0.1coerce undefined to nullMerge pull request #256 from crcn/fix-255regenerate17.0.0ensure that numerical operations with null work like MongoDBbump16.0.1Merge pull request #251 from Helveg/export-query-typesExported other types as wellRenamed `QueryKeys` to `QueryOperators` with generic T for `elemMatch`added `QueryKeys`export to top levelExport ShapeQueryMerge pull request #244 from crcn/fix-bugsadd to changelog16.0.0revertfix #243add test casefix #242reveert15.1.0fix #239fix readmeinclude custom op tester15.0.0throw error if emptyMerge branch 'master' of github.com:crcn/sift.js14.0.3use hasOwnPropfix #231Merge pull request #230 from crcn/custom-ops-no-$Merge pull request #229 from crcn/custom-ops-no-$14.0.2test for errorallow custom ops14.0.1throw error if params is not an object14.0.0fixfix #22513.5.4Merge pull request #226 from Seldszar/patch/wherefix(types): $where signatureMerge pull request #224 from crcn/dependabot/npm_and_yarn/hosted-git-info-2.8.9Bump hosted-git-info from 2.8.8 to 2.8.913.5.3upgrade deps to prevent tsc issue🆕 @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)
🗑️ @types/bson (removed)
🗑️ @types/mongodb (removed)
🗑️ @types/node (removed)
🗑️ bl (removed)
🗑️ bluebird (removed)
🗑️ core-util-is (removed)
🗑️ denque (removed)
🗑️ mongoose-legacy-pluralize (removed)
🗑️ optional-require (removed)
🗑️ process-nextick-args (removed)
🗑️ regexp-clone (removed)
🗑️ saslprep (removed)
🗑️ sliced (removed)
🗑️ util-deprecate (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