-
-
Notifications
You must be signed in to change notification settings - Fork 74
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
node:fs breaks --update-db on earlier node versions #35
Comments
Node.js is note officially supported by Node.js team for a long time. And we officially do not support it. Do you have any reason why we should support it? |
Same here, for now version Thank you!! |
This change is breaking some legacy pipelines that rely on browserslist and the --update-db option. Is there any way to install an older version with npx? Running |
I released 1.0.16 without We have Open Collective, but I do not see your all there: |
I'm sorry I wasn't expecting a fix, or legacy code to be supported. But rather pointing out that legacy code was unable to opt-out of the latest updates to update-db, due to the way both packages force you to use the latest version. It is kinda odd that the package would enforce downloading from @latest though. I think as long as people are unable to run browserslist with an older version of update-db, you'll keep running into legacy projects breaking, as they can't stay with older versions. But maybe there is a way I'm not seeing and that's why I was asking. Either way I'm sorry for being unable to collaborate but thank you for the fix. |
When running the below command on node version 14.16.0 we get the following error:
Command:
npx browserslist@latest --update-db
Error:
@ai
I believe this commit 2b56d5c switched the imports for all node libraries to the
require(node:fs)
format which may have broken it for older node versions. Could you potentially switch it back to the original formrequire(fs)
?The text was updated successfully, but these errors were encountered: