-
Notifications
You must be signed in to change notification settings - Fork 12
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
Updating node-fetch to v3 #32
Comments
Any consideration to switch to using undici or builtin fetch instead? the npm package require NodeJS v16 node-fetch isn't going to get so much newer features as they are more or less taking over... |
That's a good point. I'll check when 16 is EOL. |
(That would be 2023-09-11) |
Any update to this? Getting spammed with deprecation warnings now :( |
I'm swamped with other work this week, but I'm going to work on this next week. |
Update: I got started with this but there are a bunch of incompatibilities that I need to resolve. Right now |
@d07RiV I've published a prerelease version ( |
That works, thanks! |
From #29 (comment):
My preferred workaround for this would be to only import
node-fetch
in the worker process, where asynchronous imports do not matter. This however requires writing a replacement implementation for the Response, Request and Header interfaces in the main process.The text was updated successfully, but these errors were encountered: