sindresorhus / is

Type check values
MIT License
1.68k stars 109 forks source link

Question: What is the reason Node.js below version 14.16 is not supported? #170

Closed sounisi5011 closed 2 years ago

sounisi5011 commented 2 years ago

The engines.node field of this package is specified as ">=14.16". However, I do not see why 14.16 is the boundary of what is supported.

Since this package uses node: imports, the minimum version that can work is 14.13.1. Also, I have actually tested and this package still works with 14.13.1 or later.

I looked at the Node.js changelog and could not see any features available from 14.16.0.

Why does this package only support Node.js 14.16 and above?

sindresorhus commented 2 years ago

I have set a baseline of 14.16 for all my packages. Having the same target version everywhere just makes it easier to deal with. Why I picked that version: I took the newest version minus two minor versions.

sounisi5011 commented 2 years ago

Thanks for answering my personal question!