Skip to content

fix: update Node.js version requirement to >= 18#1067

Open
mahmoodhamdi wants to merge 1 commit intonode-formidable:masterfrom
mahmoodhamdi:fix/node-version-requirement
Open

fix: update Node.js version requirement to >= 18#1067
mahmoodhamdi wants to merge 1 commit intonode-formidable:masterfrom
mahmoodhamdi:fix/node-version-requirement

Conversation

@mahmoodhamdi
Copy link

Summary

The Node.js version requirement was inconsistent across the project:

Location Before After
package.json engines >=14.0.0 >=18.0.0
README.md text (line 82) >= 20 >= 18
README.md badge (line 871) >= 10.13 >= 18
README_pt_BR.md text >= 10.13 >= 18
README_pt_BR.md badge >= 10.13 >= 18

The CI matrix tests Node.js 18, 20, 22, and LTS, so >= 18 is the correct minimum supported version.

Fixes #976

The codebase uses `node:` prefixed imports (e.g. `node:fs`,
`node:crypto`, `node:events`) which require Node.js >= 14.18.0, and
CI only tests Node.js 18, 20, 22, and LTS. Updated the minimum
version to >= 18 to match:

- package.json engines: 14.0.0 -> 18.0.0
- README.md text: >= 20 -> >= 18
- README.md badge: >= 10.13 -> >= 18
- README_pt_BR.md text and badge: >= 10.13 -> >= 18

Fixes node-formidable#976

Co-Authored-By: Mahmoud Hamdi <hmdy7486@gmail.com>
@GrosSacASac
Copy link
Contributor

Thanks mahmoodhamdi , could you please review #1066 before ?

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.

Engines missing in package.json and wrong version of Node.js supported listed in README

2 participants