Skip to content

Azure/ms-rest-js -> node-fetch@v2 dependency triggers "DeprecationWarning: The punycode module is deprecated" #2173

Open

Description

@jsoref

Describe the bug

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://github.com/check-spelling-sandbox/excalidraw-libraries/actions/runs/18911114509/job/53981832602?pr=2
  2. Expand Post Setup Node.js 24.x
  3. See error:

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

Expected behavior
no instance of:

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

Screenshots

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

Desktop (please complete the following information):

  • OS: Ubuntu 24.04.3 LTS

Additional context

Activity

  1. added
    bug
    on Oct 29, 2025
  2. salmanmkc commented on Oct 31, 2025

    @salmanmkc
    Contributor

    Hi, this will be fixed in cache v5 #2110
    Release will happen probably next week.

  3. jsoref commented on Oct 31, 2025

    @jsoref
    ContributorAuthor

    Thanks.

    I hope you're also looking at ripping out Azure/ms-rest-js as it's clearly orphaned.

  4. jeremymeng commented on Nov 19, 2025

    @jeremymeng

    @azure/ms-rest-js is not maintained any more. It has been replaced with other packages.

    Anyway I don't see real usage in this codebase:

    https://github.com/search?q=repo%3Aactions%2Fsetup-node%20ms-rest-js&type=code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions