-
-
Notifications
You must be signed in to change notification settings - Fork 362
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 misflagged as requiring the node:
prefix
#1931
Comments
The `punycode` core module is deprecated since Node 7.0.0, it should not be used anymore. There is a same-name npm module which is the recommended alternative, but it must be imported without prefix obviously. Fixes: sindresorhus#1931
I think to fix this, the rule could just ignore the import if the specifier ends in |
The hack with > await import("punycode/")
Uncaught:
Error [ERR_UNSUPPORTED_DIR_IMPORT] I also opened mathiasbynens/punycode.js#122 for the punycode authors to update their suggestions. |
Same here with I tried |
Fixed by #2060 |
Is reporting:
When in fact,
node:punycode
is deprecated andpunycode/
is a npm package.The text was updated successfully, but these errors were encountered: