Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.0Release Notes
mochajs/mocha
v9.1.3Compare Source
🐛 Fixes
bddES6 style import (@juergba)🔩 Other
EVENT_SUITE_ADD_*events (@beatfactor)v9.1.2Compare Source
🐛 Fixes
browser-entry.js(@PaperStrike)🔩 Other
v9.1.1Compare Source
🐛 Fixes
XUNITandJSONreporter crash inparallelmode (@curtisman)v9.1.0Compare Source
🎉 Enhancements
--fail-zero(@juergba)--node-option(@juergba)JSONreporter (@dorny)v9.0.3Compare 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_FOUNDerrors in case oftype:module(@giltayar)v9.0.2Compare Source
🐛 Fixes
--require <dir>work with newimport-first loading (@giltayar)🔩 Other
v9.0.1Compare Source
🔩 Other
We added a separate browser bundle
mocha-es2018.jsin 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.0Compare 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, asimportcan also load most files thatrequiredoes. 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/expectedfordiffgeneration (@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.0Compare Source
🎉 Enhancements
🐛 Fixes
📖 Documentation
options.requireto Mocha constructor forroot hookplugins on parallel runs (@juergba)top-level awaitand 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.