-
Notifications
You must be signed in to change notification settings - Fork 68
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 is deprecated, remove dependency #94
Comments
This comment was marked as outdated.
This comment was marked as outdated.
Did you get the deprecation warning when you were running If it was an installation warning, were you using Yarn Classic v1 and Node.js |
I get a lot of those warnings when running code (jest tests via node). Seems like the following line will always import the deprecated core module: Line 39 in a1acf73
Also see this hint in the punycode repo:
Edit: However, just tried
|
Ah, according to mathiasbynens/punycode.js#122, the same package is also published as |
I'm not certain that the warnings are coming from With const URI = require("uri-js");
console.log(URI.parse("uri://user:pass@löwenbräu.com:123/one/two.three?q1=a1&q2=a2#body")); I see no warning
Do you have any logs showing that the warning is coming from |
Right. I was mislead by |
ok, thanks, I understand now, that I submitted this issue into the wrong project, as |
It's good you were able to confirm! You should be able to close the issue yourself. The Close button is normally shown down below ⬇️ if you are the Author of the issue. |
I'm not sure uri-js is using the userland package. It requires |
I've opened a PR to fix this here: #95 |
#97 - replacement for this library |
Maybe the problem is the way it is required, as according to https://github.com/mathiasbynens/punycode.js:
|
You may be in the wrong repository with your problem. Could you set export NODE_OPTIONS='--trace-deprecation' then execute the instructions where you saw the warning and then post the instructions and the output here? |
The quote is from the punycode.js README, not some output I get on my machine. |
Recently I get a deprecation warning on application startup.
uri-js brings this dependency, so you should look at getting rid of it, please.
The text was updated successfully, but these errors were encountered: