🚨 [security] Update mongoose 5.12.3 → 8.9.5 (major) #107
+113
−71
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.5
Merge branch '7.x'
chore: release 7.8.4
Merge branch '6.x' into 7.x
chore: release 6.13.6
fix: disallow nested $where in populate match
Merge pull request #15176 from Automattic/vkarpov15/gh-15170
test: make test cast non-boolean value
fix(schema): handle bitwise operators on Int32
docs: quick changelog formatting fix
Commits
See the full diff on Github. The new version differs by 73 commits:
chore: release 2.6.3
chore: update npmignore to exclude a couple of extraneous files
chore: release 2.6.2
fix: publish all files by default
chore: release 2.6.1
chore: release 2.6.0
Merge pull request #35 from hasezoey/updateUrl
Merge pull request #37 from mongoosejs/vkarpov15/typescript
improve typings for options
add declare and fix other issues with typescript types
add typescript types
create SECURITY.md
chore: release 2.5.1
Merge pull request #36 from mongoosejs/vkarpov15/mongoose-12836
avoid passing final callback to pre hook, because calling the callback can mess up hook execution
docs(README): remove coverage status, because it is currently not submitted
docs(README): update build ci badge to github-ci
chore(package.json): update repository url for moved package
chore: release 2.5.0
Merge pull request #34 from mongoosejs/vkarpov15/mongoose-12583
feat: add errorHandler option to `post()`
Merge pull request #33 from hasezoey/addJSDOC
Update index.js
Merge pull request #32 from hasezoey/modernize
update license, fix #31
style(index): consistenize some variable names
style(index): add JSDOC
chore(workflows/test.yml): change "run" to execute script, not alias
deps(eslint): update version to "8.20.0"
deps(acquit-ignore): update version to "0.2.x"
style: apply new eslint config
chore(.eslintrc): replace old config with mongoose's
chore(package.json): add "engines" property
chore(package.json): add "files" property
chore(workflows/test.yml): change testing script to use coverage
chore(.gitignore): add yarn.lock to ignore
chore(package.json): rename script "test-travis" to "test-coverage"
chore(package.json): add remaining missing scripts from MAKEFILE
chore(.travis.yml): remove file
chore: release 2.4.1
style: fix lint
fix: only pass promise resolved value to next middleware if instanceof `overwriteResult`
add lint and lint workflow
chore: release 2.4.0
only run tests on ubuntu 20.04
chore: add GitHub workflows CI
Merge pull request #30 from vkarpov15/vkarpov15/mongoose-11426
feat: add skipWrappedFunction() annd overwriteResult() to allow changing the wrapped function's result
chore: release 2.3.5
Merge pull request #22 from Uzlopak/perf-improve-wrap
Merge pull request #19 from Uzlopak/browser-support
Merge pull request #18 from Uzlopak/isPromiseLike
address comments
chore: release 2.3.4
Update index.js
Merge pull request #27 from Uzlopak/remove-some-codesmells
Merge pull request #24 from Uzlopak/improve-handleWrapError
Merge pull request #23 from Uzlopak/perf-remove-get
Merge pull request #21 from Uzlopak/perf-use-array-from-instead-slice
Merge pull request #20 from Uzlopak/remove-error-parm
Merge pull request #17 from Uzlopak/update-mocha-nyc
simplify
remove some codesmells
improve _handleWrapError
perf: remove get in favor of directly getting the value
perf: improve perf of wrap
perf: use Array.from instead of slice
remove passing error to next
use setTimeout as fallback when we use a browser
make isPromiseLike favor of Promise
update mocha and nyc
chore: release 2.3.3
fix: 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