-
-
Notifications
You must be signed in to change notification settings - Fork 19
Suggestion: Update Node.js version support #378
Copy link
Copy link
Open
Labels
acceptedThere is consensus among the team that this change meets the criteria for inclusionThere is consensus among the team that this change meets the criteria for inclusionenhancementNew feature or requestNew feature or request
Metadata
Metadata
Assignees
Labels
acceptedThere is consensus among the team that this change meets the criteria for inclusionThere is consensus among the team that this change meets the criteria for inclusionenhancementNew feature or requestNew feature or request
Type
Projects
Status
Triaging
What problem do you want to solve?
The
enginesfield inpackage.jsonis currently set to>= 20, but newer versions ofeslint-scope,espree, and the@eslint/*packages require^20.19.0 || ^22.13.0 || >=24.That means our declared Node.js support range is broader than the range supported by key parts of the ESLint ecosystem we depend on. This can make upgrades confusing and can leave us advertising support for Node.js versions that are no longer actually compatible with the packages we want to use.
It also seems like a good time to revisit Node 20 support more generally, since Node 20 reaches end of life on April 30, 2026.
What do you think is the correct solution?
Update the
engines.noderange inpackage.jsonso it reflects the support policy we actually want.I think there are two reasonable options:
^20.19.0 || ^22.13.0 || >=24^22.13.0 || >=24Participation
AI acknowledgment
Additional comments
No response