Skip to content

Conversation

@caugner
Copy link
Contributor

@caugner caugner commented Dec 1, 2025

Description

Bumps Node.js from v22 to v24.

Motivation

Node.js 22 comes bundled with npm 10, which has a bug affecting translated-content that omits optional dependencies in the package-lock.json.

Specifically, autocorrect-node has separate optional dependencies for macOS (autocorrect-node-darwin-arm64) and Linux (e.g. autocorrect-node-linux-x64-gnu), but when running npm install on macOS, it omits the optional dependencies for other platforms. This issue is fixed in npm 11.

Also: Node.js v24 is the currently active LTS version.

Additional details

Related issues and pull requests

Part of mdn/mdn#772.

@caugner caugner requested a review from a team as a code owner December 1, 2025 16:23
@caugner caugner requested review from argl and removed request for a team December 1, 2025 16:23
@github-actions github-actions bot added the system Infrastructure and configuration for the project label Dec 1, 2025
@caugner
Copy link
Contributor Author

caugner commented Dec 1, 2025

(The test failure is unrelated, one file is not properly formatted, which will get fixed via one of the auto-fix PRs.)

@caugner caugner merged commit 8781868 into main Dec 1, 2025
11 of 12 checks passed
@caugner caugner deleted the node-24 branch December 1, 2025 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

system Infrastructure and configuration for the project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants