Skip to content
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

Deprecation Warning: node:punycode #212

Open
ThisIsMissEm opened this issue Feb 21, 2025 · 0 comments
Open

Deprecation Warning: node:punycode #212

ThisIsMissEm opened this issue Feb 21, 2025 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@ThisIsMissEm
Copy link
Contributor

ThisIsMissEm commented Feb 21, 2025

I noticed this when working on Hollo, the console output included:

(node:23704) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
    at node:punycode:7:10
    at BuiltinModule.compileForInternalLoader (node:internal/bootstrap/realm:399:7)
    at BuiltinModule.compileForPublicLoader (node:internal/bootstrap/realm:338:10)
    at loadBuiltinModule (node:internal/modules/helpers:110:7)
    at ModuleLoader.builtinStrategy (node:internal/modules/esm/translators:352:18)
    at #translate (node:internal/modules/esm/loader:468:12)
    at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:515:27)

This trace isn't actually a good trace, but I managed to trace it back to Fedify which appears to be using node:punycode when you'd want to use punycode.js from a package manager instead.

https://github.com/search?q=repo%3Afedify-dev%2Ffedify%20punycode&type=code

There's more information here about punycode's deprecation: https://nodejs.org/docs/latest/api/punycode.html

@dahlia dahlia added bug Something isn't working good first issue Good for newcomers labels Feb 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants