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
- Updated
@azure/storage-blobfrom^12.15.0to^12.29.1 - Removed direct
@azure/core-httpdependency
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
- TypeScript compiles successfully
npm ls tr46returns empty (punycode dep removed)npm ls @azure/core-httpreturns empty
Related
- Part of Node.js 24 migration effort for GitHub Actions