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.0.12 to 6.6.5 #17

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

Conversation

mdbetancourt
Copy link
Contributor

This PR was automatically created by Snyk using the credentials of a real user.


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

merge advice
ℹ️ 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 56 versions ahead of your current version.
  • The recommended version was released 22 days ago, on 2022-10-05.

The recommended version fixes:

Severity Issue PriorityScore (*) Exploit Maturity
Prototype Pollution
SNYK-JS-MONGOOSE-2961688
671/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 7
Proof of Concept

(*) Note that the real score may have changed since the PR was raised.

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.6.0 / 2022-09-08

    • feat: upgrade mongodb driver -> 4.9.1 #12370 AbdelrahmanHafez
    • feat: re-export default Mongoose instance properties for ESM named imports support #12256
    • feat(model): add option to skip invalid fields with castObject() #12156 IslandRhythms
    • feat: use setPrototypeOf() instead of proto to allow running on Deno #12315
    • feat(QueryCursor): add support for AbortSignal on eachAsync() #12323
    • feat(types): add types for new $densify operator #12118 IslandRhythms
  • 6.5.5 - 2022-09-07
    Read more
  • 6.5.4 - 2022-08-30
  • 6.5.3 - 2022-08-25
  • 6.5.2 - 2022-08-10
  • 6.5.1 - 2022-08-03
  • 6.5.0 - 2022-07-26
  • 6.4.7 - 2022-07-25
  • 6.4.6 - 2022-07-20
  • 6.4.5 - 2022-07-18
  • 6.4.4 - 2022-07-08
  • 6.4.3 - 2022-07-05
  • 6.4.2 - 2022-07-01
  • 6.4.1 - 2022-06-27
  • 6.4.0 - 2022-06-17
  • 6.3.9 - 2022-06-17
  • 6.3.8 - 2022-06-13
  • 6.3.7 - 2022-06-13
  • 6.3.6 - 2022-06-07
  • 6.3.5 - 2022-05-30
  • 6.3.4 - 2022-05-19
  • 6.3.3 - 2022-05-09
  • 6.3.2 - 2022-05-02
  • 6.3.1 - 2022-04-21
  • 6.3.0 - 2022-04-14
  • 6.2.11 - 2022-04-13
  • 6.2.10 - 2022-04-04
  • 6.2.9 - 2022-03-28
  • 6.2.8 - 2022-03-23
  • 6.2.7 - 2022-03-16
  • 6.2.6 - 2022-03-11
  • 6.2.5 - 2022-03-09
  • 6.2.4 - 2022-02-28
  • 6.2.3 - 2022-02-21
  • 6.2.2 - 2022-02-16
  • 6.2.1 - 2022-02-07
  • 6.2.0 - 2022-02-02
  • 6.1.10 - 2022-02-01
  • 6.1.9 - 2022-01-31
  • 6.1.8 - 2022-01-24
  • 6.1.7 - 2022-01-17
  • 6.1.6 - 2022-01-10
  • 6.1.5 - 2022-01-04
  • 6.1.4 - 2021-12-27
  • 6.1.3 - 2021-12-21
  • 6.1.2 - 2021-12-15
  • 6.1.1 - 2021-12-09
  • 6.1.0 - 2021-12-07
  • 6.0.15 - 2021-12-06
  • 6.0.14 - 2021-11-29
  • 6.0.13 - 2021-11-15
  • 6.0.12 - 2021-10-21
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