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.
This PR contains the following updates:
^8.3.2
->^9.0.0
Release Notes
mochajs/mocha
v9.1.3
Compare Source
🐛 Fixes
bdd
ES6 style import (@juergba)🔩 Other
EVENT_SUITE_ADD_*
events (@beatfactor)v9.1.2
Compare Source
🐛 Fixes
browser-entry.js
(@PaperStrike)🔩 Other
v9.1.1
Compare Source
🐛 Fixes
XUNIT
andJSON
reporter crash inparallel
mode (@curtisman)v9.1.0
Compare Source
🎉 Enhancements
--fail-zero
(@juergba)--node-option
(@juergba)JSON
reporter (@dorny)v9.0.3
Compare Source
🐛 Fixes
#4702: Error rethrow from cwd-relative path while loading
.mocharc.js
(@kirill-golovan)#4688: Usage of custom interface in parallel mode (@juergba)
#4687: ESM: don't swallow
MODULE_NOT_FOUND
errors in case oftype:module
(@giltayar)v9.0.2
Compare Source
🐛 Fixes
--require <dir>
work with newimport
-first loading (@giltayar)🔩 Other
v9.0.1
Compare Source
🔩 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)v9.0.0
Compare Source
💥 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)v8.4.0
Compare Source
🎉 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.
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.