Skip to content

v5: DeprecationWarning: The punycode module is deprecated #1364

@silverwind

Description

@silverwind

Description:

Running v5 shows deprecation DEP0040 for node:punycode which is runtime-deprecated since Node v21. This refers to the node built-in punycode module, not the npm module of the same name.

Run actions/setup-node@v5
Attempting to download 24...
(node:2116) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)

This issue was introduced by #1325.

Action version:
v5

Platform:
all

Runner type:
all

Tools version:
any

Repro steps:
Run the action

Expected behavior:
No deprecation warning

Actual behavior:
Deprecation warning

Metadata

Metadata

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