[Snyk] Upgrade mongoose from 6.5.2 to 6.5.3 #8
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.
This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade mongoose from 6.5.2 to 6.5.3.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
Release notes
Package name: mongoose
-
6.5.3 - 2022-08-25
- fix(document): handle maps when applying defaults to nested paths #12322
- fix(schema): make ArraySubdocuments apply _id defaults on init #12264
- fix(populate): handle specifying recursive populate as a string with discriminators #12266
- perf(types): remove extends Query in Schema.pre() and Schema.post(), loosen
- perf(types): some more micro-optimizations re: #10349, remove extra type checking on $ne, etc.
- fix(types): infer schema on
- fix(types): add missing
- fix(types): allow $search in $lookup pipeline stages for MongoDB v6.x support #12278 AbdelrahmanHafez
- fix(types): add parameter "options" to "Model.remove" #12258 hasezoey
- fix(types): sync single-generic-no-constraint "model" between "index.d.ts" and "connection.d.ts" #12299 hasezoey
- fix(types): update isDirectModified typing #12290 gabrielDonnantuoni
- docs: update links on api docs #12293 eatmoarrice
- docs: add note about language_override option #12310 IslandRhythms
- docs(document): add "String[]" to Document.depopulate as jsdoc parameter type #12300 hasezoey
- docs: update Node.js EventEmitter url #12303 rainrisa
-
6.5.2 - 2022-08-10
- fix(aggregate): avoid throwing error when disconnecting with change stream open #12201 ramos-ph
- fix(query): overwrite top-level key if using Query.prototype.set() to set to undefined #12155
- fix(query): shallow clone options before modifying #12176
- fix(types): auto schema type inference on
- fix(types): better typescript support for schema plugins #12139 emiljanitzek
- fix(types): make bulkWrite() type param optional #12221 #12212
- docs: misc cleanup #12199 hasezoey
- docs: highlight current top-most visible header in navbar #12222 hasezoey
- docs(populate): improve examples for Document.prototype.populate() #12111
- docs(middleware): clarify document vs model in middleware docs #12113
from mongoose GitHub release notes6.5.3 / 2022-08-24
discriminator()generic #10349connection.model()#12298 #12125 hasezoeyfindById()type definitions #12309 lpizzinidev6.5.2 / 2022-08-09
Connection.prototype.model()#12240 hasezoeyCommit messages
Package name: mongoose
Compare
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs