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 mocha from 8.3.2 to 9.0.2 #2

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

Conversation

snyk-bot
Copy link
Contributor

Snyk has created this PR to upgrade mocha from 8.3.2 to 9.0.2.

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.


Warning: This is a major version upgrade, and may be a breaking change.

  • The recommended version is 4 versions ahead of your current version.
  • The recommended version was released a month ago, on 2021-07-03.
Release notes
Package name: mocha
  • 9.0.2 - 2021-07-03

    9.0.2 / 2021-07-03

    🐛 Fixes

    • #4668: ESM: make --require <dir> work with new import-first loading (@ giltayar)

    🔩 Other

  • 9.0.1 - 2021-06-18

    9.0.1 / 2021-06-18

    🔩 Other

    We added a separate browser bundle mocha-es2018.js in javascript ES2018, as we skipped the transpilation down to ES5. This is an experimental step towards freezing Mocha's support of IE11.

  • 9.0.0 - 2021-06-07

    9.0.0 / 2021-06-07

    💥 Breaking Changes

    Mocha is going ESM-first! This means that it will now use ESM import(test_file) to load the test files, instead of the CommonJS require(test_file). This is not a problem, as import can also load most files that require does. In the rare cases where this fails, it will fallback to require(...). This ESM-first approach is the next step in Mocha's ESM migration, and allows ESM loaders to load and transform the test file.

    • #4636: Remove deprecated utils.lookupFiles() (@ juergba)

    • #4638: Limit the size of actual/expected for diff generation (@ juergba)

    • #4389: Refactoring: Consuming log-symbols alternate to code for win32 in reporters/base (@ MoonSupport)

    🎉 Enhancements

    🐛 Fixes

    🔩 Other

  • 8.4.0 - 2021-05-07

    8.4.0 / 2021-05-07

    🎉 Enhancements

    🐛 Fixes

    📖 Documentation

    • #4630: Add options.require to Mocha constructor for root hook plugins on parallel runs (@ juergba)
    • #4617: Dynamically generating tests with top-level await and ESM test files (@ juergba)
    • #4608: Update default file extensions (@ outsideris)

    Also thanks to @ outsideris for various improvements on our GH actions workflows.

  • 8.3.2 - 2021-03-12

    8.3.2 / 2021-03-12

    🐛 Fixes

    📖 Documentation

from mocha GitHub release notes
Commit messages
Package name: mocha
  • 5c59da0 Release v9.0.2
  • 0ce3528 update CHANGELOG for v9.0.2 [ci skip]
  • ff51a77 Update production dependencies (#4674)
  • 21cda3e Make "-r <dir>" work with new import-first loading (#4668)
  • f033ff1 Fix: karma-mocha should run both browser bundles (#4663)
  • a068f1c GHA: don't run CI tests for 'push' events on tags (#4664)
  • dcad90a Release v9.0.1
  • 858b182 update CHANGELOG for v9.0.1 [ci skip]
  • c17dd8c Browser: add separate build in ES2018 (#4657)
  • b20f3c9 ESM: proper version check in hasStableEsmImplementation (#4653)
  • 8339c3d Release v9.0.0
  • 92518df update CHANGELOG for v9.0.0 [ci skip]
  • 7259a5b Update production dependencies (#4643)
  • 8212306 Add new option "--dry-run" (#4640)
  • 9872410 Deprecate "Runner(suite: Suite, delay: boolean)" (#4646)
  • a93d759 Limit the size of 'actual'/'expected' before generating diff (#4638)
  • 9b4435d Import-first loading of test files (#4635)
  • 1c4e623 Fix: control stringification of error message (#4128)
  • 1b5cbf1 Remove deprecated "utils.lookupFiles()" (#4636)
  • 356ecf4 GH actions: delete old workflow runs (#4637) [ci skip]
  • 7c3daea Consume log-symbols alternate to code for win32 in reporters/base (#4389)
  • 641970d Drop support of Node v10 (#4633)
  • 5064c28 Release v8.4.0
  • 9cbcc8b update CHANGELOG for v8.4.0 [ci skip]

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.

1 participant