This repository has been archived by the owner on Apr 24, 2022. It is now read-only.
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:
6.x || 7.x || 8.x
->6.x || 7.x || 8.x || 9.x
8.2.0
->9.2.2
Release Notes
mochajs/mocha
v9.2.2
Compare Source
🐛 Fixes
#4842: Loading of reporter throws wrong error (@juergba)
#4839:
dry-run
: prevent potential call-stack crash (@juergba)🔩 Other
v9.2.1
Compare Source
🐛 Fixes
#4832: Loading of config files throws wrong error (@juergba)
#4799: Reporter: configurable
maxDiffSize
reporter-option (@norla)v9.2.0
Compare Source
🎉 Enhancements
🔩 Other
v9.1.4
Compare Source
🐛 Fixes
import
throws wrong error if loader is used (@giltayar)🔩 Other
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.
v8.3.2
Compare Source
🐛 Fixes
require
interface (@alexander-fenster)📖 Documentation
v8.3.1
Compare Source
🐛 Fixes
EvalError
caused by regenerator-runtime (@snoack)import
from mocha in parallel mode (@nicojs)v8.3.0
Compare Source
🎉 Enhancements
🐛 Fixes
require
error when bundling Mocha with Webpack (@devhazem)📖 Documentation
🔩 Other
Also thanks to @outsideris and @HyunSangHan for various fixes to our website and documentation.
v8.2.1
Compare Source
Fixed stuff.
🐛 Fixes
Promise
rejections and erroneous "done()
called twice" errors (@boneskull)MaxListenersExceededWarning
in watch mode (@boneskull)Also thanks to @akeating for a documentation fix!
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 these updates again.
This PR has been generated by WhiteSource Renovate. View repository job log here.