Skip to content

[Snyk] Upgrade mocha from 3.5.3 to 11.2.0 #249

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Conversation

nerdy-tech-com-gitub
Copy link
Owner

@nerdy-tech-com-gitub nerdy-tech-com-gitub commented Apr 20, 2025

snyk-top-banner

Snyk has created this PR to upgrade mocha from 3.5.3 to 11.2.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 79 versions ahead of your current version.

  • The recommended version was released a month ago.

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
high severity Prototype Pollution
SNYK-JS-AJV-584908
165 No Known Exploit
high severity Inefficient Regular Expression Complexity
SNYK-JS-MICROMATCH-6838728
165 No Known Exploit
critical severity Incomplete List of Disallowed Inputs
SNYK-JS-BABELTRAVERSE-5962462
165 Proof of Concept
high severity Excessive Platform Resource Consumption within a Loop
SNYK-JS-BRACES-6838727
165 Proof of Concept
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-CROSSSPAWN-8303230
165 Proof of Concept
high severity Denial of Service (DoS)
SNYK-JS-DECODEURICOMPONENT-3149970
165 Proof of Concept
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-HAWK-2808852
165 No Known Exploit
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-SEMVER-3247795
165 Proof of Concept
high severity Prototype Pollution
SNYK-JS-UNSETVALUE-2400660
165 No Known Exploit
high severity Regular Expression Denial of Service (ReDoS)
npm:diff:20180305
165 Proof of Concept
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-MOCHA-2863123
165 No Known Exploit
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-MOCHA-561476
165 No Known Exploit
high severity Prototype Poisoning
SNYK-JS-QS-3153490
165 Proof of Concept
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-GLOBPARENT-1016905
165 Proof of Concept
critical severity Authentication Bypass
SNYK-JS-HAWK-6969142
165 Proof of Concept
medium severity Insecure Randomness
npm:cryptiles:20180710
165 No Known Exploit
medium severity Prototype Pollution
SNYK-JS-MINIMIST-559764
165 Proof of Concept
medium severity Prototype Pollution
SNYK-JS-MINIMIST-559764
165 Proof of Concept
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-PATHTOREGEXP-7925106
165 Proof of Concept
low severity Regular Expression Denial of Service (ReDoS)
npm:debug:20170905
165 Proof of Concept
low severity Regular Expression Denial of Service (ReDoS)
npm:debug:20170905
165 Proof of Concept
low severity Regular Expression Denial of Service (ReDoS)
npm:debug:20170905
165 Proof of Concept
critical severity Command Injection
npm:growl:20160721
165 No Known Exploit
low severity Prototype Pollution
SNYK-JS-MINIMIST-2429795
165 Proof of Concept
low severity Prototype Pollution
SNYK-JS-MINIMIST-2429795
165 Proof of Concept
Release notes
Package name: mocha
  • 11.2.0 - 2025-03-17

    11.2.0 (2025-03-17)

    🌟 Features

    • enable reporters to show relative paths of tests (#5292) (81ea666)

    📚 Documentation

    🧹 Chores

  • 11.1.0 - 2025-01-02

    11.1.0 (2025-01-02)

    🌟 Features

  • 11.0.2 - 2024-12-09

    11.0.2 (2024-12-09)

    🩹 Fixes

    • catch exceptions setting Error.stackTraceLimit (#5254) (259f8f8)
    • error handling for unexpected numeric arguments passed to cli (#5263) (210d658)

    📚 Documentation

    • correct outdated status: accepting prs link (#5268) (f729cd0)
    • replace "New in" with "Since" in version annotations (#5262) (6f10d12)
  • 11.0.1 - 2024-12-02

    11.0.1 (2024-12-02)

    🌟 Features

    📚 Documentation

    • fix examples for linkPartialObjects methods (#5255) (34e0e52)
  • 11.0.0 - 2024-11-11

    11.0.0 (2024-11-11)

    ⚠ BREAKING CHANGES

    • adapt new engine range for Mocha 11 (#5216)

    🌟 Features

    🩹 Fixes

    📚 Documentation

  • 11.0.0-beta - 2024-11-23
  • 10.8.2 - 2024-10-30

    10.8.2 (2024-10-30)

    🩹 Fixes

    • support errors with circular dependencies in object values with --parallel (#5212) (ba0fefe)
    • test link in html reporter (#5224) (f054acc)

    📚 Documentation

    • indicate 'exports' interface does not work in browsers (#5181) (14e640e)

    🧹 Chores

    • fix docs builds by re-adding eleventy and ignoring gitignore again (#5240) (881e3b0)

    🤖 Automation

    • deps: bump the github-actions group with 1 update (#5132) (e536ab2)
  • 10.8.1 - 2024-10-29

    10.8.1 (2024-10-29)

    🩹 Fixes

  • 10.8.0 - 2024-10-29

    10.8.0 (2024-10-29)

    🌟 Features

    🩹 Fixes

    📚 Documentation

    🧹 Chores

    • fix npm scripts on windows (#5219) (1173da0)
    • remove trailing whitespace in SECURITY.md (7563e59)
  • 10.7.3 - 2024-08-09

    10.7.3 (2024-08-09)

    🩹 Fixes

  • 10.7.0 - 2024-07-20
  • 10.6.1 - 2024-07-20
  • 10.6.0 - 2024-07-02
  • 10.5.2 - 2024-06-26
  • 10.5.1 - 2024-06-25
  • 10.5.0 - 2024-06-24
  • 10.4.0 - 2024-03-26
  • 10.3.0 - 2024-02-08
  • 10.3.0-preminor.0 - 2024-01-30
  • 10.2.0 - 2022-12-11
  • 10.1.0 - 2022-10-15
  • 10.0.0 - 2022-05-01
  • 9.2.2 - 2022-03-11
  • 9.2.1 - 2022-02-19
  • 9.2.0 - 2022-01-24
  • 9.1.4 - 2022-01-14
  • 9.1.3 - 2021-10-15
  • 9.1.2 - 2021-09-25
  • 9.1.1 - 2021-08-28
  • 9.1.0 - 2021-08-20
  • 9.0.3 - 2021-07-25
  • 9.0.2 - 2021-07-03
  • 9.0.1 - 2021-06-18
  • 9.0.0 - 2021-06-07
  • 8.4.0 - 2021-05-07
  • 8.3.2 - 2021-03-12
  • 8.3.1 - 2021-03-06
  • 8.3.0 - 2021-02-11
  • 8.2.1 - 2020-11-02
  • 8.2.0 - 2020-10-16
  • 8.1.3 - 2020-08-28
  • 8.1.2 - 2020-08-25
  • 8.1.1 - 2020-08-04
  • 8.1.0 - 2020-07-30
  • 8.0.1 - 2020-06-10
  • 8.0.0 - 2020-06-10
  • 7.2.0 - 2020-05-23
  • 7.1.2 - 2020-04-26
  • 7.1.1 - 2020-03-18
  • 7.1.0 - 2020-02-26
  • 7.0.1 - 2020-01-26
  • 7.0.0 - 2020-01-04
  • 7.0.0-esm1 - 2020-01-12
  • 6.2.3 - 2020-03-25
  • 6.2.2 - 2019-10-18
  • 6.2.1 - 2019-09-29
  • 6.2.0 - 2019-07-18
  • 6.1.4 - 2019-04-18
  • 6.1.3 - 2019-04-12
  • 6.1.2 - 2019-04-08
  • 6.1.1 - 2019-04-07
  • 6.1.0 - 2019-04-07
  • 6.0.2 - 2019-02-25
  • 6.0.1 - 2019-02-21
  • 6.0.0 - 2019-02-18
  • 6.0.0-1 - 2019-01-02
  • 6.0.0-0 - 2019-01-01
  • 5.2.0 - 2018-05-18
  • 5.1.1 - 2018-04-18
  • 5.1.0 - 2018-04-12
  • 5.0.5 - 2018-03-23
  • 5.0.4 - 2018-03-07
  • 5.0.3 - 2018-03-07
  • 5.0.2 - 2018-03-06
  • 5.0.1 - 2018-02-13
  • 5.0.0 - 2018-01-18
  • 4.1.0 - 2017-12-29
  • 4.0.1 - 2017-10-06
  • 4.0.0 - 2017-10-03
  • 3.5.3 - 2017-09-11
from mocha 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:

Summary by Sourcery

Upgrade Mocha testing dependency from version 3.5.3 to 11.2.0

Bug Fixes:

  • Resolves multiple security vulnerabilities across various dependencies

Enhancements:

  • Major version upgrade with potential new features and improvements

Snyk has created this PR to upgrade mocha from 3.5.3 to 11.2.0.

See this package in npm:
mocha

See this project in Snyk:
https://app.snyk.io/org/nerds-github/project/5c08c7f3-e081-4b45-bb54-aed4a1afcddf?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

sourcery-ai bot commented Apr 20, 2025

Reviewer's Guide by Sourcery

This pull request upgrades the mocha dependency from version 3.5.3 to version 11.2.0. The mocha version was updated in package.json.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
The pull request upgrades the mocha dependency from version 3.5.3 to version 11.2.0.
  • Updated the mocha version in package.json.
deps/v8/tools/clusterfuzz/js_fuzzer/package.json

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!
  • Generate a plan of action for an issue: Comment @sourcery-ai plan on
    an issue to generate a plan of action for it.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have skipped reviewing this pull request. Here's why:

  • It seems to have been created by a bot ('[Snyk]' found in title). We assume it knows what it's doing!
  • We don't review packaging changes - Let us know if you'd like us to change this.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants