ms-rest-js
ms-rest-js copied to clipboard
`node-fetch@v2` dependency triggers "DeprecationWarning: The `punycode` module is deprecated"
https://github.com/Azure/ms-rest-js/blob/d0527449c295fc8df511fd7d4c0a0308c9ed2ce6/package.json#L57
- triggers https://github.com/actions/setup-node/issues/1364
Running v5 shows deprecation DEP0040 for
node:punycodewhich is runtime-deprecated since Node v21. This refers to the node built-inpunycodemodule, 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)
https://github.com/actions/setup-node/issues/1364#issuecomment-3462761931
- Fwiw,
[email protected]will not fix this https://github.com/node-fetch/node-fetch/issues/1797 -> https://github.com/node-fetch/node-fetch/pull/1793#issuecomment-1839050150- Afaict,
[email protected]does not have this dependency.