Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade mongoose from 6.5.3 to 6.5.4 #29

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

snyk-bot
Copy link
Contributor

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

ℹ️ 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.


  • The recommended version is 1 version ahead of your current version.
  • The recommended version was released 21 days ago, on 2022-08-30.
Release notes
Package name: mongoose
  • 6.5.4 - 2022-08-30

    6.5.4 / 2022-08-30

    • fix(document): allow calling $assertPopulated() with values to better support manual population #12233
    • fix(connection+mongoose): better handling for calling model() with 1 argument #12359
    • fix(model): allow defining discriminator virtuals and methods using schema options #12326
    • fix(types): fix MongooseQueryMiddleware missing "findOneAndReplace" and "replaceOne" #12330 #12329 Jule- lpizzinidev
    • fix(types): fix replaceOne return type #12351 lpizzinidev
    • fix(types): use this for return type from $assertPopulated() #12234
    • docs: highlight how to connect using auth in README #12354 AntonyOnScript
    • docs: improve jsdoc comments for private methods #12337 hasezoey
    • docs: fix minor typo in compatibility table header #12355 skyme5
  • 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
from mongoose GitHub release notes
Commit messages
Package name: mongoose
  • 803a786 chore: release 6.5.4
  • b60d0e6 Merge pull request #12341 from Automattic/vkarpov15/gh-12233
  • 20584b2 fix(mongoose): fix build from #12359
  • 3bef3cf fix(connection+mongoose): better handling for calling `model()` with 1 argument
  • aba698b style: fix lint
  • f858ca5 Merge pull request #12359 from chochihim/patch-1
  • c6d5889 Update connection.js
  • 53d4f38 Update lib/connection.js
  • 1563a1b docs(document): improve `$assertPopulated()` docs
  • 67bfddd Merge pull request #12337 from hasezoey/changeCommentType
  • caa9a69 Merge pull request #12354 from AntonyOnScript/patch-1
  • d4828e2 Update index.md
  • 9f115b8 Merge pull request #12357 from hasezoey/combineCoverage
  • 9da0b2e Merge branch 'master' into combineCoverage
  • 3aa2411 Merge branch 'master' into changeCommentType
  • 11edf8d style(ArraySubdocument): fix jsdoc field casing
  • bbeaa9a Merge pull request #12351 from lpizzinidev/fix-replaceone-type
  • c4935c7 Update connection.js
  • 3b062ee Update some tests and config to be more maintainable (#12356)
  • 9ab5f52 Update test/types/models.test.ts
  • 3bcd316 Call _markModified in splice array method (#12348)
  • d9add5f fix lint
  • 1ff771b test(types): added type test replaceOne
  • 5d1991f Fixed replaceOne model's return type

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant