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 on every run: "punycode" module #655

Open
binokaryg opened this issue Dec 16, 2024 · 0 comments
Open

Deprecation warning on every run: "punycode" module #655

binokaryg opened this issue Dec 16, 2024 · 0 comments
Labels
Type: Bug Fix something that isn't working as intended

Comments

@binokaryg
Copy link
Member

binokaryg commented Dec 16, 2024

Describe the bug
Every time I run cht-conf, I get this deprecation warning:

(node:951) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)

To Reproduce
Steps to reproduce the behavior:

  1. Go to terminal
  2. Run cht --version or any other cht command
  3. See the notice

Expected behavior
No warnings or notices.

Logs
Output:

$ cht --version
cht --version
INFO 4.4.0
(node:21876) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)

Environment

  • Client platform: Windows, Linux
  • cht-conf version: 4.4.0 and also older
  • Node version: v21 onwards (also tested with v22.12.0), not seen until v20.18.1

I think the error was still there when running certain commands, but now it's showing up with every cht command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Fix something that isn't working as intended
Projects
None yet
Development

No branches or pull requests

1 participant