typescript-runtime-type-benchmarks icon indicating copy to clipboard operation
typescript-runtime-type-benchmarks copied to clipboard

Remove Node 16

Open vbudovski opened this issue 10 months ago • 3 comments

Node 16 has been EoL for a long time (2023-09-11)! Node 18 is going to be EoL very soon too (2025-04-30). https://github.com/nodejs/Release

vbudovski avatar Jan 11 '25 03:01 vbudovski

https://github.com/moltar/typescript-runtime-type-benchmarks/pull/1224#issuecomment-2078982668

DarkGL avatar Jan 11 '25 08:01 DarkGL

It's ultimately your call as the maintainer of this library, but consider the maintenance overhead of keeping an ever-growing list of out-of-date Node versions around. The packages you depend on will start removing Node 16 support, if they haven't already, so you'll be stuck on ancient versions of packages if you choose to continue supporting it. You're already getting warnings from NPM about incompatibilities, and this will only grow.

npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '20 || >=22' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '8.19.4' }
npm WARN EBADENGINE }

vbudovski avatar Jan 11 '25 08:01 vbudovski

Unfortunately, Node.js 16 is still used in the wild

https://nodedownloads.nodeland.dev/

Image

DarkGL avatar Jan 17 '25 06:01 DarkGL