-
Notifications
You must be signed in to change notification settings - Fork 29
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
Module punycode
is deprecated since Node.js 21
#20
Comments
bitwarden/clients#6689 (comment) solution:
basically just add a trailing forward slash |
This comment was marked as outdated.
This comment was marked as outdated.
this is not about tr46. this is just a solution from other repo, and I think it may also works for this repo. |
@MikeMcC399 I came to here because I am using facebook docusaurus. and @docusaurus/core depends on -> serve-handler which depends on fast-url-parser |
@MikeMcC399 I have updated the content and removed the non-related words |
Your workaround is for a different module. |
The issue is reproducible with git clone https://github.com/petkaantonov/urlparser
cd urlparser
npm install
node --trace-deprecation ./test/index.js The line of code which needs changing is Line 401 in 545dcd3
and this can be changed to var punycode = require("punycode/"); The question is now if this repo is still being maintained? @petkaantonov last committed 8 years ago |
I do not think it is actively maintained. |
Why not simply use the |
The problem is when I did however find that using the npm module patch-package it was quite easy to patch Line 401 in 545dcd3
var punycode = require("punycode/"); and to save this as a patch which is then re-applied as a |
This library depends on the
punycode
builtin module... but since Node.js 21, this module is deprecated:The text was updated successfully, but these errors were encountered: