Skip to content

chore: relax Node.js version to 20+#17

Merged
aslushnikov merged 4 commits into
mainfrom
relax-nodejs-version
Mar 22, 2026
Merged

chore: relax Node.js version to 20+#17
aslushnikov merged 4 commits into
mainfrom
relax-nodejs-version

Conversation

@aslushnikov

@aslushnikov aslushnikov commented Mar 22, 2026

Copy link
Copy Markdown
Contributor

This is a more conservative choice that comes from the usage of which package (engine: ^20.17.0 || >=22.9.0).

This is a more conservative choice and follows what Playwright folks
do for their userbase.

@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: a8563ba856

ℹ️ 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.json Outdated
@aslushnikov aslushnikov changed the title chore: relax Node.js version to 18+ chore: relax Node.js version to 20+ Mar 22, 2026

@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: bc2ef8cd4a

ℹ️ 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 CONTRIBUTING.md Outdated
## Prerequisites

- Node.js 22+
- Node.js 18+

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 Keep contributor prerequisites aligned with the new Node floor

Contributors who follow this prerequisite on Node 18 will hit a broken setup: this commit raises package.json to engines.node: ^20.17.0 || >=22.9.0, so the documented pnpm install step can fail under common engine enforcement settings (and the resolved runtime dependency which@6.0.1 has the same floor). The contributing guide should not advertise a version range that the repo itself no longer supports.

Useful? React with 👍 / 👎.

@aslushnikov aslushnikov merged commit 4926d24 into main Mar 22, 2026
4 checks passed
@aslushnikov aslushnikov deleted the relax-nodejs-version branch March 22, 2026 19:49

@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: 8784f8abc0

ℹ️ 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.json
"license": "MIT",
"engines": {
"node": ">=22"
"node": "^20.17.0 || >=22.9.0"

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 Keep Node 20 out of engines until the CJS entry works

This newly advertises ^20.17.0 as a supported runtime, but the package still exposes require conditions that point at ESM files (package.json:10-18 under "type": "module"). In Node 20.17/20.18, require('@flakiness/sdk') or require('@flakiness/sdk/browser') will still throw ERR_REQUIRE_ESM, so CommonJS consumers in the newly supported 20.x range can install a package that they cannot actually import.

Useful? React with 👍 / 👎.

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