You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Node.js 20 has to at the very minimum clear 20.5.0 because of the transition from --loaders to --imports, breaking the execution order of loaders and causing issues especially w/ things like tap (more info also at npm/template-oss#451)
Historically we've either picked a floor based on features we want to start using (like private class attributes), the Node.js release schedule, and which versions of npm are in which supported version of Node.js. We don't currently have any features we are waiting to use, the aforementioned loader change is the only node version issue we are concerned about.
The new npm engines should either be
{ node: '^v20.17.0 || >= 22.9.0' }
or
{ node: '>= 22.9.0' }
Even if Node.js v20 does not get npm 11 added to it by default, it would still be good to allow folks using it to be on the latest npm. Absent any compelling reason to drop 20 altogether I think we should keep it.
The text was updated successfully, but these errors were encountered:
What this realistically is going to mean is we'll likely have the same situation we had with p-map in npm 9 and currently have with tap in npm 10, where we can't update until the next semver major cycle. That is assuming folks who publish dependencies in the npm cli tree jump on this immediately.
I don't think the esm require is reason enough to drop node 20 support. If it's backported (soon) that is nice but I think "latest 20 and latest 22" is going to be what we go with whenever we make the cut.
Node.js 18 is going EOL in 2025 April.
Node.js 20 has to at the very minimum clear
20.5.0
because of the transition from--loaders
to--imports
, breaking the execution order of loaders and causing issues especially w/ things like tap (more info also at npm/template-oss#451)Historically we've either picked a floor based on features we want to start using (like private class attributes), the Node.js release schedule, and which versions of npm are in which supported version of Node.js. We don't currently have any features we are waiting to use, the aforementioned loader change is the only node version issue we are concerned about.
The new npm engines should either be
or
Even if Node.js v20 does not get npm 11 added to it by default, it would still be good to allow folks using it to be on the latest npm. Absent any compelling reason to drop 20 altogether I think we should keep it.
The text was updated successfully, but these errors were encountered: