🚨 [security] Update mongoose 5.13.8 → 8.8.3 (major) #88
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.8.3) · Repo · Changelog
Security Advisories 🚨
🚨 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 8 commits:
chore: release 8.8.3
Merge pull request #15055 from Automattic/vkarpov15/gh-15029
address code review comments
Merge branch 'vkarpov15/sift-where'
fix: disallow using $where in match
Merge pull request #15046 from Automattic/vkarpov15/gh-15040
perf: cache results from getAllSubdocs() on saveOptions, only loop through known subdoc properties
fix(model+query): support overwriteDiscriminatorKey for bulkWrite updateOne and updateMany, allow inferring discriminator key from update
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.
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 🚨
🚨 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.3
fix #269
17.1.2
change to mjs
prettier
update deps
17.1.1
fix tests
Merge pull request #267 from weiliddat/patch-array-prop-access
fix: use hasOwnProperty instead of `in`
fix: property access in array-like
17.1.0
update yarn lock
Merge pull request #264 from weiliddat/patch-263
Merge pull request #266 from weiliddat/patch-265
fix: $in/nin with non-arrays as params
fix: $exists comparing non-leaf values
test: add nested key exist test
remove extra -
add to changelog
Merge pull request #260 from kubo550/master
fix typoes and code errors in documentation
Merge pull request #259 from crcn/fix-255
17.0.1
coerce undefined to null
Merge pull request #256 from crcn/fix-255
regenerate
17.0.0
ensure that numerical operations with null work like MongoDB
bump
16.0.1
Merge pull request #251 from Helveg/export-query-types
Exported other types as well
Renamed `QueryKeys` to `QueryOperators` with generic T for `elemMatch`
added `QueryKeys`
export to top level
Export ShapeQuery
Merge pull request #244 from crcn/fix-bugs
add to changelog
16.0.0
revert
fix #243
add test case
fix #242
reveert
15.1.0
fix #239
fix readme
include custom op tester
15.0.0
throw error if empty
Merge branch 'master' of github.com:crcn/sift.js
14.0.3
use hasOwnProp
fix #231
Merge pull request #230 from crcn/custom-ops-no-$
Merge pull request #229 from crcn/custom-ops-no-$
14.0.2
test for error
allow custom ops
14.0.1
throw error if params is not an object
14.0.0
fix
fix #225
13.5.4
Merge pull request #226 from Seldszar/patch/where
fix(types): $where signature
Merge pull request #224 from crcn/dependabot/npm_and_yarn/hosted-git-info-2.8.9
Bump hosted-git-info from 2.8.8 to 2.8.9
13.5.3
upgrade 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.1)
🗑️ @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