Skip to content

punycode module is deprecated #374

Open
@JasonWeill

Description

@JasonWeill

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions