Skip to content

Commit 45ec4a2

Browse files
committed
chore: update dependencies and remove deprecated package
- Removed `@azure/ms-rest-js` dependency to fix Node.js 24+ punycode deprecation warning. - The `TransferProgressEvent` type is now imported from `@azure/core-rest-pipeline`. - Updated `package.json` to reflect the new dependency. - Updated tests to import `TransferProgressEvent` from the new package. - Updated `package-lock.json` to remove `@azure/ms-rest-js` and include `@azure/core-rest-pipeline`. - Bumped versions of several dependencies including `@azure/storage-blob` and `@azure/storage-common`.
1 parent b046462 commit 45ec4a2

File tree

6 files changed

+45
-476
lines changed

6 files changed

+45
-476
lines changed

packages/cache/RELEASES.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
### 5.0.0
44

5+
- Remove `@azure/ms-rest-js` dependency to fix Node.js 24+ punycode deprecation warning
6+
- The `TransferProgressEvent` type is now imported from `@azure/core-rest-pipeline` instead of `@azure/ms-rest-js`
7+
- This fixes: `(node:2110) [DEP0040] DeprecationWarning: The punycode module is deprecated`
58
- Bump `@actions/core` from `^1.11.1` to `^2.0.0`
69
- Bump `@actions/exec` from `^1.0.1` to `^2.0.0`
710
- Bump `@actions/glob` from `^0.1.0` to `^0.5.0`

packages/cache/__tests__/uploadUtils.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as uploadUtils from '../src/internal/uploadUtils'
2-
import {TransferProgressEvent} from '@azure/ms-rest-js'
2+
import {TransferProgressEvent} from '@azure/core-rest-pipeline'
33

44
test('upload progress tracked correctly', () => {
55
const progress = new uploadUtils.UploadProgress(1000)

0 commit comments

Comments
 (0)