This repository has been 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.2
Merge pull request #12464 from Automattic/vkarpov15/gh-12319
Merge pull request #12471 from hasezoey/addNamesToFunctions
style: add names to previously anonymous hook functions
style(document): update adding query hooks to use functions instead of arrow
style(clearValidating): add name to previously anonymous plugin function
Merge pull request #12470 from hasezoey/addNamesToPlugins
style: add names to previously anonymous plugin functions
Merge pull request #12466 from Automattic/vkarpov15/gh-12430
Update test/docs/validation.test.js
Merge pull request #12465 from zrosenbauer/chore/add-sanitizeFilter-to-types
Merge pull request #12467 from lpizzinidev/fix-ignore-select
Add test
Update types/index.d.ts
fix(query): select: false was ignored for Map
test: fix tests
docs(validation): add section on global schematype validation, clean up other issues
Merge pull request #12463 from Automattic/vkarpov15/gh-12242
typo
rm spaces
Add `sanitizeFilter` to types
fix(types): add HydratedDocumentFromSchema to make it easier to pull inferred hydrated doc type
fix(types): infer number enum types from schema if using `enum: [0, 1] as const`
Merge pull request #12447 from Tzvika-m/patch-1
Update lib/model.js
Update lib/model.js
fix(model): avoid deleting shared schema methods in fix for #12254 (#12453)
Merge pull request #12437 from lpizzinidev/fix-inc-default
added test for document entity
Add calrification about overwrite flag in model.js
Addresses #12435
Merge pull request #12432 from hasezoey/consistentExample
style: change to consistent "Example:" for jsdoc comments
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