mochajs/mocha
### [`v9.0.1`](https://togithub.com/mochajs/mocha/blob/master/CHANGELOG.md#901--2021-06-18)
[Compare Source](https://togithub.com/mochajs/mocha/compare/v9.0.0...v9.0.1)
#### :nut_and_bolt: Other
- [#4657](https://togithub.com/mochajs/mocha/issues/4657): Browser: add separate bundle for modern browsers ([**@juergba**](https://togithub.com/juergba))
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](https://togithub.com/mochajs/mocha/issues/4653): ESM: proper version check in `hasStableEsmImplementation` ([**@alexander-fenster**](https://togithub.com/alexander-fenster))
### [`v9.0.0`](https://togithub.com/mochajs/mocha/blob/master/CHANGELOG.md#900--2021-06-07)
[Compare Source](https://togithub.com/mochajs/mocha/compare/v8.4.0...v9.0.0)
#### :boom: Breaking Changes
- [#4633](https://togithub.com/mochajs/mocha/issues/4633): **Drop Node.js v10.x support** ([**@juergba**](https://togithub.com/juergba))
- [#4635](https://togithub.com/mochajs/mocha/issues/4635): `import`-first loading of test files ([**@giltayar**](https://togithub.com/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.
- [#4636](https://togithub.com/mochajs/mocha/issues/4636): Remove deprecated `utils.lookupFiles()` ([**@juergba**](https://togithub.com/juergba))
- [#4638](https://togithub.com/mochajs/mocha/issues/4638): Limit the size of `actual`/`expected` for `diff` generation ([**@juergba**](https://togithub.com/juergba))
- [#4389](https://togithub.com/mochajs/mocha/issues/4389): Refactoring: Consuming log-symbols alternate to code for win32 in reporters/base ([**@MoonSupport**](https://togithub.com/MoonSupport))
#### :tada: Enhancements
- [#4640](https://togithub.com/mochajs/mocha/issues/4640): Add new option `--dry-run` ([**@juergba**](https://togithub.com/juergba))
#### :bug: Fixes
- [#4128](https://togithub.com/mochajs/mocha/issues/4128): Fix: control stringification of error message ([**@syeutyu**](https://togithub.com/syeutyu))
#### :nut_and_bolt: Other
- [#4646](https://togithub.com/mochajs/mocha/issues/4646): Deprecate `Runner(suite: Suite, delay: boolean)` signature ([**@juergba**](https://togithub.com/juergba))
- [#4643](https://togithub.com/mochajs/mocha/issues/4643): Update production dependencies ([**@juergba**](https://togithub.com/juergba))
### [`v8.4.0`](https://togithub.com/mochajs/mocha/blob/master/CHANGELOG.md#840--2021-05-07)
[Compare Source](https://togithub.com/mochajs/mocha/compare/v8.3.2...v8.4.0)
#### :tada: Enhancements
- [#4502](https://togithub.com/mochajs/mocha/issues/4502): CLI file parsing errors now have error codes ([**@evaline-ju**](https://togithub.com/evaline-ju))
#### :bug: Fixes
- [#4614](https://togithub.com/mochajs/mocha/issues/4614): Watch: fix crash when reloading files ([**@outsideris**](https://togithub.com/outsideris))
#### :book: Documentation
- [#4630](https://togithub.com/mochajs/mocha/issues/4630): Add `options.require` to Mocha constructor for `root hook` plugins on parallel runs ([**@juergba**](https://togithub.com/juergba))
- [#4617](https://togithub.com/mochajs/mocha/issues/4617): Dynamically generating tests with `top-level await` and ESM test files ([**@juergba**](https://togithub.com/juergba))
- [#4608](https://togithub.com/mochajs/mocha/issues/4608): Update default file extensions ([**@outsideris**](https://togithub.com/outsideris))
Also thanks to [**@outsideris**](https://togithub.com/outsideris) for various improvements on our GH actions workflows.
### [`v8.3.2`](https://togithub.com/mochajs/mocha/blob/master/CHANGELOG.md#832--2021-03-12)
[Compare Source](https://togithub.com/mochajs/mocha/compare/v8.3.1...v8.3.2)
#### :bug: Fixes
- [#4599](https://togithub.com/mochajs/mocha/issues/4599): Fix regression in `require` interface ([**@alexander-fenster**](https://togithub.com/alexander-fenster))
#### :book: Documentation
- [#4601](https://togithub.com/mochajs/mocha/issues/4601): Add build to GH actions run ([**@christian-bromann**](https://togithub.com/christian-bromann))
- [#4596](https://togithub.com/mochajs/mocha/issues/4596): Filter active sponsors/backers ([**@juergba**](https://togithub.com/juergba))
- [#4225](https://togithub.com/mochajs/mocha/issues/4225): Update config file examples ([**@pkuczynski**](https://togithub.com/pkuczynski))
### [`v8.3.1`](https://togithub.com/mochajs/mocha/blob/master/CHANGELOG.md#831--2021-03-06)
[Compare Source](https://togithub.com/mochajs/mocha/compare/v8.3.0...v8.3.1)
#### :bug: Fixes
- [#4577](https://togithub.com/mochajs/mocha/issues/4577): Browser: fix `EvalError` caused by regenerator-runtime ([**@snoack**](https://togithub.com/snoack))
- [#4574](https://togithub.com/mochajs/mocha/issues/4574): ESM: allow `import` from mocha in parallel mode ([**@nicojs**](https://togithub.com/nicojs))
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled due to failing status checks.
â™» 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.
[ ] If you want to rebase/retry this PR, check this box.
This PR contains the following updates:
^8.3.0
->^9.0.0
Release Notes
mochajs/mocha
### [`v9.0.1`](https://togithub.com/mochajs/mocha/blob/master/CHANGELOG.md#901--2021-06-18) [Compare Source](https://togithub.com/mochajs/mocha/compare/v9.0.0...v9.0.1) #### :nut_and_bolt: Other - [#4657](https://togithub.com/mochajs/mocha/issues/4657): Browser: add separate bundle for modern browsers ([**@juergba**](https://togithub.com/juergba)) 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](https://togithub.com/mochajs/mocha/issues/4653): ESM: proper version check in `hasStableEsmImplementation` ([**@alexander-fenster**](https://togithub.com/alexander-fenster)) ### [`v9.0.0`](https://togithub.com/mochajs/mocha/blob/master/CHANGELOG.md#900--2021-06-07) [Compare Source](https://togithub.com/mochajs/mocha/compare/v8.4.0...v9.0.0) #### :boom: Breaking Changes - [#4633](https://togithub.com/mochajs/mocha/issues/4633): **Drop Node.js v10.x support** ([**@juergba**](https://togithub.com/juergba)) - [#4635](https://togithub.com/mochajs/mocha/issues/4635): `import`-first loading of test files ([**@giltayar**](https://togithub.com/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. - [#4636](https://togithub.com/mochajs/mocha/issues/4636): Remove deprecated `utils.lookupFiles()` ([**@juergba**](https://togithub.com/juergba)) - [#4638](https://togithub.com/mochajs/mocha/issues/4638): Limit the size of `actual`/`expected` for `diff` generation ([**@juergba**](https://togithub.com/juergba)) - [#4389](https://togithub.com/mochajs/mocha/issues/4389): Refactoring: Consuming log-symbols alternate to code for win32 in reporters/base ([**@MoonSupport**](https://togithub.com/MoonSupport)) #### :tada: Enhancements - [#4640](https://togithub.com/mochajs/mocha/issues/4640): Add new option `--dry-run` ([**@juergba**](https://togithub.com/juergba)) #### :bug: Fixes - [#4128](https://togithub.com/mochajs/mocha/issues/4128): Fix: control stringification of error message ([**@syeutyu**](https://togithub.com/syeutyu)) #### :nut_and_bolt: Other - [#4646](https://togithub.com/mochajs/mocha/issues/4646): Deprecate `Runner(suite: Suite, delay: boolean)` signature ([**@juergba**](https://togithub.com/juergba)) - [#4643](https://togithub.com/mochajs/mocha/issues/4643): Update production dependencies ([**@juergba**](https://togithub.com/juergba)) ### [`v8.4.0`](https://togithub.com/mochajs/mocha/blob/master/CHANGELOG.md#840--2021-05-07) [Compare Source](https://togithub.com/mochajs/mocha/compare/v8.3.2...v8.4.0) #### :tada: Enhancements - [#4502](https://togithub.com/mochajs/mocha/issues/4502): CLI file parsing errors now have error codes ([**@evaline-ju**](https://togithub.com/evaline-ju)) #### :bug: Fixes - [#4614](https://togithub.com/mochajs/mocha/issues/4614): Watch: fix crash when reloading files ([**@outsideris**](https://togithub.com/outsideris)) #### :book: Documentation - [#4630](https://togithub.com/mochajs/mocha/issues/4630): Add `options.require` to Mocha constructor for `root hook` plugins on parallel runs ([**@juergba**](https://togithub.com/juergba)) - [#4617](https://togithub.com/mochajs/mocha/issues/4617): Dynamically generating tests with `top-level await` and ESM test files ([**@juergba**](https://togithub.com/juergba)) - [#4608](https://togithub.com/mochajs/mocha/issues/4608): Update default file extensions ([**@outsideris**](https://togithub.com/outsideris)) Also thanks to [**@outsideris**](https://togithub.com/outsideris) for various improvements on our GH actions workflows. ### [`v8.3.2`](https://togithub.com/mochajs/mocha/blob/master/CHANGELOG.md#832--2021-03-12) [Compare Source](https://togithub.com/mochajs/mocha/compare/v8.3.1...v8.3.2) #### :bug: Fixes - [#4599](https://togithub.com/mochajs/mocha/issues/4599): Fix regression in `require` interface ([**@alexander-fenster**](https://togithub.com/alexander-fenster)) #### :book: Documentation - [#4601](https://togithub.com/mochajs/mocha/issues/4601): Add build to GH actions run ([**@christian-bromann**](https://togithub.com/christian-bromann)) - [#4596](https://togithub.com/mochajs/mocha/issues/4596): Filter active sponsors/backers ([**@juergba**](https://togithub.com/juergba)) - [#4225](https://togithub.com/mochajs/mocha/issues/4225): Update config file examples ([**@pkuczynski**](https://togithub.com/pkuczynski)) ### [`v8.3.1`](https://togithub.com/mochajs/mocha/blob/master/CHANGELOG.md#831--2021-03-06) [Compare Source](https://togithub.com/mochajs/mocha/compare/v8.3.0...v8.3.1) #### :bug: Fixes - [#4577](https://togithub.com/mochajs/mocha/issues/4577): Browser: fix `EvalError` caused by regenerator-runtime ([**@snoack**](https://togithub.com/snoack)) - [#4574](https://togithub.com/mochajs/mocha/issues/4574): ESM: allow `import` from mocha in parallel mode ([**@nicojs**](https://togithub.com/nicojs))Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled due to failing status checks.
â™» 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.