-
Notifications
You must be signed in to change notification settings - Fork 160
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
Update README to instruct how to alias the native one (due to Node 22 annoying warning) #137
Comments
Nowadays we publish the package both as |
You can't in 3rd party modules, that are deep inside your
Say you got rid of node-fetch:
Now it's It just keeps going. |
Seriously good grief, who started this insanity? Getting this deprecation warning removed is near impossible from the amount of usage. |
|
punycode
is deprecated, and a userland solution must be usednode_modules
use nativepunycode
and many are out of our control. It's too many. Especially becausenode-fetch
depends onpunycode
, and even if this itself is now native .... we all know what a chaos is innode_modules
.module-alias
and then add before anything else (node -r
or viaNODE_OPTIONS
):And it works.
I recommend adding this in the README. I can do it, if I know you will accept it.
The text was updated successfully, but these errors were encountered: