-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assess the benefits of- and consider raising minimum Node.js version #63
Comments
I have been considering this for a long time now. I originally choose 12.22, because it is the minimum Node.js version that has full ES2018 and partial ES2019 supports. Raising the minimum required Node.js version might not bring significant benefits for the nolyfill. The nolyfill does contain a small set of polyfills for ES2018+ features that are not available on Node.js 12 ( And the nolyfill CLI has made a very big mistake. When writing |
I agree that's a mistake, but not one you can't recover from IMO. Minimize the damage and change Add some code to swap the former with the latter so subsequent runs of the CLI would fix the ranges. Whoever already used nolyfill CLI, will have a lockfile where
This would limit the users affected with |
Most modern tools like Vite, ESLint are currently targeting Node.js 18.x and 20.x. I find nolyfill supporting older versions of Node kind of ironic, but at the same time I lack any information on what potential improvements (and new nolyfills?) are we missing out on by supporting Node.js 12-17.
The text was updated successfully, but these errors were encountered: