-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Drop support of Node v10 #4633
Drop support of Node v10 #4633
Conversation
Can we make the engine minimum be 12.7.0? That version is the minimum for esm compatibility, which means that we can drop all kinds of ifs in the tests and the code around that. I'd love to submit a pr around that, which should be part of this semver major release. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd love to change the way we require/import tests files to always import, now that all the node versions support esm.
I can create it as a separate pr, but it should be part of the v9.0.0 version, as it could (very theoretically) break things.
Yes, but in utils.supportsEsModules you are checking for >=v12.11. Now we take 12.7.0, sure?
Please, go ahead then. We don't have enough content for a serious semver major, yet. |
@juergba I'll get back to you on the minimum number. I'll check it while building the PR. |
I checked, and the version that finalized support for ESM was 12.17.0 (I confused 7 and 17). Note that the version that removed the "experimental ESM" warning was 12.20.0, which is a pretty late v12 version (the latest v12 version is 12.22.1). This means that if I implement the PR that removes the " |
@giltayar I'm going to merge this PR, you can adjust the minimum version later on. |
I would love it if we could add this new PR to the next semver-major version of Node.js, and before the semver-major version is launched: #4635. This PR could only have been done when we dropped Node v10. The reasons are outlined in the PR. |
Description of the Change
We drop support of Node v10 with end-of-life: 2021-04-30