-
Notifications
You must be signed in to change notification settings - Fork 278
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 message displayed with Node.js v21.0.0 #324
Comments
All that being said, I believe that we have had requests in the past to replace |
@wjhsf Thanks for the quick reply, |
The issue is also reproducible using Node.js git clone https://github.com/salesforce/tough-cookie
cd tough-cookie
npm ci
export NODE_PENDING_DEPRECATION=1
npm test Running
additionally, there is a related deprecation warning:
More details are shown if the environment variable export NODE_PENDING_DEPRECATION=1 NODE_OPTIONS='--trace-deprecation'
npm test so perhaps steps could be started to remove these deprecations already without delaying? |
To see the deprecation warning for Removing the deprecation warning requires a new release of |
That was exactly the hint I gave. The release is unlikely to happen. I assume that it will probably work anyway, because the import of punycode is found in node_modules (installed by tough-cookie) but hey there is a small risk. But we will see. |
|
Dependency psl is using deprecated
punycode
module (see lupomontero/psl#296). But since this error has apparently not been corrected for some time (since mid 2022), it could be problematic for tough-cookie in the future. Is there a plan to replace the dependency?Thanks for your help
AnWeber/httpyac#577
The text was updated successfully, but these errors were encountered: