celo-org / developer-tooling

🛠️ SDKs and CLI for interacting with Celo
Apache License 2.0
10 stars 8 forks source link

`punycode` module is deprecated. #320

Open aaronmgdr opened 3 months ago

aaronmgdr commented 3 months ago

Package

@celo/celocli

Have you ensured that all of these are up to date?

What version of the package are you on?

latest

What command or function is the bug in?

celocli account:list

Operating System

macOS (Intel)

Describe the bug

On node 22 (but not 20) running probably any command gives this warning

(node:44632) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.

this is just a warning and does not effect use but is scary as it is red. It comes from whatwg-url via node-fetch via cross-fetch

users can disable warning with NODE_OPTIONS='--disable-warning DEP0040' yarn celocli ...

aaronmgdr commented 3 months ago

we need to upgrade a few packages for this to go away.

aaronmgdr commented 2 months ago

would be fixed by #64