[PR #610] [CLOSED] Bump mocha from 7.1.2 to 8.0.1 #1660

Closed
opened 2026-02-25 23:30:26 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/floccusaddon/floccus/pull/610
Author: @dependabot-preview[bot]
Created: 7/20/2020
Status: Closed

Base: developHead: dependabot/npm_and_yarn/mocha-8.0.1


📝 Commits (1)

  • b1b43e2 Bump mocha from 7.1.2 to 8.0.1

📊 Changes

2 files changed (+406 additions, -64 deletions)

View changed files

📝 package-lock.json (+405 -63)
📝 package.json (+1 -1)

📄 Description

Bumps mocha from 7.1.2 to 8.0.1.

Release notes

Sourced from mocha's releases.

v8.0.1

8.0.1 / 2020-06-10

The obligatory patch after a major.

🐛 Fixes

v8.0.0

8.0.0 / 2020-06-10

In this major release, Mocha adds the ability to run tests in parallel. Better late than never! Please note the breaking changes detailed below.

Let's welcome @giltayar and @nicojs to the maintenance team!

💥 Breaking Changes

  • #4164: Mocha v8.0.0 now requires Node.js v10.12.0 or newer. Mocha no longer supports the Node.js v8.x line ("Carbon"), which entered End-of-Life at the end of 2019 (@UlisesGascon)

  • #4175: Having been deprecated with a warning since v7.0.0, mocha.opts is no longer supported (@juergba)

    WORKAROUND: Replace mocha.opts with a configuration file.

  • #4260: Remove enableTimeout() (this.enableTimeout()) from the context object (@craigtaub)

    WORKAROUND: Replace usage of this.enableTimeout(false) in your tests with this.timeout(0).

  • #4315: The spec option no longer supports a comma-delimited list of files (@juergba)

    WORKAROUND: Use an array instead (e.g., "spec": "foo.js,bar.js" becomes "spec": ["foo.js", "bar.js"]).

  • #4309: Drop support for Node.js v13.x line, which is now End-of-Life (@juergba)

  • #4282: --forbid-only will throw an error even if exclusive tests are avoided via --grep or other means (@arvidOtt)

  • #4223: The context object's skip() (this.skip()) in a "before all" (before()) hook will no longer execute subsequent sibling hooks, in addition to hooks in child suites (@juergba)

  • #4178: Remove previously soft-deprecated APIs (@wnghdcjfe):

    • Mocha.prototype.ignoreLeaks()
    • Mocha.prototype.useColors()
    • Mocha.prototype.useInlineDiffs()
    • Mocha.prototype.hideDiff()

🎉 Enhancements

Changelog

Sourced from mocha's changelog.

8.0.1 / 2020-06-10

The obligatory patch after a major.

🐛 Fixes

8.0.0 / 2020-06-10

In this major release, Mocha adds the ability to run tests in parallel. Better late than never! Please note the breaking changes detailed below.

Let's welcome @giltayar and @nicojs to the maintenance team!

💥 Breaking Changes

  • #4164: Mocha v8.0.0 now requires Node.js v10.12.0 or newer. Mocha no longer supports the Node.js v8.x line ("Carbon"), which entered End-of-Life at the end of 2019 (@UlisesGascon)

  • #4175: Having been deprecated with a warning since v7.0.0, mocha.opts is no longer supported (@juergba)

    WORKAROUND: Replace mocha.opts with a configuration file.

  • #4260: Remove enableTimeout() (this.enableTimeout()) from the context object (@craigtaub)

    WORKAROUND: Replace usage of this.enableTimeout(false) in your tests with this.timeout(0).

  • #4315: The spec option no longer supports a comma-delimited list of files (@juergba)

    WORKAROUND: Use an array instead (e.g., "spec": "foo.js,bar.js" becomes "spec": ["foo.js", "bar.js"]).

  • #4309: Drop support for Node.js v13.x line, which is now End-of-Life (@juergba)

  • #4282: --forbid-only will throw an error even if exclusive tests are avoided via --grep or other means (@arvidOtt)

  • #4223: The context object's skip() (this.skip()) in a "before all" (before()) hook will no longer execute subsequent sibling hooks, in addition to hooks in child suites (@juergba)

  • #4178: Remove previously soft-deprecated APIs (@wnghdcjfe):

    • Mocha.prototype.ignoreLeaks()
    • Mocha.prototype.useColors()
    • Mocha.prototype.useInlineDiffs()
    • Mocha.prototype.hideDiff()

🎉 Enhancements

Commits
  • 9b203fa Release v8.0.1
  • ad8d83d update CHANGELOG for v8.0.1 [ci skip]
  • 66ce143 fix --parallel --watch; closes #4327
  • e0e6568 update release process in MAINTAINERS.md
  • fc618a1 Switch opencollective images to self-hosted spritesheet (#4318)
  • 612fa31 Release v8.0.0
  • 57fbbee update changelog for v8.0.0
  • 26c6cae options 'spec' and 'ignore': no splitting by comma
  • 2da50aa add a section regarding 3p reporters & parallel mode
  • dc26e90 disable parallel mode by default
  • Additional commits viewable in compare view

Dependabot compatibility score

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.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will 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 version will 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 dependency will 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 labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will 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)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/floccusaddon/floccus/pull/610 **Author:** [@dependabot-preview[bot]](https://github.com/apps/dependabot-preview) **Created:** 7/20/2020 **Status:** ❌ Closed **Base:** `develop` ← **Head:** `dependabot/npm_and_yarn/mocha-8.0.1` --- ### 📝 Commits (1) - [`b1b43e2`](https://github.com/floccusaddon/floccus/commit/b1b43e232e1297e3dc300fd4c1faf17316b35afd) Bump mocha from 7.1.2 to 8.0.1 ### 📊 Changes **2 files changed** (+406 additions, -64 deletions) <details> <summary>View changed files</summary> 📝 `package-lock.json` (+405 -63) 📝 `package.json` (+1 -1) </details> ### 📄 Description Bumps [mocha](https://github.com/mochajs/mocha) from 7.1.2 to 8.0.1. <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>v8.0.1</h2> <h1>8.0.1 / 2020-06-10</h1> <p>The obligatory patch after a major.</p> <h2>:bug: Fixes</h2> <ul> <li><a href="https://github-redirect.dependabot.com/mochajs/mocha/issues/4328">#4328</a>: Fix <code>--parallel</code> when combined with <code>--watch</code> (<a href="https://github.com/boneskull"><strong>@boneskull</strong></a>)</li> </ul> <h2>v8.0.0</h2> <h1>8.0.0 / 2020-06-10</h1> <p>In this major release, Mocha adds the ability to <em>run tests in parallel</em>. Better late than never! Please note the <strong>breaking changes</strong> detailed below.</p> <p>Let's welcome <a href="https://github.com/giltayar"><strong>@giltayar</strong></a> and <a href="https://github.com/nicojs"><strong>@nicojs</strong></a> to the maintenance team!</p> <h2>:boom: Breaking Changes</h2> <ul> <li> <p><a href="https://github-redirect.dependabot.com/mochajs/mocha/issues/4164">#4164</a>: <strong>Mocha v8.0.0 now requires Node.js v10.12.0 or newer.</strong> Mocha no longer supports the Node.js v8.x line (&quot;Carbon&quot;), which entered End-of-Life at the end of 2019 (<a href="https://github.com/UlisesGascon"><strong>@UlisesGascon</strong></a>)</p> </li> <li> <p><a href="https://github-redirect.dependabot.com/mochajs/mocha/issues/4175">#4175</a>: Having been deprecated with a warning since v7.0.0, <strong><code>mocha.opts</code> is no longer supported</strong> (<a href="https://github.com/juergba"><strong>@juergba</strong></a>)</p> <p>:sparkles: <strong>WORKAROUND:</strong> Replace <code>mocha.opts</code> with a <a href="https://mochajs.org/#configuring-mocha-nodejs">configuration file</a>.</p> </li> <li> <p><a href="https://github-redirect.dependabot.com/mochajs/mocha/issues/4260">#4260</a>: Remove <code>enableTimeout()</code> (<code>this.enableTimeout()</code>) from the context object (<a href="https://github.com/craigtaub"><strong>@craigtaub</strong></a>)</p> <p>:sparkles: <strong>WORKAROUND:</strong> Replace usage of <code>this.enableTimeout(false)</code> in your tests with <code>this.timeout(0)</code>.</p> </li> <li> <p><a href="https://github-redirect.dependabot.com/mochajs/mocha/issues/4315">#4315</a>: The <code>spec</code> option no longer supports a comma-delimited list of files (<a href="https://github.com/juergba"><strong>@juergba</strong></a>)</p> <p>:sparkles: <strong>WORKAROUND</strong>: Use an array instead (e.g., <code>&quot;spec&quot;: &quot;foo.js,bar.js&quot;</code> becomes <code>&quot;spec&quot;: [&quot;foo.js&quot;, &quot;bar.js&quot;]</code>).</p> </li> <li> <p><a href="https://github-redirect.dependabot.com/mochajs/mocha/issues/4309">#4309</a>: Drop support for Node.js v13.x line, which is now End-of-Life (<a href="https://github.com/juergba"><strong>@juergba</strong></a>)</p> </li> <li> <p><a href="https://github-redirect.dependabot.com/mochajs/mocha/issues/4282">#4282</a>: <code>--forbid-only</code> will throw an error even if exclusive tests are avoided via <code>--grep</code> or other means (<a href="https://github.com/arvidOtt"><strong>@arvidOtt</strong></a>)</p> </li> <li> <p><a href="https://github-redirect.dependabot.com/mochajs/mocha/issues/4223">#4223</a>: The context object's <code>skip()</code> (<code>this.skip()</code>) in a &quot;before all&quot; (<code>before()</code>) hook will no longer execute subsequent sibling hooks, in addition to hooks in child suites (<a href="https://github.com/juergba"><strong>@juergba</strong></a>)</p> </li> <li> <p><a href="https://github-redirect.dependabot.com/mochajs/mocha/issues/4178">#4178</a>: Remove previously soft-deprecated APIs (<a href="https://github.com/wnghdcjfe"><strong>@wnghdcjfe</strong></a>):</p> <ul> <li><code>Mocha.prototype.ignoreLeaks()</code></li> <li><code>Mocha.prototype.useColors()</code></li> <li><code>Mocha.prototype.useInlineDiffs()</code></li> <li><code>Mocha.prototype.hideDiff()</code></li> </ul> </li> </ul> <h2>:tada: Enhancements</h2> <ul> <li> <p><a href="https://github-redirect.dependabot.com/mochajs/mocha/issues/4245">#4245</a>: Add ability to run tests in parallel for Node.js (see <a href="https://mochajs.org/#parallel-tests">docs</a>) (<a href="https://github.com/boneskull"><strong>@boneskull</strong></a>)</p> <p>:exclamation: See also <a href="https://github-redirect.dependabot.com/mochajs/mocha/issues/4244">#4244</a>; <a href="https://mochajs.org/#root-hook-plugins">Root Hook Plugins (docs)</a> -- <em>root hooks must be defined via Root Hook Plugins to work in parallel mode</em></p> </li> </ul> <!-- raw HTML omitted --> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/mochajs/mocha/blob/master/CHANGELOG.md">mocha's changelog</a>.</em></p> <blockquote> <h1>8.0.1 / 2020-06-10</h1> <p>The obligatory patch after a major.</p> <h2>:bug: Fixes</h2> <ul> <li><a href="https://github-redirect.dependabot.com/mochajs/mocha/issues/4328">#4328</a>: Fix <code>--parallel</code> when combined with <code>--watch</code> (<a href="https://github.com/boneskull"><strong>@boneskull</strong></a>)</li> </ul> <h1>8.0.0 / 2020-06-10</h1> <p>In this major release, Mocha adds the ability to <em>run tests in parallel</em>. Better late than never! Please note the <strong>breaking changes</strong> detailed below.</p> <p>Let's welcome <a href="https://github.com/giltayar"><strong>@giltayar</strong></a> and <a href="https://github.com/nicojs"><strong>@nicojs</strong></a> to the maintenance team!</p> <h2>:boom: Breaking Changes</h2> <ul> <li> <p><a href="https://github-redirect.dependabot.com/mochajs/mocha/issues/4164">#4164</a>: <strong>Mocha v8.0.0 now requires Node.js v10.12.0 or newer.</strong> Mocha no longer supports the Node.js v8.x line (&quot;Carbon&quot;), which entered End-of-Life at the end of 2019 (<a href="https://github.com/UlisesGascon"><strong>@UlisesGascon</strong></a>)</p> </li> <li> <p><a href="https://github-redirect.dependabot.com/mochajs/mocha/issues/4175">#4175</a>: Having been deprecated with a warning since v7.0.0, <strong><code>mocha.opts</code> is no longer supported</strong> (<a href="https://github.com/juergba"><strong>@juergba</strong></a>)</p> <p>:sparkles: <strong>WORKAROUND:</strong> Replace <code>mocha.opts</code> with a <a href="https://mochajs.org/#configuring-mocha-nodejs">configuration file</a>.</p> </li> <li> <p><a href="https://github-redirect.dependabot.com/mochajs/mocha/issues/4260">#4260</a>: Remove <code>enableTimeout()</code> (<code>this.enableTimeout()</code>) from the context object (<a href="https://github.com/craigtaub"><strong>@craigtaub</strong></a>)</p> <p>:sparkles: <strong>WORKAROUND:</strong> Replace usage of <code>this.enableTimeout(false)</code> in your tests with <code>this.timeout(0)</code>.</p> </li> <li> <p><a href="https://github-redirect.dependabot.com/mochajs/mocha/issues/4315">#4315</a>: The <code>spec</code> option no longer supports a comma-delimited list of files (<a href="https://github.com/juergba"><strong>@juergba</strong></a>)</p> <p>:sparkles: <strong>WORKAROUND</strong>: Use an array instead (e.g., <code>&quot;spec&quot;: &quot;foo.js,bar.js&quot;</code> becomes <code>&quot;spec&quot;: [&quot;foo.js&quot;, &quot;bar.js&quot;]</code>).</p> </li> <li> <p><a href="https://github-redirect.dependabot.com/mochajs/mocha/issues/4309">#4309</a>: Drop support for Node.js v13.x line, which is now End-of-Life (<a href="https://github.com/juergba"><strong>@juergba</strong></a>)</p> </li> <li> <p><a href="https://github-redirect.dependabot.com/mochajs/mocha/issues/4282">#4282</a>: <code>--forbid-only</code> will throw an error even if exclusive tests are avoided via <code>--grep</code> or other means (<a href="https://github.com/arvidOtt"><strong>@arvidOtt</strong></a>)</p> </li> <li> <p><a href="https://github-redirect.dependabot.com/mochajs/mocha/issues/4223">#4223</a>: The context object's <code>skip()</code> (<code>this.skip()</code>) in a &quot;before all&quot; (<code>before()</code>) hook will no longer execute subsequent sibling hooks, in addition to hooks in child suites (<a href="https://github.com/juergba"><strong>@juergba</strong></a>)</p> </li> <li> <p><a href="https://github-redirect.dependabot.com/mochajs/mocha/issues/4178">#4178</a>: Remove previously soft-deprecated APIs (<a href="https://github.com/wnghdcjfe"><strong>@wnghdcjfe</strong></a>):</p> <ul> <li><code>Mocha.prototype.ignoreLeaks()</code></li> <li><code>Mocha.prototype.useColors()</code></li> <li><code>Mocha.prototype.useInlineDiffs()</code></li> <li><code>Mocha.prototype.hideDiff()</code></li> </ul> </li> </ul> <h2>:tada: Enhancements</h2> <ul> <li> <p><a href="https://github-redirect.dependabot.com/mochajs/mocha/issues/4245">#4245</a>: Add ability to run tests in parallel for Node.js (see <a href="https://mochajs.org/#parallel-tests">docs</a>) (<a href="https://github.com/boneskull"><strong>@boneskull</strong></a>)</p> <p>:exclamation: See also <a href="https://github-redirect.dependabot.com/mochajs/mocha/issues/4244">#4244</a>; <a href="https://mochajs.org/#root-hook-plugins">Root Hook Plugins (docs)</a> -- <em>root hooks must be defined via Root Hook Plugins to work in parallel mode</em></p> </li> <li> <p><a href="https://github-redirect.dependabot.com/mochajs/mocha/issues/4304">#4304</a>: <code>--require</code> now works with ES modules (<a href="https://github.com/JacobLey"><strong>@JacobLey</strong></a>)</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/mochajs/mocha/commit/9b203fa67c4f6a4e66f62d6962939981cb38e6f5"><code>9b203fa</code></a> Release v8.0.1</li> <li><a href="https://github.com/mochajs/mocha/commit/ad8d83dfeb01c98e04b10743a7b5e85a763641d5"><code>ad8d83d</code></a> update CHANGELOG for v8.0.1 [ci skip]</li> <li><a href="https://github.com/mochajs/mocha/commit/66ce143efab9b3dafabbbd223114422a3e38ae7d"><code>66ce143</code></a> fix --parallel --watch; closes <a href="https://github-redirect.dependabot.com/mochajs/mocha/issues/4327">#4327</a></li> <li><a href="https://github.com/mochajs/mocha/commit/e0e6568af45c326c9243612e0d28e3cb2b89c4b3"><code>e0e6568</code></a> update release process in MAINTAINERS.md</li> <li><a href="https://github.com/mochajs/mocha/commit/fc618a1d51cfa6d38ad31662d4ad90ba0c65cfcc"><code>fc618a1</code></a> Switch opencollective images to self-hosted spritesheet (<a href="https://github-redirect.dependabot.com/mochajs/mocha/issues/4318">#4318</a>)</li> <li><a href="https://github.com/mochajs/mocha/commit/612fa31228c695f16173ac675f40ccdf26b4cfb5"><code>612fa31</code></a> Release v8.0.0</li> <li><a href="https://github.com/mochajs/mocha/commit/57fbbeed30e3300c52728744e246ece9f9920253"><code>57fbbee</code></a> update changelog for v8.0.0</li> <li><a href="https://github.com/mochajs/mocha/commit/26c6cae67045f090dab68c3bbe97b7ffc5e1b6b2"><code>26c6cae</code></a> options 'spec' and 'ignore': no splitting by comma</li> <li><a href="https://github.com/mochajs/mocha/commit/2da50aa53d76cb111dbb5fe952bd0beb49f2e278"><code>2da50aa</code></a> add a section regarding 3p reporters &amp; parallel mode</li> <li><a href="https://github.com/mochajs/mocha/commit/dc26e903cc1630c08b349dbf7853527c27f5f2ed"><code>dc26e90</code></a> disable parallel mode by default</li> <li>Additional commits viewable in <a href="https://github.com/mochajs/mocha/compare/v7.1.2...v8.0.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=mocha&package-manager=npm_and_yarn&previous-version=7.1.2&new-version=8.0.1)](https://dependabot.com/compatibility-score/?dependency-name=mocha&package-manager=npm_and_yarn&previous-version=7.1.2&new-version=8.0.1) 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`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will 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 version` will 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 dependency` will 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 labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will 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](https://app.dependabot.com): - 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) </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 23:30:26 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/floccus#1660
No description provided.