Skip to content

chore: bump minimum Node.js version from 20.0 to 20.19#11826

Open
yangshun wants to merge 2 commits intofacebook:mainfrom
yangshun:ys/node
Open

chore: bump minimum Node.js version from 20.0 to 20.19#11826
yangshun wants to merge 2 commits intofacebook:mainfrom
yangshun:ys/node

Conversation

@yangshun
Copy link
Contributor

@yangshun yangshun commented Mar 21, 2026

Summary

  • Bump minimum Node.js version from 20.0 to 20.19 across the entire repo
  • Oxfmt requires Node.js >= 20.19.0, which was causing CI failures on the 20.0 matrix entry

I'm bumping to 20.19 first as the minimum version so we can proceed with other tooling upgrade work

Changes

  • CI workflows: Updated Node matrix entry 20.020.19 in tests.yml, tests-e2e.yml, tests-windows.yml
  • Documentation: Updated version references in installation.mdx, example intro.md files, and template docs
  • Package engines: Updated "node": ">=20.0"">=20.19" in all 40 package.json files

Test plan

  • CI passes on all Node version matrix entries
  • Verify grep -r '">=20.0"' --include='package.json' returns no results

🤖 Generated with Claude Code

Oxfmt requires Node.js >= 20.19.0. Update CI matrices, documentation,
and engines fields across all packages.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@meta-cla meta-cla bot added the CLA Signed Signed Facebook CLA label Mar 21, 2026
@socket-security
Copy link

socket-security bot commented Mar 21, 2026

@socket-security
Copy link

socket-security bot commented Mar 21, 2026

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
Obfuscated code: npm entities is 91.0% likely obfuscated

Confidence: 0.91

Location: Package overview

From: ?npm/@docusaurus/preset-classic@3.9.2npm/@docusaurus/core@3.9.2npm/entities@4.5.0

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/entities@4.5.0. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
Obfuscated code: npm entities is 91.0% likely obfuscated

Confidence: 0.91

Location: Package overview

From: ?npm/@docusaurus/preset-classic@3.9.2npm/@docusaurus/core@3.9.2npm/entities@6.0.1

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/entities@6.0.1. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

The versioned doc reflects the requirement at the time of that release
and should not be updated.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@netlify
Copy link

netlify bot commented Mar 21, 2026

[V2]

Built without sensitive environment variables

Name Link
🔨 Latest commit 5e592ca
🔍 Latest deploy log https://app.netlify.com/projects/docusaurus-2/deploys/69bdec253b8e980008bd5a9f
😎 Deploy Preview https://deploy-preview-11826--docusaurus-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Mar 21, 2026

[V2]

Built without sensitive environment variables

Name Link
🔨 Latest commit f20abc6
🔍 Latest deploy log https://app.netlify.com/projects/docusaurus-2/deploys/69bdeca95748070008fcdf00
😎 Deploy Preview https://deploy-preview-11826--docusaurus-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@yangshun
Copy link
Contributor Author

Not sure what the Lighthouse CI failure is about

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Signed Facebook CLA

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant