jaylenw / nota

Backend for AngularJSTodoApp, IonicTodoApp, & ElectronTodoApp. Create and Archive Notes in this back-end application providing RESTful APIs designed to be use with a front-end application. Archived on 2023/11/26.
https://nota.jaylenwimbish.com/
MIT License
1 stars 1 forks source link

[Snyk] Upgrade mongoose from 6.6.2 to 6.6.5 #390

Closed snyk-bot closed 1 year ago

snyk-bot commented 2 years ago

Snyk has created this PR to upgrade mongoose from 6.6.2 to 6.6.5.

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

coveralls commented 2 years ago

Pull Request Test Coverage Report for Build #1232


Totals Coverage Status
Change from base Build #1231: 0.0%
Covered Lines: 222
Relevant Lines: 280

💛 - Coveralls