Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
5735: chore(deps-dev): bump mocha from 8.4.0 to 9.0.0 r=jniles a=dependabot[bot] Bumps [mocha](https://github.com/mochajs/mocha) from 8.4.0 to 9.0.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/mochajs/mocha/releases">mocha's releases</a>.</em></p> <blockquote> <h2>v9.0.0</h2> <h1>9.0.0 / 2021-06-07</h1> <h2>:boom: Breaking Changes</h2> <ul> <li> <p><a href="https://github-redirect.dependabot.com/mochajs/mocha/issues/4633">#4633</a>: <strong>Drop Node.js v10.x support</strong> (<a href="https://github.com/juergba"><strong><code>@juergba</code></strong></a>)</p> </li> <li> <p><a href="https://github-redirect.dependabot.com/mochajs/mocha/issues/4635">#4635</a>: <code>import</code>-first loading of test files (<a href="https://github.com/giltayar"><strong><code>@giltayar</code></strong></a>)</p> </li> </ul> <p><strong>Mocha is going ESM-first!</strong> This means that it will now use ESM <code>import(test_file)</code> to load the test files, instead of the CommonJS <code>require(test_file)</code>. This is not a problem, as <code>import</code> can also load most files that <code>require</code> does. In the rare cases where this fails, it will fallback to <code>require(...)</code>. This ESM-first approach is the next step in Mocha's ESM migration, and allows ESM loaders to load and transform the test file.</p> <ul> <li> <p><a href="https://github-redirect.dependabot.com/mochajs/mocha/issues/4636">#4636</a>: Remove deprecated <code>utils.lookupFiles()</code> (<a href="https://github.com/juergba"><strong><code>@juergba</code></strong></a>)</p> </li> <li> <p><a href="https://github-redirect.dependabot.com/mochajs/mocha/issues/4638">#4638</a>: Limit the size of <code>actual</code>/<code>expected</code> for <code>diff</code> generation (<a href="https://github.com/juergba"><strong><code>@juergba</code></strong></a>)</p> </li> <li> <p><a href="https://github-redirect.dependabot.com/mochajs/mocha/issues/4389">#4389</a>: Refactoring: Consuming log-symbols alternate to code for win32 in reporters/base (<a href="https://github.com/MoonSupport"><strong><code>@MoonSupport</code></strong></a>)</p> </li> </ul> <h2>:tada: Enhancements</h2> <ul> <li><a href="https://github-redirect.dependabot.com/mochajs/mocha/issues/4640">#4640</a>: Add new option <code>--dry-run</code> (<a href="https://github.com/juergba"><strong><code>@juergba</code></strong></a>)</li> </ul> <h2>:bug: Fixes</h2> <ul> <li><a href="https://github-redirect.dependabot.com/mochajs/mocha/issues/4128">#4128</a>: Fix: control stringification of error message (<a href="https://github.com/syeutyu"><strong><code>@syeutyu</code></strong></a>)</li> </ul> <h2>:nut_and_bolt: Other</h2> <ul> <li><a href="https://github-redirect.dependabot.com/mochajs/mocha/issues/4646">#4646</a>: Deprecate <code>Runner(suite: Suite, delay: boolean)</code> signature (<a href="https://github.com/juergba"><strong><code>@juergba</code></strong></a>)</li> <li><a href="https://github-redirect.dependabot.com/mochajs/mocha/issues/4643">#4643</a>: Update production dependencies (<a href="https://github.com/juergba"><strong><code>@juergba</code></strong></a>)</li> </ul> </blockquote> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information