🚨 [security] [backend] Update mongoose 6.0.8 → 7.5.4 (major) #257
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.5.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 42 commits:
chore: release 7.5.4style: fix lintMerge pull request #13934 from Automattic/IslandRhythms/update-tableMerge pull request #13933 from Automattic/IslandRhythms/undo-idUpdate compatibility.mdundo id changeMerge pull request #13928 from Automattic/vkarpov15/gh-13881fix(query): handle `$round` with just 1 arg re: code review commentsMerge pull request #13931 from t1bb4r/masterMerge pull request #13932 from Automattic/vkarpov15/gh-13773Merge pull request #13929 from Automattic/vkarpov15/gh-13760fix(QueryCursor): avoid double-applying schema paths so you can include `select: false` fields with `+` projection using cursorsfix(types): add insertMany array overload with optionsfix(query): allow deselecting discriminator key using `-` syntaxfix(query): handle `$round` in `$expr` as arrayMerge pull request #13912 from Automattic/vkarpov15/gh-13876Merge pull request #13911 from Automattic/vkarpov15/gh-13887Merge pull request #13925 from peteboere/patch-1Update faq.mdMerge pull request #13923 from Automattic/dependabot/npm_and_yarn/master/babel/preset-env-7.22.20Merge branch 'master' into dependabot/npm_and_yarn/master/babel/preset-env-7.22.20Merge pull request #13924 from Automattic/dependabot/npm_and_yarn/master/typescript-eslint/eslint-plugin-5.62.0chore(deps-dev): bump @typescript-eslint/eslint-pluginMerge branch 'master' into dependabot/npm_and_yarn/master/babel/preset-env-7.22.20Merge pull request #13919 from Automattic/dependabot/npm_and_yarn/master/babel/core-7.23.0Merge pull request #13920 from Automattic/dependabot/npm_and_yarn/master/markdownlint-cli2-0.10.0Merge pull request #13921 from Automattic/dependabot/npm_and_yarn/master/eslint-8.50.0Merge pull request #13917 from Automattic/dependabot/npm_and_yarn/master/uuid-9.0.1Merge pull request #13914 from Automattic/dependabot/npm_and_yarn/master/sinon-16.0.0Merge pull request #13913 from Automattic/dependabot/github_actions/master/actions/checkout-4.1.0Amend some awkward FAQ wordingchore(deps-dev): bump @babel/preset-env from 7.22.14 to 7.22.20chore(deps-dev): bump eslint from 8.48.0 to 8.50.0chore(deps-dev): bump markdownlint-cli2 from 0.9.2 to 0.10.0chore(deps-dev): bump @babel/core from 7.22.11 to 7.23.0chore(deps-dev): bump uuid from 9.0.0 to 9.0.1chore(deps-dev): bump sinon from 15.2.0 to 16.0.0chore(deps): bump actions/checkout from 3.6.0 to 4.1.0fix(document): call pre('validate') hooks when modifying a path underneath triply nested subdocfix(mongoose): correctly handle global applyPluginsToChildSchemas optionMerge pull request #13894 from Automattic/vkarpov15/generate-search-improvementschore: print progress when running generateSearch script👉 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