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
Bump Npm.depends packages for fetch #12739
Conversation
Bump node-fetch and whatwg-fetch to the latest versions
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.
For some reason tests are failing can you check on that?
It's failing here
with TypeError: fetch is not a function I thought I also noticed that the Shouldn't this just be |
Maybe needs to be updated ? I saw theses days a test that only passed after we updated the |
From https://github.com/node-fetch/node-fetch#loading-and-configuring-the-module: > node-fetch from v3 is an ESM-only module - you are not able to import it with require()
meteor/packages/fetch/tests/main.js Lines 3 to 5 in 97be98e
this test failed as well in the CI |
@Grubba27 @denihs I think I'm stuck on this PR. It looks like the So I think the options are:
|
I went with this option for now. If y'all have a better solution, please let me know. I don't love being pinned to version 2 of Still it seems like Meteor should be able to use the latest and greatest. I'm sure there was a good reason to force some core packages to use ecmascript 5 – I'm guessing backwards compatibility – but maybe that restriction can/should be lifted in Meteor 3.0+? Curious to hear what y'all think. |
Does this mean this is closed? |
@harryadel I will be pushing @Grubba27 to make 2.14 the Hacktoberfest release! I think it could become a nice tradition going forward. |
🎉 |
Bump node-fetch and whatwg-fetch to the latest versions