esprima icon indicating copy to clipboard operation
esprima copied to clipboard

infrastructure: update "engines" to node>=10.9

Open ljqx opened this issue 5 years ago • 0 comments

Last update of "engines" is about 1 year ago: https://github.com/jquery/esprima/commit/3d182f16403b6efad66acfd92eb46022728bee56

Now Node 10 is the oldest LTS in maintenance, the maintenance would end at 2021-04-30, which is also pretty close.

For adding support of BigInt #1988 and #2035, it's better that the environment has support of BigInt. Or the value of BigIntLiteral would be null for Node < 10.4, which increases maintenance cost.

And according to https://node.green/, Node 10.9 is the first version that fully supports ES6. We can generate ES6 code instead ES5.

ljqx avatar Dec 07 '20 07:12 ljqx