[Snyk] Upgrade mocha from 8.3.2 to 9.0.2 #2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade mocha from 8.3.2 to 9.0.2.
ℹ️ 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.
Release notes
Package name: mocha
9.0.2 / 2021-07-03
🐛 Fixes
--require <dir>
work with newimport
-first loading (@ giltayar)🔩 Other
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.hasStableEsmImplementation
(@ alexander-fenster)9.0.0 / 2021-06-07
💥 Breaking Changes
#4633: Drop Node.js v10.x support (@ juergba)
#4635:
import
-first loading of test files (@ giltayar)Mocha is going ESM-first! This means that it will now use ESM
import(test_file)
to load the test files, instead of the CommonJSrequire(test_file)
. This is not a problem, asimport
can also load most files thatrequire
does. In the rare cases where this fails, it will fallback torequire(...)
. 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
fordiff
generation (@ juergba)#4389: Refactoring: Consuming log-symbols alternate to code for win32 in reporters/base (@ MoonSupport)
🎉 Enhancements
--dry-run
(@ juergba)🐛 Fixes
🔩 Other
Runner(suite: Suite, delay: boolean)
signature (@ juergba)8.4.0 / 2021-05-07
🎉 Enhancements
🐛 Fixes
📖 Documentation
options.require
to Mocha constructor forroot hook
plugins on parallel runs (@ juergba)top-level await
and ESM test files (@ juergba)Also thanks to @ outsideris for various improvements on our GH actions workflows.
8.3.2 / 2021-03-12
🐛 Fixes
require
interface (@ alexander-fenster)📖 Documentation
Commit messages
Package name: mocha
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