-
Notifications
You must be signed in to change notification settings - Fork 32
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
Dependency on deprecated punycode module #404
Comments
punycode is transtive dependency of eslint. Even when using latest version of eslint (8.52.0). Please also notice that eslint is dev dependency. If you want to you can similar issue to eslint library.
In node-fetch I don't see dependency to punycode (https://github.com/node-fetch/node-fetch/blob/main/package.json) |
Thanks for your quick reply! I'm aware that punycode is a transitive dependency of eslint, but dev dependencies shouldn't cause runtime warnings in node. I did a bit more digging: running node with the $ npm list whatwg-url
Test@ ~/Documents/Test
└─┬ [email protected]
└─┬ [email protected]
└── [email protected] |
ok we will investigate that with node 21. Thanks :) |
For the eslint dependency: garycourt/uri-js#95 |
Running a project using ravendb on the newest version of node (v21) yields a deprecation warning.
Minimal example
package.json
main.js
After running
npm i
, we get the following behaviour:On older versions of node, the same warning can be seen by adding the
--pending-deprecations
flag.The dependency on
punycode
seems to enter throughnode-fetch
v2. Simply updating to v3 might do the trick.Specific version information
The text was updated successfully, but these errors were encountered: