fix(cache): replace @azure/ms-rest-js with @azure/core-rest-pipeline

Remove abandoned @azure/ms-rest-js dependency which pulls in node-fetch@v2, causing punycode deprecation warnings on Node.js 24+.

The TransferProgressEvent type is now imported from @azure/core-rest-pipeline instead.
This commit is contained in:
Salman Muin Kayser Chishti
2025-12-10 11:23:06 +00:00
parent 02869fefb4
commit 8a2701f328
5 changed files with 43 additions and 476 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
import * as uploadUtils from '../src/internal/uploadUtils'
import {TransferProgressEvent} from '@azure/ms-rest-js'
import {TransferProgressEvent} from '@azure/core-rest-pipeline'
test('upload progress tracked correctly', () => {
const progress = new uploadUtils.UploadProgress(1000)