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 committed 2025-12-10 11:23:06 +00:00
1 parent 16165527c6
commit bb06c8e35a
5 files changed
+43 -476

No files matched your search

+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)