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: punycode module is deprecated #276

Open
codezninja opened this issue May 2, 2024 · 0 comments
Open

Deprecation Warning: punycode module is deprecated #276

codezninja opened this issue May 2, 2024 · 0 comments

Comments

@codezninja
Copy link

codezninja commented May 2, 2024

Description

With node 22 and alks v3.20.0 this warning shows up.

❯ alks
ALKS v3.20.0
(node:34684) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Usage: alks [options] [command]

More Details

❯ NODE_OPTIONS='--trace-deprecation' alks
ALKS v3.20.0
(node:95200) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
    at node:punycode:3:9
    at BuiltinModule.compileForInternalLoader (node:internal/bootstrap/realm:398:7)
    at BuiltinModule.compileForPublicLoader (node:internal/bootstrap/realm:337:10)
    at loadBuiltinModule (node:internal/modules/helpers:113:7)
    at Module._load (node:internal/modules/cjs/loader:1053:17)
    at Module.require (node:internal/modules/cjs/loader:1290:19)
    at require (node:internal/modules/helpers:188:18)
    at Object.<anonymous> (/Users/home/.asdf/installs/nodejs/22.0.0/lib/node_modules/alks/node_modules/whatwg-url/lib/url-state-machine.js:2:18)
    at Module._compile (node:internal/modules/cjs/loader:1455:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1534:10)
Usage: alks [options] [command]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant