Skip to content

Allow Node.js 20.19+ in package engines - #195

Merged
danielzzz merged 1 commit into
masterfrom
engines-node-20.19
Sep 10, 2026
Merged

danielzzz merged 1 commit into
masterfrom
engines-node-20.19

Conversation

@danielzzz

Copy link
Copy Markdown
Owner

Summary

  • Lower engines.node from >=22.0.0 to >=20.19.0 so engine-strict installs work on Node 20.
  • Align the README with that floor. 20.19 matches mocha 12 and was verified locally (npm ci, lint, 276 tests, coverage, DTS).

Fixes #181

Test plan

  • CI 20.x and 22.x jobs pass
  • On Node 20.19, NPM_CONFIG_ENGINE_STRICT=true npm ls --depth=0 does not reject ping
  • Confirm Node 20.18 still fails the engines check (expected)

engine-strict installs were blocked on Node 20 even though CI and mocha 12 already require 20.19+.
@github-actions

Copy link
Copy Markdown

Code Coverage

Package Line Rate Branch Rate Health
lib 91% 100%
lib.builder 95% 75%
lib.parser 96% 84%
Summary 95% (389 / 410) 80% (154 / 192)

Minimum allowed line rate is 60%

@danielzzz
danielzzz marked this pull request as ready for review September 10, 2026 15:15
@danielzzz
danielzzz merged commit 27c675f into master Sep 10, 2026
2 checks passed
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.

Please consider adjusting the engines in package.json to allow at least Node.js 20

1 participant