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.2 to 6.6.5 #165

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

Conversation

flaviuse
Copy link
Owner

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.6.5.

ℹ️ 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 9 versions ahead of your current version.
  • The recommended version was released a month ago, on 2022-10-05.
Release notes
Package name: mongoose
  • 6.6.5 - 2022-10-05

    6.6.5 / 2022-10-05

    • fix(document): set defaults on subdocuments underneath init-ed single nested subdocument #12523 #12515
    • fix: make Jest fake timers check more robust to other libs that overwrite time functions #12527 #12514
    • fix(types): indicate that Schema.prototype.discriminator() returns this #12522 #12457
    • fix(types): add "estimatedDocumentCount" and "countDocuments" as possible hooks #12519 #12516
    • docs(models): add section on MongoDB Views #12526 #5694
    • docs(subdocs): clarify that populated docs are not subdocs #12521 #12398
    • docs(change-streams): remove unnecessary obsolete comment about needing to use mongodb driver change streams #12444
  • 6.6.4 - 2022-10-03

    6.6.4 / 2022-10-03

    • fix(model): avoid saving applied defaults if path is deselected #12506 #12414
    • fix(types): correct DocType for auto typed query helpers #12342
    • fix(types): avoid "excessively deep" type instantiation error when using bulkWrite() with type that extends from document #12277
    • fix(types): avoid relying on typeof this, which isn't supported in TypeScript < 4.4 #12375
    • docs(schema): correct example for Schema.prototype.discriminator() #12493
    • docs(typescript): clean up query helpers examples #12342
    • chore: use mongodb-memory-server for testing #12262 hasezoey
  • 6.6.3 - 2022-09-30

    6.6.3 / 2022-09-30

    • fix(query): treat findOne(_id) as equivalent to findOne({ _id }) #12485 #12325
    • fix(timestamps): findOneAndUpdate creates subdocs with timestamps in reverse order #12484 #12475 lpizzinidev
    • fix(types): make schema.plugin() more flexible for schemas that don't define any generics #12486 #12454
    • fix(types): add "array of array key-value pairs" as a argument option for "query.sort()" #12483 #12434 hasezoey
    • fix(types): remove unused defaults in "PluginFunction" #12459 hasezoey
    • fix(types): update DiscriminatorSchema to have better names and combine statics #12460 hasezoey
  • 6.6.2 - 2022-09-26

    6.6.2 / 2022-09-26

    • fix(model): avoid deleting shared schema methods in fix for #12254 #12423
    • fix(document): set $inc default value in case field has not been specified on the document #12435 lpizzinidev
    • fix(query): handle select: false on map paths in query results #12467 lpizzinidev
    • fix(types): add HydratedDocumentFromSchema to make it easier to pull inferred hydrated doc type #12464 #12319
    • fix(types): add sanitizeFilter to types #12465 zrosenbauer
    • fix(types): infer number enum types from schema if using enum: [0, 1] as const #12463 #12242
    • docs(validation): add section on global schematype validation, clean up other issues #12430
    • docs: add clarification about overwrite flag in model.js #12447 Tzvika-m
    • docs: change to consistent "Example:" for jsdoc comments #12432 hasezoey
  • 6.6.1 - 2022-09-14

    6.6.1 / 2022-09-14

    • fix: correctly apply defaults after subdoc init #12328
    • fix(array): avoid using default _id when using pull() #12294
    • fix: allow null values inside $expr objects #12429 MartinDrost
    • fix(query): use correct Query constructor when cloning query #12418
    • docs(website): remove setting "latest38x" which is not used anywhere #12396 hasezoey
  • 6.6.0 - 2022-09-08
  • 6.5.5 - 2022-09-07
  • 6.5.4 - 2022-08-30
  • 6.5.3 - 2022-08-25
  • 6.5.2 - 2022-08-10
from mongoose GitHub release notes
Commit messages
Package name: mongoose
  • 8846d29 chore: release 6.6.5
  • 573e5bc Merge pull request #12527 from Automattic/vkarpov15/gh-12514
  • 81ac6b7 Merge pull request #12528 from hasezoey/fixClosingTag
  • c10174c docs(models): fix non-matching closing tag
  • 7573398 Merge pull request #12526 from Automattic/vkarpov15/gh-5694
  • 2691f74 Update docs/models.md
  • 2f22919 fix: make Jest fake timers check more robust to other libs that overwrite time functions
  • eb292d2 Merge pull request #12521 from Automattic/vkarpov15/gh-12398
  • 2b5c79e Merge pull request #12522 from Automattic/vkarpov15/gh-12457
  • 542ce79 Merge pull request #12523 from Automattic/vkarpov15/gh-12515
  • 630bd37 test: cover a couple of extra cases for #12515
  • 9093f7c docs(models): add section on MongoDB Views
  • b0edca9 fix: quick fix so `defaults` is unset before init
  • 167f682 fix(document): set defaults on subdocuments underneath init-ed single nested subdocument
  • a15242d fix(types): indicate that Schema.prototype.discriminator() returns `this`
  • 140524c Merge pull request #12519 from hasezoey/addQueryMiddleware
  • e800193 docs(subdocs): clarify that populated docs are not subdocs
  • b4aaf62 docs(change-streams): remove unnecessary obsolete comment about needing to use mongodb driver change streams
  • ed3a7df fix(types): add "estimatedDocumentCount" and "countDocuments" as possible hooks
  • 94b308e chore(mocha-fixtures): fix spelling and remove "example" comments (#12511)
  • df01ba6 chore: release 6.6.4
  • 6e736ee Merge pull request #12506 from Automattic/vkarpov15/gh-12414
  • d061da3 test: add test coverage for #12414
  • d6a6620 Merge branch 'master' into vkarpov15/gh-12414

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.

2 participants