Skip to content

chore(deps): update dependency mocha to v10#219

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/mocha-10.x
Open

chore(deps): update dependency mocha to v10#219
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/mocha-10.x

Conversation

@renovate

@renovate renovate Bot commented May 6, 2022

Copy link
Copy Markdown
Contributor

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
mocha (source) 5.2.010.8.2 age confidence

Release Notes

mochajs/mocha (mocha)

v10.8.2

Compare Source

🩹 Fixes
📚 Documentation
  • indicate 'exports' interface does not work in browsers (#​5181) (14e640e)
🧹 Chores
  • fix docs builds by re-adding eleventy and ignoring gitignore again (#​5240) (881e3b0)
🤖 Automation

v10.8.1

Compare Source

🩹 Fixes

v10.8.0

Compare Source

🌟 Features
🩹 Fixes
📚 Documentation
🧹 Chores

v10.7.3

Compare Source

🩹 Fixes

v10.7.0

Compare Source

🎉 Enhancements

v10.6.1

Compare Source

🐛 Fixes

v10.6.0

Compare Source

🎉 Enhancements

v10.5.2

Compare Source

🐛 Fixes

v10.5.1

Compare Source

🐛 Fixes

v10.5.0

Compare Source

🎉 Enhancements
🐛 Fixes
🔩 Other

v10.4.0

Compare Source

⚠ BREAKING CHANGES
  • remove bin/_mocha and convert bin/ and entry points to ESM (#​6017)
🌟 Features
  • remove bin/_mocha and convert bin/ and entry points to ESM (#​6017) (930972a)
🩹 Fixes
🧹 Chores
🤖 Automation
  • deps: bump joelwmale/webhook-action in the github-actions group (#​6032) (75c618d)

v10.3.0

Compare Source

⚠ BREAKING CHANGES
  • remove unused legacy errors.js functions (#​5835)
🩹 Fixes
📚 Documentation
🧹 Chores

v10.2.0

Compare Source

🩹 Fixes
📚 Documentation
🧹 Chores

v10.1.0

Compare Source

🩹 Fixes
  • deps: update dependency workerpool to v10 (#​5751) (96a4768)
  • use semver dot separator for beta pre-release versions (beta-X → beta.X) (#​5764) (5574738)
📚 Documentation
🧹 Chores
🤖 Automation
  • deps: bump codecov/codecov-action in the github-actions group (#​5832) (525b50a)
  • deps: bump OctoGuide/bot in the github-actions group (#​5791) (fb6bfd6)

v10.0.0

Compare Source

💥 Breaking Changes
🔩 Other

Also thanks to @​ea2305 and @​SukkaW for improvements to our documentation.

v9.2.2

Compare Source

🐛 Fixes
🔩 Other

v9.2.1

Compare Source

🐛 Fixes

v9.2.0

Compare Source

🌟 Features

v9.1.4

Compare Source

🐛 Fixes
🔩 Other

v9.1.3

Compare Source

🐛 Fixes
🔩 Other

v9.1.2

Compare Source

🐛 Fixes
🔩 Other

v9.1.1

Compare Source

🐛 Fixes

v9.1.0

Compare Source

🎉 Enhancements

v9.0.3

Compare Source

🐛 Fixes

v9.0.2

Compare Source

🐛 Fixes
🔩 Other

v9.0.1

Compare Source

🔩 Other

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.

v9.0.0

Compare Source

💥 Breaking Changes

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.

🎉 Enhancements
🐛 Fixes
🔩 Other

v8.4.0

Compare Source

🎉 Enhancements
🐛 Fixes
📖 Documentation

Also thanks to @​outsideris for various improvements on our GH actions workflows.

v8.3.2

Compare Source

🐛 Fixes
📖 Documentation

v8.3.1

Compare Source

🐛 Fixes

v8.3.0

Compare Source

🎉 Enhancements
🐛 Fixes
📖 Documentation
🔩 Other

Also thanks to @​outsideris and @​HyunSangHan for various fixes to our website and documentation.

v8.2.1

Compare Source

Fixed stuff.

🐛 Fixes
  • #​4489: Fix problematic handling of otherwise-unhandled Promise rejections and erroneous "done() called twice" errors (@​boneskull)
  • #​4496: Avoid MaxListenersExceededWarning in watch mode (@​boneskull)

Also thanks to @​akeating for a documentation fix!

v8.2.0

Compare Source

The major feature added in v8.2.0 is addition of support for global fixtures.

While Mocha has always had the ability to run setup and teardown via a hook (e.g., a before() at the top level of a test file) when running tests in serial, Mocha v8.0.0 added support for parallel runs. Parallel runs are incompatible with this strategy; e.g., a top-level before() would only run for the file in which it was defined.

With global fixtures, Mocha can now perform user-defined setup and teardown regardless of mode, and these fixtures are guaranteed to run once and only once. This holds for parallel mode, serial mode, and even "watch" mode (the teardown will run once you hit Ctrl-C, just before Mocha finally exits). Tasks such as starting and stopping servers are well-suited to global fixtures, but not sharing resources--global fixtures do not share context with your test files (but they do share context with each other).

Here's a short example of usage:

// fixtures.js

// can be async or not
exports.mochaGlobalSetup = async function () {
  this.server = await startSomeServer({port: process.env.TEST_PORT});
  console.log(`server running on port ${this.server.port}`);
};

exports.mochaGlobalTeardown = async function () {
  // the context (`this`) is shared, but not with the test files
  await this.server.stop();
  console.log(`server on port ${this.server.port} stopped`);
};

// this file can contain root hook plugins as well!
// exports.mochaHooks = { ... }

Fixtures are loaded with --require, e.g., mocha --require fixtures.js.

For detailed information, please see the documentation and this handy-dandy flowchart to help understand the differences between hooks, root hook plugins, and global fixtures (and when you should use each).

🎉 Enhancements

For implementors of custom reporters:

  • #​4409: Parallel mode and custom reporter improvements (@​boneskull):
    • Support custom worker-process-only reporters (Runner.prototype.workerReporter()); reporters should subclass ParallelBufferedReporter in mocha/lib/nodejs/reporters/parallel-buffered
    • Allow opt-in of object reference matching for "sufficiently advanced" custom reporters (Runner.prototype.linkPartialObjects()); use if strict object equality is needed when consuming Runner event data
    • Enable

Note

PR body was truncated to here.


Configuration

📅 Schedule: (in timezone Europe/Paris)

  • Branch creation
    • "after 4pm on friday,before 9am on monday,every weekend"
  • Automerge
    • 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 was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/mocha-10.x branch from 6a81457 to 29a87d3 Compare September 25, 2022 15:32
@renovate
renovate Bot force-pushed the renovate/mocha-10.x branch from 29a87d3 to 6eee799 Compare March 24, 2023 23:39
@renovate
renovate Bot force-pushed the renovate/mocha-10.x branch from 6eee799 to 6aef76f Compare February 9, 2024 17:01
@renovate
renovate Bot force-pushed the renovate/mocha-10.x branch from 6aef76f to 7dcba02 Compare March 29, 2024 16:15
@renovate
renovate Bot force-pushed the renovate/mocha-10.x branch from 7dcba02 to 53ecd7c Compare June 28, 2024 15:43
@renovate
renovate Bot force-pushed the renovate/mocha-10.x branch from 53ecd7c to e17b669 Compare July 5, 2024 17:08
@renovate
renovate Bot force-pushed the renovate/mocha-10.x branch from e17b669 to b825bb8 Compare July 20, 2024 20:20
@renovate
renovate Bot force-pushed the renovate/mocha-10.x branch from b825bb8 to eda9dac Compare August 9, 2024 17:23
@renovate
renovate Bot force-pushed the renovate/mocha-10.x branch from eda9dac to 1331bee Compare November 2, 2024 20:43
@renovate
renovate Bot force-pushed the renovate/mocha-10.x branch from 1331bee to 9ab0e40 Compare August 10, 2025 15:44
@renovate
renovate Bot force-pushed the renovate/mocha-10.x branch 2 times, most recently from 7659c3f to 9cebc21 Compare October 3, 2025 14:36
@renovate
renovate Bot force-pushed the renovate/mocha-10.x branch from 9cebc21 to 31bff9d Compare October 3, 2025 18:32
@renovate
renovate Bot force-pushed the renovate/mocha-10.x branch from 31bff9d to bb74e5e Compare November 14, 2025 21:07
@renovate
renovate Bot force-pushed the renovate/mocha-10.x branch from bb74e5e to fb2077a Compare January 23, 2026 15:41
@renovate
renovate Bot force-pushed the renovate/mocha-10.x branch from fb2077a to e774586 Compare March 6, 2026 15:19
@renovate
renovate Bot force-pushed the renovate/mocha-10.x branch from e774586 to 231e0f5 Compare April 3, 2026 14:52
@codacy-production

codacy-production Bot commented Apr 3, 2026

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 duplication

Metric Results
Duplication 0

View in Codacy

TIP This summary will be updated as you push new changes.

@renovate
renovate Bot force-pushed the renovate/mocha-10.x branch from 231e0f5 to bb373cd Compare May 1, 2026 15:44
@renovate
renovate Bot force-pushed the renovate/mocha-10.x branch 2 times, most recently from 01199ef to 01ab495 Compare June 5, 2026 16:36
@renovate
renovate Bot force-pushed the renovate/mocha-10.x branch from 01ab495 to 411222f Compare July 12, 2026 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants