Bump mocha from 5.2.0 to 9.0.3
Bumps mocha from 5.2.0 to 9.0.3.
Release notes
Sourced from mocha's releases.
v9.0.3
9.0.3 / 2021-07-25
:bug: 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.2
9.0.2 / 2021-07-03
:bug: Fixes
- #4668: ESM: make
--require <dir>work with newimport-first loading (@giltayar):nut_and_bolt: Other
v9.0.1
9.0.1 / 2021-06-18
:nut_and_bolt: 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.
- #4653: ESM: proper version check in
hasStableEsmImplementation(@alexander-fenster)v9.0.0
9.0.0 / 2021-06-07
:boom: 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 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.
... (truncated)
Changelog
Sourced from mocha's changelog.
9.0.3 / 2021-07-25
:bug: 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)9.0.2 / 2021-07-03
:bug: Fixes
- #4668: ESM: make
--require <dir>work with newimport-first loading (@giltayar):nut_and_bolt: Other
9.0.1 / 2021-06-18
:nut_and_bolt: 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.
- #4653: ESM: proper version check in
hasStableEsmImplementation(@alexander-fenster)9.0.0 / 2021-06-07
:boom: 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 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.
#4638: Limit the size of
actual/expectedfordiffgeneration (@juergba)#4389: Refactoring: Consuming log-symbols alternate to code for win32 in reporters/base (
@MoonSupport):tada: Enhancements
... (truncated)
Commits
e044ef0Release v9.0.38907601update CHANGELOG for v9.0.3 [ci skip]7313890Fix exception rethrow from js config file (#4702)3722201Fix: using custom interface in parallel mode (#4688)6830821ESM: fix swallowing MODULE_NOT_FOUND errors in case of type:module (#4687)5c59da0Release v9.0.20ce3528update CHANGELOG for v9.0.2 [ci skip]ff51a77Update production dependencies (#4674)21cda3eMake "-r <dir>" work with new import-first loading (#4668)f033ff1Fix: karma-mocha should run both browser bundles (#4663)- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by juergba, a new releaser for mocha since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.
You can always request more updates by clicking Bump now in your Dependabot dashboard.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -
@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language -
@dependabot badge mewill comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot dashboard:
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)