This repository was archived by the owner on Nov 1, 2023. It is now read-only.
🚨 [security] Upgrade mongoose to version 6.6.2 #202
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.8.7 → 6.6.2) · Repo · Changelog
Security Advisories 🚨
🚨 Prototype pollution Schema.path in automattic/mongoose
🚨 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 33 commits:
chore: release 6.6.2Merge pull request #12464 from Automattic/vkarpov15/gh-12319Merge pull request #12471 from hasezoey/addNamesToFunctionsstyle: add names to previously anonymous hook functionsstyle(document): update adding query hooks to use functions instead of arrowstyle(clearValidating): add name to previously anonymous plugin functionMerge pull request #12470 from hasezoey/addNamesToPluginsstyle: add names to previously anonymous plugin functionsMerge pull request #12466 from Automattic/vkarpov15/gh-12430Update test/docs/validation.test.jsMerge pull request #12465 from zrosenbauer/chore/add-sanitizeFilter-to-typesMerge pull request #12467 from lpizzinidev/fix-ignore-selectAdd testUpdate types/index.d.tsfix(query): select: false was ignored for Maptest: fix testsdocs(validation): add section on global schematype validation, clean up other issuesMerge pull request #12463 from Automattic/vkarpov15/gh-12242typorm spacesAdd `sanitizeFilter` to typesfix(types): add HydratedDocumentFromSchema to make it easier to pull inferred hydrated doc typefix(types): infer number enum types from schema if using `enum: [0, 1] as const`Merge pull request #12447 from Tzvika-m/patch-1Update lib/model.jsUpdate lib/model.jsfix(model): avoid deleting shared schema methods in fix for #12254 (#12453)Merge pull request #12437 from lpizzinidev/fix-inc-defaultadded test for document entityAdd calrification about overwrite flag in model.jsAddresses #12435Merge pull request #12432 from hasezoey/consistentExamplestyle: change to consistent "Example:" for jsdoc commentsDepfu 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