-
Notifications
You must be signed in to change notification settings - Fork 60
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
feat!: Upgrade to node-fetch
v3
#617
Conversation
Warning: This pull request is touching the following templated files:
|
We'll merge this once we're ready to drop Node 14/16 (which is WIP) |
General question / comment I know that both |
I was a bit torn on this decision; technically it would be experimental, however the API surface hasn't really changed since its introduction. The catch is the Outside from that, internally we would need to use a beta version of nock, which includes unidici support - it seems to work fine in testing. |
Ah I hadn't even considered nock not supporting it. I wonder if by the time we are ready to move to Node 18 nock will be out of the beta phase. |
Created a proof-of-concept for migrating to |
Node 18 & 20 pass in this commit 👌🏽: |
`node-fetch` does not yet support webstreams, which is required for `.body` node-fetch/node-fetch#387
Thanks for your work on this @danielbankhead and @ddelgrosso1! |
Fixes #429
Fixes #508
🦕