Update dependency mocha to v10
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
mocha (source) | devDependencies | major | ^8.2.1 -> ^10.0.0 |
Release Notes
mochajs/mocha
v10.0.0
💥 Breaking Changes
-
#4863: Rename executable
bin/mocha
tobin/mocha.js
(@juergba) -
#4865:
--ignore
option in Windows: upgrade Minimatch (@juergba)
🔩 Other
-
#4876: Add Node.js v18 to CI test matrix (@outsideris)
-
#4852: Replace deprecated
String.prototype.substr()
(@CommanderRoot)
Also thanks to @ea2305 and @SukkaW for improvements to our documentation.
v9.2.2
🐛 Fixes
🔩 Other
v9.2.1
🐛 Fixes
-
#4832: Loading of config files throws wrong error (@juergba)
-
#4799: Reporter: configurable
maxDiffSize
reporter-option (@norla)
v9.2.0
🎉 Enhancements
🔩 Other
v9.1.4
🐛 Fixes
-
#4807:
import
throws wrong error if loader is used (@giltayar)
🔩 Other
- #4777: Add Node v17 to CI test matrix (@outsideris)
v9.1.3
🐛 Fixes
🔩 Other
-
#4764: Revert deprecation of
EVENT_SUITE_ADD_*
events (@beatfactor)
v9.1.2
🐛 Fixes
-
#4746: Browser: stop using all global vars in
browser-entry.js
(@PaperStrike)
🔩 Other
- #4754: Remove dependency wide-align (@juergba)
- #4736: ESM: remove code for Node versions <10 (@juergba)
v9.1.1
🐛 Fixes
-
#4623:
XUNIT
andJSON
reporter crash inparallel
mode (@curtisman)
v9.1.0
🎉 Enhancements
-
#4716: Add new option
--fail-zero
(@juergba) -
#4691: Add new option
--node-option
(@juergba) -
#4607: Add output option to
JSON
reporter (@dorny)
v9.0.3
🐛 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
🐛 Fixes
-
#4668: ESM: make
--require <dir>
work with newimport
-first loading (@giltayar)
🔩 Other
v9.0.1
🔩 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.
-
#4653: ESM: proper version check in
hasStableEsmImplementation
(@alexander-fenster)
v9.0.0
💥 Breaking Changes
-
#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 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.
-
#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
🐛 Fixes
🔩 Other
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.