cht-conf
cht-conf copied to clipboard
Deprecation warning on every run: "punycode" module
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:
- Go to terminal
- Run
cht --versionor any otherchtcommand - 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.