mochajs/mocha
### [`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.
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 this update again.
[ ] If you want to rebase/retry this PR, check this box.
This PR contains the following updates:
8.3.2
->9.0.0
Release Notes
mochajs/mocha
### [`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.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 this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.