Skip to content

fix(cli): lower Node engine floor to >=20.18.1#5

Merged
pessini merged 1 commit into
mainfrom
fix/cli-node-engine-floor
Jun 24, 2026
Merged

fix(cli): lower Node engine floor to >=20.18.1#5
pessini merged 1 commit into
mainfrom
fix/cli-node-engine-floor

Conversation

@pessini

@pessini pessini commented Jun 24, 2026

Copy link
Copy Markdown
Owner

The CLI's own code uses nothing newer than Node 18-era APIs (global fetch, AbortSignal.timeout, standard node: builtins). The >=22.19 floor was inherited entirely from commander@15 (>=22.12) and undici@8 (>=22.19), needlessly rejecting Node 20 (still widely deployed) and even Node 22.0-22.18.

Downgrade commander to ^14 (>=20) and undici to ^7 (>=20.18.1), both current and API-compatible with our usage, and set engines to the true floor of >=20.18.1. Bump to 0.1.2.

The CLI's own code uses nothing newer than Node 18-era APIs (global
fetch, AbortSignal.timeout, standard node: builtins). The >=22.19 floor
was inherited entirely from commander@15 (>=22.12) and undici@8
(>=22.19), needlessly rejecting Node 20 (still widely deployed) and even
Node 22.0-22.18.

Downgrade commander to ^14 (>=20) and undici to ^7 (>=20.18.1), both
current and API-compatible with our usage, and set engines to the true
floor of >=20.18.1. Bump to 0.1.2.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@pessini pessini force-pushed the fix/cli-node-engine-floor branch from f4ed661 to 0f7e22b Compare June 24, 2026 15:37
@pessini pessini merged commit 48ac8e1 into main Jun 24, 2026
6 checks passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f4ed661a50

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread package-lock.json
"engines": {
"node": ">=14.21.3"
}
},
"node_modules/@biomejs/cli-linux-x64": {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Restore pruned platform optional dependencies

This lockfile was regenerated with only the current Linux x64 native packages left; the @biomejs/biome package above still declares darwin/win32/arm64 optionalDependencies, but their package entries were deleted. On macOS, Windows, or Linux arm64 clones that run npm ci, npm has no locked native Biome package to install, so local lint/format commands such as npx biome ci . can fail even though Ubuntu CI still passes; regenerate the lock from a clean install so all platform optional entries are preserved.

Useful? React with 👍 / 👎.

@pessini pessini deleted the fix/cli-node-engine-floor branch June 24, 2026 16:58
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