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 8.0.3 to 8.10.0 #148

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

Conversation

issam-seghir
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade mongoose from 8.0.3 to 8.10.0.

ℹ️ 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 51 versions ahead of your current version.

  • The recommended version was released 22 days ago.

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
high severity Improper Neutralization of Special Elements in Data Query Logic
SNYK-JS-MONGOOSE-8446504
649 No Known Exploit
high severity Improper Neutralization of Special Elements in Data Query Logic
SNYK-JS-MONGOOSE-8623536
649 No Known Exploit
Release notes
Package name: mongoose
  • 8.10.0 - 2025-02-05

    8.10.0 / 2025-02-05

    • feat(schema+schematype): add toJSONSchema() method to convert schemas and schematypes to JSON schema #15184 #11162
    • feat(connection): make connection helpers respect bufferTimeoutMS #15229 #15201
    • feat(document): support schematype-level transform option #15163 #15084
    • feat(model): add insertOne() function to insert a single doc #15162 #14843
    • feat(connection): support Connection.prototype.aggregate() for db-level aggregations #15153
    • feat(model): make syncIndexes() not call createIndex() on indexes that already exist #15175 #12250
    • feat(model): useConnection(connection) function #14802
    • fix(model): disallow updateMany(update) and fix TypeScript types re: updateMany() #15199 #15190
    • fix(collection): avoid buffering if creating a collection during a connection interruption #15187 #14971
    • fix(model): throw error if calling create() with multiple docs in a transaction unless ordered: true #15100
    • fix(model): skip createCollection() in syncIndexes() if autoCreate: false #15155
    • fix(model): make hydrate() handle hydrating deeply nested populated docs with hydratedPopulatedDocs #15130
    • types(document): make sure toObject() and toJSON() apply versionKey __v #15097
    • ci(NODE-6505): CI Setup for Encryption Support #15139 aditi-khare-mongoDB
  • 8.9.7 - 2025-02-04

    8.9.7 / 2025-02-04

    • fix: avoid applying defaults on map embedded paths #15217 #15196
    • types: add missing $median operator to aggregation types #15233 #15209
    • docs(document): clarify that toObject() returns a POJO that may contain non-POJO values #15232 #15208
  • 8.9.6 - 2025-01-31

    8.9.6 / 2025-01-31

    • fix(document): allow setting values to undefined with set(obj) syntax with strict: false #15207 #15192
    • fix(schema): improve reason for UUID cast error, currently a TypeError #15215 #15202
    • fix(aggregate): improve error when calling near() with invalid coordinates #15206 #15188
  • 8.9.5 - 2025-01-13
  • 8.9.4 - 2025-01-09
  • 8.9.3 - 2024-12-30
  • 8.9.2 - 2024-12-19
  • 8.9.1 - 2024-12-16
  • 8.9.0 - 2024-12-13
  • 8.8.4 - 2024-12-05
  • 8.8.3 - 2024-11-26
  • 8.8.2 - 2024-11-18
  • 8.8.1 - 2024-11-08
  • 8.8.0 - 2024-10-31
  • 8.7.3 - 2024-10-25
  • 8.7.2 - 2024-10-17
  • 8.7.1 - 2024-10-09
  • 8.7.0 - 2024-09-27
  • 8.6.4 - 2024-09-26
  • 8.6.3 - 2024-09-17
  • 8.6.2 - 2024-09-11
  • 8.6.1 - 2024-09-03
  • 8.6.0 - 2024-08-28
  • 8.5.5 - 2024-08-28
  • 8.5.4 - 2024-08-23
  • 8.5.3 - 2024-08-13
  • 8.5.2 - 2024-07-30
  • 8.5.1 - 2024-07-12
  • 8.5.0 - 2024-07-08
  • 8.4.5 - 2024-07-05
  • 8.4.4 - 2024-06-25
  • 8.4.3 - 2024-06-17
  • 8.4.2 - 2024-06-17
  • 8.4.1 - 2024-05-31
  • 8.4.0 - 2024-05-17
  • 8.3.5 - 2024-05-15
  • 8.3.4 - 2024-05-06
  • 8.3.3 - 2024-04-29
  • 8.3.2 - 2024-04-16
  • 8.3.1 - 2024-04-08
  • 8.3.0 - 2024-04-03
  • 8.2.4 - 2024-03-28
  • 8.2.3 - 2024-03-21
  • 8.2.2 - 2024-03-15
  • 8.2.1 - 2024-03-04
  • 8.2.0 - 2024-02-22
  • 8.1.3 - 2024-02-16
  • 8.1.2 - 2024-02-11
  • 8.1.1 - 2024-01-24
  • 8.1.0 - 2024-01-16
  • 8.0.4 - 2024-01-09
  • 8.0.3 - 2023-12-07
from mongoose GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.

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:

Snyk has created this PR to upgrade mongoose from 8.0.3 to 8.10.0.

See this package in npm:
mongoose

See this project in Snyk:
https://app.snyk.io/org/issam-seghir/project/cd962cf4-e38a-48d0-992f-eced5ee97fd3?utm_source=github&utm_medium=referral&page=upgrade-pr
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