punycode is deprecated in Node v21
Closed this issue ยท 8 comments
Using punycode is deprecated in Node v21. See documentation https://nodejs.org/api/punycode.html. Maybe try replacing with NPM Package punycode
punycode is used here:
Line 5 in 797ccb4
Fix:
npm i punycode
- change from
require("punycode")
torequire("punycode/")
3ddec00
See this commit and it may suggest that new version be released soon.
This is already fixed. We are just waiting for a new release. Patience is a virtue.
This is already fixed. We are just waiting for a new release. Patience is a virtue.
Can you clarify why you suggest just waiting? Are you a maintainer and you are planning a release?
It's 2 months ago since @lupomontero added a series of commits into the master
branch including the fix 3ddec00 for this issue.
If you are not a maintainer, then perhaps @lupomontero could say if/when a new release is planned?
Thank you for maintaining this package! I understand that it is a lot of work. It would be appreciated with a release that includes thix fix.
Hi there, many apologies for taking so long to address this... I have just released a new version that should include a fix for this issue: https://github.com/lupomontero/psl/releases/tag/v1.10.0