Skip to content

docs: update Node.js version requirements for 11.x #5329

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

JoshuaKGoldberg
Copy link
Member

PR Checklist

Overview

Updates in both the old site and the new.

@JoshuaKGoldberg JoshuaKGoldberg merged commit abf3dd9 into mochajs:main Apr 11, 2025
75 checks passed
@voxpelli voxpelli requested a review from Copilot June 12, 2025 07:52
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the documentation to reflect the new Node.js version requirements introduced in Mocha v11.0.0.

  • Updated the Node.js version requirements from v14.0.0 and v10.0.0 to ^18.18.0, ^20.9.0, or >=21.1.0 in the legacy docs.
  • Reflected the same changes in the new documentation site (docs-next).

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
docs/index.md Updated Node.js version requirement text and link reference.
docs-next/src/content/docs/getting-started.mdx Updated Node.js version requirement text for the getting started guide.
Comments suppressed due to low confidence (2)

docs/index.md:68

  • Ensure that the new Node.js version requirements accurately reflect both the feature compatibility and the official guidelines for Node.js releases, and consider adding a brief note referencing the change if necessary.
> As of v11.0.0, Mocha requires [Node.js](https://nodejs.org) `^18.18.0 || ^20.9.0 || >=21.1.0`.

docs-next/src/content/docs/getting-started.mdx:15

  • Verify that the update in the getting-started guide is consistent with the legacy documentation and any related examples or links to ensure users are directed to the correct Node.js version details.
As of v11.0.0, Mocha requires [Node.js](https://nodejs.org) `^18.18.0 || ^20.9.0 || >=21.1.0`.

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.

📝 Docs: Update stated Node.js version range
2 participants