-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Upgrading 3.0.0 to 3.1.0 is a breaking change, major not minor update. #1391
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
Comments
We did not account for ppl to use build steps. that is why it was not a major change. v3 was released with a breaking change of requiring node v12.20 at which point The recommended way to load node-fetch@3 is via As of now, i'm closing this as a duplicate of #1367 (comment) |
@basickarl, just for curiosity... what build tool where you using that generaded cjs? (other then jest) |
Also in the other issue i linked to, they are blocked from using a newer node version by aws so another quick solution on your part could simply be to update the node version. |
Good old Jest! (Jest does transpiling behind the scenes, we do have config files which Jest read, but nothing major though.). |
Just for your information when upgrading to 3.1.0 from 3.0.0 I got a breaking change in my build system, hence yous should of bumped it to 4.0.0.
v.3.0.0
working
v3.1.0
As you can see from the stacktrace, we are importing node-fetch into a test in the jest framework (jest version 25.1.0).
The text was updated successfully, but these errors were encountered: