-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
[jest-worker] change engines.node
on ^10.13.0
for jest-worker
#11450
Comments
It looks like it's already |
It will not allow to using |
It's already 10.13? We'll be dropping v10 and v15 for jest 28, but this seems correct now? Or do you mean that v11 and v13 is excluded from the current matrix? |
Yes, just set |
hah, a bunch of comments at once 😀 OK, so your range is |
It'd be sorta misleading as we don't test on those versions on CI. Presumably it'd work fine, though |
Yep, example https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/package.json#L16 https://github.com/webpack/webpack/blob/master/package.json#L108 and for other plugins we use the same |
Gotcha. You should probably be more precise to avoid so many EOL versions, but I agree changing it is a breaking change 👍 But sure, can probably loosen the requirement in |
I think that this does not create problems for jest itself and for |
It is fine, we strongly say only LTS version are stable and please use them. And yes only for |
No problems with |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
💬 Questions and Help
We use
jest-worker
in many plugins forwebpack
(for example https://www.npmjs.com/package/terser-webpack-plugin have around 19-20kk downloads per week), and we have a minimal version Node.js support^10.13.0
(LTS), recently released jest v27 (here I say aboutjest-worker
v27) has many good fixes and we would like to update, unfortunately we cannot do this because the change ofengines.node
is breaking change. I totally agree that supporting only LTS version is good idea and I fully understand why this was done. Unfortunately many developers still run tests on CI using non LTS Node.js versions and we would like to avoid extra breaking changes.If you can make an exception for
jest-worker
and changeengines.node
on>10.13.0
, I would be very happy, it will save a lot of time for us and for other developers. We have already planned to use the same support inengines.node
(i.e. only LTS), so in the future I think we won't have such problems anymore.Big thanks!
/cc @SimenB
The text was updated successfully, but these errors were encountered: