actions / actions/toolkit

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

Open
#2,173 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
5.9k
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the linked GitHub Actions run and inspecting @actions/cache@4.0.3's dependency chain through Azure/ms-rest-js and node-fetch@v2. Confirm which package emits DEP0040 under Node.js 24. Done means the cleanup run no longer emits the punycode deprecation warning.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
Domain
devops, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.