chore(deps): update dependency mocha to v10 #7423
Merged
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
->^10.0.0
Release Notes
mochajs/mocha (mocha)
v10.2.0
Compare Source
π Enhancements
π Fixes
π Documentation
v10.1.0
Compare Source
π Enhancements
prefers-color-scheme: dark
(@βgreggman)π© Other
Promise.allSettled
instead of polyfill (@βoutsideris)clean
(@βyetingli)v10.0.0
Compare Source
π₯ Breaking Changes
#β4845: Drop Node.js v12.x support (@βjuergba)
#β4848: Drop Internet-Explorer-11 support (@βjuergba)
#β4857: Drop AMD/RequireJS support (@βjuergba)
#β4866: Drop Growl notification support (@βjuergba)
#β4863: Rename executable
bin/mocha
tobin/mocha.js
(@βjuergba)#β4865:
--ignore
option in Windows: upgrade Minimatch (@βjuergba)#β4861: Remove deprecated
Runner
signature (@βjuergba)π© Other
#β4878: Update production dependencies (@βjuergba)
#β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
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)Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - 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 Mend Renovate. View repository job log here.