Skip to content

Update dependency mocha to v11#202

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

Update dependency mocha to v11#202
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/mocha-11.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Dec 2, 2024

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
mocha (source) 6.2.311.7.6 age confidence

Release Notes

mochajs/mocha (mocha)

v11.7.6

Compare Source

🩹 Fixes
  • make describe().timeout() work (aafe6fd)
  • test: replace wmic usage with native Windows API (#​5694) (73ebdfa)
🧹 Chores

v11.7.5

Compare Source

🩹 Fixes
🧹 Chores

v11.7.4

Compare Source

🩹 Fixes
📚 Documentation
  • migrate remaining legacy wiki pages to main documentation (#​5465) (bff9166)
🧹 Chores

v11.7.3

Compare Source

🩹 Fixes
  • use original require() error for TS files if ERR_UNKNOWN_FILE_EXTENSION (#​5408) (ebdbc48)
📚 Documentation
🤖 Automation
  • deps: bump actions/setup-node in the github-actions group (#​5459) (48c6f40)

v11.7.2

Compare Source

🩹 Fixes
📚 Documentation
🧹 Chores
🤖 Automation
  • deps: bump actions/checkout in the github-actions group (#​5419) (03ac2d0)

v11.7.1

Compare Source

🩹 Fixes
🧹 Chores

v11.7.0

Compare Source

🌟 Features

v11.6.0

Compare Source

🌟 Features

v11.5.0

Compare Source

🌟 Features

v11.4.0

Compare Source

🌟 Features
📚 Documentation
  • added CHANGELOG.md note around 11.1 yargs-parser update (#​5362) (618415d)

v11.3.0

Compare Source

🌟 Features
📚 Documentation
🧹 Chores

v11.2.2

Compare Source

🩹 Fixes
📚 Documentation

v11.2.1

Compare Source

🩹 Fixes
📚 Documentation
🧹 Chores

v11.2.0

Compare Source

🌟 Features
📚 Documentation
🧹 Chores

v11.1.0

Compare Source

🌟 Features
  • bump yargs to 17 (#​5165) (8f1c8d8)
    • Note that this also included a version bump of yargs-parser from ^20.2.9 to ^21.1., which fixed a bug that caused extra quotes in file paths to be removed.
      See #​5341 for more information.
  • replace strip-ansi with util.stripVTControlCharacters (#​5267) (3c191c0), closes #​5265

v11.0.2

Compare Source

🩹 Fixes
  • catch exceptions setting Error.stackTraceLimit (#​5254) (259f8f8)
  • error handling for unexpected numeric arguments passed to cli (#​5263) (210d658)
📚 Documentation

v11.0.1

Compare Source

🌟 Features
📚 Documentation

v11.0.0

Compare Source

⚠ BREAKING CHANGES
  • adapt new engine range for Mocha 11 (#​5216)
🌟 Features
🩹 Fixes
📚 Documentation

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

🎉 Enhancements
🐛 Fixes
🔩 Other

v10.3.0

Compare Source

This is a stable release equivalent to 10.30.0-prerelease.

v10.2.0

Compare Source

🎉 Enhancements
🐛 Fixes
📖 Documentation

v10.1.0

Compare Source

🎉 Enhancements
🔩 Other

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

Note

PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Monday through Friday (* * * * 1-5)
  • 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-11.x branch from 653642b to 5c96d5d Compare December 7, 2024 21:08
@renovate renovate Bot force-pushed the renovate/mocha-11.x branch from 5c96d5d to 68ba279 Compare January 22, 2025 16:38
@renovate renovate Bot force-pushed the renovate/mocha-11.x branch from 68ba279 to 6b67c0c Compare May 1, 2025 20:41
@renovate renovate Bot force-pushed the renovate/mocha-11.x branch 3 times, most recently from 35e53f2 to 7a0f518 Compare May 19, 2025 15:01
@renovate renovate Bot force-pushed the renovate/mocha-11.x branch from 7a0f518 to 45efc64 Compare May 24, 2025 01:05
@renovate renovate Bot force-pushed the renovate/mocha-11.x branch from 45efc64 to 403dd51 Compare June 9, 2025 14:10
@renovate renovate Bot force-pushed the renovate/mocha-11.x branch 2 times, most recently from 6332923 to 8836448 Compare June 24, 2025 18:27
@renovate renovate Bot force-pushed the renovate/mocha-11.x branch from 8836448 to 342a5a3 Compare August 10, 2025 15:23
@renovate renovate Bot force-pushed the renovate/mocha-11.x branch from 342a5a3 to c99e93c Compare September 1, 2025 17:04
@renovate renovate Bot force-pushed the renovate/mocha-11.x branch from c99e93c to f7788c3 Compare September 16, 2025 19:14
@renovate renovate Bot force-pushed the renovate/mocha-11.x branch 2 times, most recently from 59b8a56 to f71680f Compare October 1, 2025 22:47
@renovate renovate Bot force-pushed the renovate/mocha-11.x branch from f71680f to 55ab9d0 Compare November 5, 2025 04:34
@renovate renovate Bot force-pushed the renovate/mocha-11.x branch from 55ab9d0 to d07e601 Compare November 18, 2025 13:35
@renovate renovate Bot force-pushed the renovate/mocha-11.x branch from d07e601 to 6bd4cf5 Compare January 23, 2026 21:17
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Jan 23, 2026

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

@renovate renovate Bot force-pushed the renovate/mocha-11.x branch from 6bd4cf5 to 9b9ec15 Compare February 9, 2026 17:25
@renovate renovate Bot force-pushed the renovate/mocha-11.x branch from 9b9ec15 to eece3fb Compare February 17, 2026 19:11
@renovate renovate Bot force-pushed the renovate/mocha-11.x branch from eece3fb to 1f8c61a Compare March 5, 2026 16:52
@ErisDS
Copy link
Copy Markdown
Member

ErisDS commented Mar 5, 2026

🤖 Velo CI Failure Analysis

Classification: 🟠 SOFT FAIL

  • Workflow: Test
  • Failed Step: Run yarn
  • Run: View failed run
    What failed: Incompatible Node.js version for the 'mocha' dependency
    Why: The error message indicates that the 'mocha' dependency requires a Node.js version of ^18.18.0 || ^20.9.0 || >=21.1.0, but the current version is 16.20.2. This is a code issue, as the project's dependencies are not compatible with the current Node.js version used in the CI environment.
    Action:
    Update the project's dependencies to be compatible with the current Node.js version, or update the Node.js version used in the CI environment to match the required version for the 'mocha' dependency.

@renovate renovate Bot force-pushed the renovate/mocha-11.x branch from 1f8c61a to 9ae4d29 Compare March 27, 2026 10:43
@renovate renovate Bot force-pushed the renovate/mocha-11.x branch from 9ae4d29 to e1001fc Compare April 8, 2026 16:33
@renovate renovate Bot force-pushed the renovate/mocha-11.x branch from e1001fc to abaec7b Compare April 29, 2026 17:54
@renovate renovate Bot force-pushed the renovate/mocha-11.x branch from abaec7b to e009c3c Compare May 12, 2026 14:30
@renovate renovate Bot force-pushed the renovate/mocha-11.x branch from e009c3c to 2236139 Compare May 21, 2026 12:11
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.

1 participant