-
-
Notifications
You must be signed in to change notification settings - Fork 142
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
'punycode` deprecation in node-fetch #1267
Comments
Unfortunately, |
I get this message when building or running:
`(node:5665) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ...` to show where the warning was created).`.
It is no issue during development, but just an inconvenience when running with pm2.
…________________________________
From: Loïc Poullain ***@***.***>
Sent: 30 May 2024 09:56
To: FoalTS/foal ***@***.***>
Cc: Kennedy Buluma ***@***.***>; Author ***@***.***>
Subject: Re: [FoalTS/foal] 'punycode` deprecation in node-fetch (Issue #1267)
Unfortunately, node-fetch v3 requires ESM modules which make the framework not compile. Do you have a message provided with the deprecating warning? What does it say?
—
Reply to this email directly, view it on GitHub<#1267 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACS5YTEWRO7UM73FLTBH5PDZE3STTAVCNFSM6AAAAABIHCJXEWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZZGA4DCMRZHE>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Thanks for the clarification. I think we can leave things as they are for now. Upgrading to v3 is not possible due to the need to support ES modules and switching to another library would require some work. In the next major release of Foal, the framework will internally use the native implementation of the |
If possible, could there be an upgrade to node-fetch version 3 to remedy the punycode deprecation warning?
The text was updated successfully, but these errors were encountered: