🚨 [security] [backend] Update mongoose 6.0.8 → 7.4.4 (major) #243
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 (6.0.8 → 7.4.4) · Repo · Changelog
Security Advisories 🚨
🚨 Mongoose Prototype Pollution vulnerability
🚨 Mongoose Prototype Pollution vulnerability
🚨 Prototype pollution Schema.path in automattic/mongoose
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 37 commits:
chore: release 7.4.4Merge pull request #13739 from maybesmurf/masterMerge pull request #13747 from Idnan/masterMerge pull request #13759 from yury-ivaniutsenka/fix_change_streamMerge pull request #13758 from Automattic/vkarpov15/mongoose-autopopulate-96Merge pull request #13761 from Automattic/vkarpov15/gh-13725fix(schema): support 'ascending', 'asc', 'descending', 'desc' for index directionMerge branch 'master' of github.com:Automattic/mongooseMerge branch '6.x'chore: release 6.11.6Merge pull request #13742 from Cooldogyum/master-1fix(query+populate): add `refPath` to projection by default, unless explicitly excludedfix(ChangeStream): add _bindEvents to addListener functionfix: missing typings for option includeResultMetadatadocs: link v7 migration guidetypes: re-enhanced Document's methodsMerge pull request #13736 from Automattic/vkarpov15/gh-13607Merge pull request #13733 from Automattic/vkarpov15/gh-12671-2Merge pull request #13737 from Automattic/vkarpov15/gh-13710Merge pull request #13741 from hasezoey/fixmdMerge pull request #13734 from Automattic/vkarpov15/gh-13713docs(discriminators): fix lint-mdtypes: enhanced Document's methodstypes: export InferSchemaTypefix(cursor): bubble up resumeTokenChanged event from change streamsdocs(middleware): clarify that query middleware applies to document by defaultdocs(migrating_to_6): add note about incompatible packagesMerge pull request #13726 from Automattic/vkarpov15/gh-13698Merge pull request #13729 from hasezoey/fixmdMerge pull request #13728 from Automattic/vkarpov15/gh-10435docs(field-level-encryption): add missing languages for code-blocksdocs(source): add "field-level-encryption" to file-indexdocs: add brief note on TypeScript generic usage for embedded discriminator `path()` callstest: run transaction tests as part of replica set tests in CIadd sample test failurestyle: fix lintfix(connection): reset document state in between transaction retries👉 No CI detected
You don't seem to have any Continuous Integration service set up!
Without a service that will test the Depfu branches and pull requests, we can't inform you if incoming updates actually work with your app. We think that this degrades the service we're trying to provide down to a point where it is more or less meaningless.
This is fine if you just want to give Depfu a quick try. If you want to really let Depfu help you keep your app up-to-date, we recommend setting up a CI system:
* [Circle CI](https://circleci.com), [Semaphore ](https://semaphoreci.com) and [Github Actions](https://docs.github.com/actions) are all excellent options. * If you use something like Jenkins, make sure that you're using the Github integration correctly so that it reports status data back to Github. * If you have already set up a CI for this repository, you might need to check your configuration. Make sure it will run on all new branches. If you don’t want it to run on every branch, you can whitelist branches starting with `depfu/`.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