flaviuse / mern-authentication

MERN stack authentication boilerplate: password reset, email verification, server sessions, redux, typescript, hooks and docker for dev and prod.
https://mern-auth-client.herokuapp.com/login
MIT License
439 stars 95 forks source link

[Snyk] Upgrade mongoose from 6.5.2 to 6.5.3 #155

Closed snyk-bot closed 2 years ago

snyk-bot commented 2 years ago

Snyk has created this PR to upgrade mongoose from 6.5.2 to 6.5.3.

merge advice :information_source: 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

    6.5.3 / 2022-08-24

    • 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 discriminator() generic #10349
    • perf(types): some more micro-optimizations re: #10349, remove extra type checking on $ne, etc.
    • fix(types): infer schema on connection.model() #12298 #12125 hasezoey
    • fix(types): add missing findById() type definitions #12309 lpizzinidev
    • 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

    6.5.2 / 2022-08-09

    • 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 Connection.prototype.model() #12240 hasezoey
    • 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 notes
Commit messages
Package name: mongoose
  • d914a94 chore: release 6.5.3
  • 9734768 Merge pull request #12322 from Automattic/vkarpov15/gh-12220
  • be41ea5 Merge pull request #12321 from Automattic/vkarpov15/gh-12264
  • 1788628 test: address comment
  • ff965da Documentation: typo fix (#12324)
  • 90aa098 fix(document): handle maps when applying defaults to nested paths
  • 4a946ff fix(schema): make ArraySubdocuments apply `_id` defaults on init
  • 8c0800a Merge pull request #12310 from Automattic/language-override-docs
  • 8e49fa6 Merge pull request #12266 from Automattic/vkarpov15/fix-discriminator-subpopulate-string
  • 2de1a86 Merge pull request #12314 from Automattic/revert-12313-vkarpov15/gh-9056
  • 0453a91 Revert "Use setPrototypeOf() instead of __proto__ to allow running on Deno"
  • ca5cc2c Merge pull request #12258 from hasezoey/addTypesModelRemove
  • 3a14bef Merge branch 'master' into addTypesModelRemove
  • 1284e68 fix types test for findById
  • 18b1e78 fix type test for findById
  • 32bb9a2 test(types): add type test re #12286 #12309
  • 59dd6af Merge pull request #12309 from lpizzinidev/fix-findbyid-type
  • 18d8227 Merge pull request #12313 from Automattic/vkarpov15/gh-9056
  • 39d76e8 test: remove __proto__ usage in tests
  • 27130ac feat: use setPrototypeOf() instead of __proto__ to allow running on Deno
  • 5ed1c38 language_override option mention
  • 56ce8f7 docs: add 5.13.15 release to changelog
  • 8736cf6 Added findById type definitions
  • e8dfde6 Merge pull request #12284 from Automattic/vkarpov15/gh-10349-202208
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