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

punycode module is deprecated #135

Open
HereIsKevin opened this issue Jan 23, 2025 · 1 comment
Open

punycode module is deprecated #135

HereIsKevin opened this issue Jan 23, 2025 · 1 comment

Comments

@HereIsKevin
Copy link

What version of pkg are you using?

6.2.0

What version of Node.js are you using?

22.9.0

What operating system are you using?

macOS

What CPU architecture are you using?

x86_64

What Node versions, OSs and CPU architectures are you building for?

default

Describe the Bug

@yao-pkg/pkg uses the deprecated punycode module, causing the following warning to appear every time the command is invoked:

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

The punycode module should be replaced with the punycode package on npm.

Expected Behavior

No warning about the deprecated punycode module.

To Reproduce

Run npx -p @yao-pkg/pkg pkg --help.

@robertsLando
Copy link
Member

it's from dev deps, not a big deal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants