-
Notifications
You must be signed in to change notification settings - Fork 437
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
fix: use userland module for punycode
#1596
Conversation
The slash at the end is necessary to use the userland module
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1596 +/- ##
==========================================
- Coverage 79.00% 78.07% -0.94%
==========================================
Files 93 93
Lines 4821 4821
Branches 921 921
==========================================
- Hits 3809 3764 -45
- Misses 709 756 +47
+ Partials 303 301 -2 ☔ View full report in Codecov by Sentry. |
Hi @EliTheCoder, Thanks for raising this PR. I also tried to use the url.domainToASCII function to replace the one that used to be provided by punnyCode. Seems the related tests still behave the same way. Not sure whether we want still keep the punnyCode or just use url instead. |
Just double checked that Node 14 seems do not support node:url but we should be safe since the minimum node version maintained on tedious side is node 16 🤔 . |
punycode
Thanks for your contribution! ❤️ |
🎉 This PR is included in version 16.7.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
* Use userland module for punycode The slash at the end is necessary to use the userland module * fix: Add @types/punycode as dev dependency --------- Co-authored-by: Eli Frigo <[email protected]> (cherry picked from commit 6a961b5)
The slash at the end is necessary to use the userland module. The module built-in to node is deprecated.