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.6.0 to 8.4.0 #1

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

Conversation

WontonSam
Copy link
Owner

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


![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)

Snyk has created this PR to upgrade mongoose from 6.6.0 to 8.4.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.


⚠️ Warning: This PR contains major version upgrade(s), and may be a breaking change.

  • The recommended version is 113 versions ahead of your current version.

  • The recommended version was released on 22 days ago.

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
high severity Uncontrolled resource consumption
SNYK-JS-BRACES-6838727
169 Proof of Concept
high severity Server-side Request Forgery (SSRF)
SNYK-JS-IP-6240864
169 Proof of Concept
high severity Prototype Pollution
SNYK-JS-MONGOOSE-5777721
169 Proof of Concept
medium severity Open Redirect
SNYK-JS-EXPRESS-6474509
169 No Known Exploit
medium severity Server-Side Request Forgery (SSRF)
SNYK-JS-IP-7148531
169 Proof of Concept
medium severity Information Exposure
SNYK-JS-MONGODB-5871303
169 No Known Exploit
Release notes
Package name: mongoose
  • 8.4.0 - 2024-05-17

    8.4.0 / 2024-05-17

    • feat: upgrade mongodb -> 6.6.2 #14584
    • feat: add transactionAsyncLocalStorage option to opt in to automatically setting session on all transactions #14583 #13889
    • feat: handle initially null driver when instantiating Mongoose for Rollup support #14577 #12335
    • feat(mongoose): export omitUndefined() helper #14582 #14569
    • feat: add Model.listSearchIndexes() #14519 #14450
    • feat(connection): add listDatabases() function #14506 #9048
    • feat(schema): add schema-level readConcern option to apply default readConcern for all queries #14579 #14511
    • fix(error): remove model property from CastError to avoid printing all model properties to console #14568 #14529
    • fix(model): make bulkWrite() and insertMany() throw if throwOnValidationError set and all ops invalid #14587 #14572
    • fix(document): ensure transform function passed to toObject() options applies to subdocs #14600 #14589
    • types: add inferRawDocType helper #13900 #13772
    • types(document): make document _id type default to unknown instead of any #14541
  • 8.3.5 - 2024-05-15

    8.3.5 / 2024-05-15

    • fix(query): shallow clone $or, $and if merging onto empty query filter #14580 #14567
    • types(model+query): pass TInstanceMethods to QueryWithHelpers so populated docs have methods #14581 #14574
    • docs(typescript): clarify that setting THydratedDocumentType on schemas is necessary for correct method context #14575 #14573
  • 8.3.4 - 2024-05-06

    8.3.4 / 2024-05-06

    • perf(document): avoid cloning options using spread operator for perf reasons #14565 #14394
    • fix(query): apply translateAliases before casting to avoid strictMode error when using aliases #14562 #14521
    • fix(model): consistent top-level timestamps option for bulkWrite operations
      #14546 #14536
    • docs(connections): improve description of connection creation patterns #14564 #14528
  • 8.3.3 - 2024-04-29

    8.3.3 / 2024-04-29

    • perf(document): add fast path for applying non-nested virtuals to JSON #14543
    • fix: make hydrate() recursively hydrate virtual populate docs if hydratedPopulatedDocs is set #14533 #14503
    • fix: improve timestamps option handling in bulkWrite #14546 #14536 sderrow
    • fix(model): make recompileSchema() overwrite existing document array discriminators #14527
    • types(schema): correctly infer Array<Schema.Types.*> #14534 #14367
    • types(query+populate): apply populate overrides to doc toObject() result #14525 #14441
    • types: add null to select override return type for findOne #14545 sderrow
  • 8.3.2 - 2024-04-16

    8.3.2 / 2024-04-16

    • fix(populate): avoid match function filtering out null values in populate result #14518 #14494
    • types(query): make FilterQuery props resolve to any for generics support #14510 #14473 #14459
    • types(DocumentArray): pass DocType generic to Document for correct toJSON() and toObject() return types #14526 #14469
    • types(models): fix incorrect bulk write options #14513 emiljanitzek
    • docs: add documentation for calling schema.post() with async function #14514 #14305
  • 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
  • 8.0.2 - 2023-11-28
  • 8.0.1 - 2023-11-15
  • 8.0.0 - 2023-10-31
  • 8.0.0-rc0 - 2023-10-24
  • 7.6.13 - 2024-06-05

    chore: release 7.6.13

  • 7.6.12 - 2024-05-21

    chore: release 7.6.12

  • 7.6.11 - 2024-04-11
  • 7.6.10 - 2024-03-13
  • 7.6.9 - 2024-02-26
  • 7.6.8 - 2024-01-08
  • 7.6.7 - 2023-12-06
  • 7.6.6 - 2023-11-27
  • 7.6.5 - 2023-11-14
  • 7.6.4 - 2023-10-30
  • 7.6.3 - 2023-10-17
  • 7.6.2 - 2023-10-13
  • 7.6.1 - 2023-10-09
  • 7.6.0 - 2023-10-06
  • 7.5.4 - 2023-10-04
  • 7.5.3 - 2023-09-25
  • 7.5.2 - 2023-09-15
  • 7.5.1 - 2023-09-11
  • 7.5.0 - 2023-08-29
  • 7.4.5 - 2023-08-25
  • 7.4.4 - 2023-08-22
  • 7.4.3 - 2023-08-11
  • 7.4.2 - 2023-08-03
  • 7.4.1 - 2023-07-24
  • 7.4.0 - 2023-07-18
  • 7.3.4 - 2023-07-12
  • 7.3.3 - 2023-07-11
  • 7.3.2 - 2023-07-06
  • 7.3.1 - 2023-06-21
  • 7.3.0 - 2023-06-14
  • 7.2.4 - 2023-06-12
  • 7.2.3 - 2023-06-09
  • 7.2.2 - 2023-05-30
  • 7.2.1 - 2023-05-24
  • 7.2.0 - 2023-05-19
  • 7.1.2 - 2023-05-19
  • 7.1.1 - 2023-05-10
  • 7.1.0 - 2023-04-27
  • 7.0.5 - 2023-04-24
  • 7.0.4 - 2023-04-17
  • 7.0.3 - 2023-03-23
  • 7.0.2 - 2023-03-15
  • 7.0.1 - 2023-03-06
  • 7.0.0 - 2023-02-27
  • 7.0.0-rc0 - 2023-02-23
  • 6.13.0 - 2024-06-06

    chore: release 6.13.0

  • 6.12.9 - 2024-05-24

    chore: release 6.12.9

  • 6.12.8 - 2024-04-10
  • 6.12.7 - 2024-03-01
  • 6.12.6 - 2024-01-22
  • 6.12.5 - 2024-01-03
  • 6.12.4 - 2023-12-27
  • 6.12.3 - 2023-11-07
  • 6.12.2 - 2023-10-25
  • 6.12.1 - 2023-10-12
  • 6.12.0 - 2023-08-24
  • 6.11.6 - 2023-08-21
  • 6.11.5 - 2023-08-01
  • 6.11.4 - 2023-07-17
  • 6.11.3 - 2023-07-11
  • 6.11.2 - 2023-06-08
  • 6.11.1 - 2023-05-08
  • 6.11.0 - 2023-05-01
  • 6.10.5 - 2023-04-06
  • 6.10.4 - 2023-03-21
  • 6.10.3 - 2023-03-13
  • 6.10.2 - 2023-03-07
  • 6.10.1 - 2023-03-03
  • 6.10.0 - 2023-02-22
  • 6.9.3 - 2023-02-22
  • 6.9.2 - 2023-02-16
  • 6.9.1 - 2023-02-06
  • 6.9.0 - 2023-01-25
  • 6.8.4 - 2023-01-17
  • 6.8.3 - 2023-01-06
  • 6.8.2 - 2022-12-28
  • 6.8.1 - 2022-12-19
  • 6.8.0 - 2022-12-05
  • 6.7.5 - 2022-11-30
  • 6.7.4 - 2022-11-28
  • 6.7.3 - 2022-11-22
  • 6.7.2 - 2022-11-07
  • 6.7.1 - 2022-11-02
  • 6.7.0 - 2022-10-24
  • 6.6.7 - 2022-10-21
  • 6.6.6 - 2022-10-20
  • 6.6.5 - 2022-10-05
  • 6.6.4 - 2022-10-03
  • 6.6.3 - 2022-09-30
  • 6.6.2 - 2022-09-26
  • 6.6.1 - 2022-09-14
  • 6.6.0 - 2022-09-08
from mongoose GitHub release notes

Important

  • Warning: This PR contains a major version upgrade, and may be a breaking change.
  • 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 6.6.0 to 8.4.0.

See this package in npm:
mongoose

See this project in Snyk:
https://app.snyk.io/org/cachiman/project/efb5bdea-da29-49b8-885a-3a688a1bfe8f?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