fix(artifact): update @azure/storage-blob to fix Node.js 24 punycode deprecation by salmanmkc · Pull Request #2211 · actions/toolkit (original) (raw)

Summary

This PR updates the @azure/storage-blob dependency in @actions/artifact to fix the punycode deprecation warning in Node.js 24.

Problem

The previous dependency chain caused a deprecation warning in Node.js 24:

@azure/storage-blob@^12.15.0
  └── @azure/core-http@^3.0.5
        └── node-fetch@2.x
              └── whatwg-url@5.x
                    └── tr46@0.0.3
                          └── punycode (deprecated)

Node.js 24 deprecates the built-in punycode module, causing warnings when running actions.

Solution

The newer @azure/storage-blob@12.23.0+ uses @azure/core-rest-pipeline instead of the deprecated @azure/core-http, which eliminates the problematic dependency chain entirely.

Testing