babel-plugin-ttag
babel-plugin-ttag copied to clipboard
DeprecationWarning on NodeJS v22: The `punycode` module is deprecated.
I'm using ttag-cli, which uses babel-plugin-ttag
ttag-cli version: 1.10.18
babel-plugin-ttag version: 1.8.16
When I run npx ttag po2json [file], I get the following warning on NodeJS 22.13.1:
(node:15042) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
This warning goes away if revert to NodeJS 20.10.0.
Here is the response from npm ls punnycode:
[email protected] /Users/ali.yousuf/code/test-ttag
└─┬ [email protected]
└─┬ [email protected]
└─┬ [email protected]
└─┬ [email protected]
└── [email protected]
Let's update ajv, that should probably solve it!