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 #374

Open
JasonWeill opened this issue Oct 15, 2024 · 0 comments
Open

punycode module is deprecated #374

JasonWeill opened this issue Oct 15, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@JasonWeill
Copy link
Contributor

When I run jlpm build with code at the tip of main, I see a warning:

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

    ✔  @jupyter/collaboration:build (1s)
    ✔  @jupyter/collaborative-drive:build (1s)
    ✔  @jupyter/docprovider:build (987ms)
    ✔  @jupyter/docprovider-extension:build (8s)
    ✔  @jupyter/collaboration-extension:build (8s)

This appears to be related to the punycode module bundled with Node, which has been deprecated since Node 7, in 2016. There is a third-party package of the same name that was most recently updated in October 2023: https://www.npmjs.com/package/punycode .

Remove all uses of punycode that are deprecated, and use the third-party package instead.

@JasonWeill JasonWeill added the bug Something isn't working label Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant