cht-conf icon indicating copy to clipboard operation
cht-conf copied to clipboard

Deprecation warning on every run: "punycode" module

Open binokaryg opened this issue 1 year ago • 0 comments

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.

binokaryg avatar Dec 16 '24 09:12 binokaryg