diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 4245f2640b1f..b7fbf2ec4b74 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -5,9 +5,8 @@ dependencies: '@azure/core-asynciterator-polyfill': 1.0.0-preview.1 '@azure/core-auth': 1.0.0-preview.3 '@azure/core-paging': 1.0.0-preview.2 - '@azure/cosmos-sign': 1.0.2 '@azure/eslint-plugin-azure-sdk': 2.0.1_9e8391ca70fb0408a9da4393803aa477 - '@azure/identity': 1.0.0-preview.4 + '@azure/event-hubs': 2.1.1 '@azure/keyvault-keys': 4.0.0-preview.7 '@azure/keyvault-secrets': 4.0.0-preview.7 '@azure/logger-js': 1.3.2 @@ -88,7 +87,6 @@ dependencies: chai-as-promised: 7.1.1_chai@4.2.0 chai-string: 1.5.0_chai@4.2.0 cross-env: 5.2.0 - crypto-hash: 1.2.2 death: 1.1.0 debug: 4.1.1 delay: 4.3.0 @@ -145,6 +143,7 @@ dependencies: msal: 1.1.3 nise: 1.5.1 nock: 11.3.2 + node-abort-controller: 1.0.4 node-fetch: 2.6.0 npm-run-all: 4.1.5 nyc: 14.1.1 @@ -381,7 +380,7 @@ packages: '@azure/ms-rest-nodeauth': 0.9.3 async-lock: 1.2.2 debug: 3.2.6 - is-buffer: 2.0.3 + is-buffer: 2.0.4 jssha: 2.3.1 rhea-promise: 0.1.15 tslib: 1.10.0 @@ -3416,12 +3415,6 @@ packages: node: '>=8' resolution: integrity: sha512-5DWmfCxQZHWocCpkOXVFmfYj7v5vZXF3ZNzMeyyJ6OzGfDTEEOm2CWA8KzZ578eA7j5VPCLOdGjOU8sGgi8BYw== - /crypto-hash/1.2.2: - dev: false - engines: - node: '>=8' - resolution: - integrity: sha512-rXXMXepuKg9gIfqE7I1jtVa6saLhzIkDQ2u3kTGUWYiUGsHcUa3LTsfrjPEdOY8kxKlryQtsOmJOU0F23yRJTg== /crypto-js/3.1.9-1: dev: false resolution: @@ -7411,10 +7404,10 @@ packages: node: '>= 8.0' resolution: integrity: sha512-Bb00vTmuXyucMT9gcnMSiE2n6P5yrRoAyej0eF6ik6VUxG0FKp4RcSx1TzFusEDtY3hMNpsd7ZYUSIvwtNpTrw== - /node-abort-controller/1.0.3: + /node-abort-controller/1.0.4: dev: false resolution: - integrity: sha512-w07Dwqd/SWv9Lqrlhlx3mo4i4EWsuN3majbIIj4d6twBWGZUKtB9zvT9W+D5Rko56uas55CLO0YZ4zMrf6AKMw== + integrity: sha512-7cNtLKTAg0LrW3ViS2C7UfIzbL3rZd8L0++5MidbKqQVJ8yrH6+1VRSHl33P0ZjBTbOJd37d9EYekvHyKkB0QQ== /node-environment-flags/1.0.5: dependencies: object.getownpropertydescriptors: 2.0.3 @@ -11319,7 +11312,7 @@ packages: dev: false name: '@rush-temp/abort-controller' resolution: - integrity: sha512-YwhAi/dV8QU4uVvddHEEchoJUG07D7QbKuQVf5jyvD5oklm8BnoIR5ONWo24G1jQnlIEaFrsFjYbboAt1Xl3bQ== + integrity: sha512-vDcC9ZxFHAZ1GK8i63eC7rnBVBbGN6JKPNgMETz4CGHji31lXhMdMMx0sjZNiDN1HMv9lojK3KtW+mhsZmEfZQ== tarball: 'file:projects/abort-controller.tgz' version: 0.0.0 'file:projects/app-configuration.tgz': @@ -11354,7 +11347,7 @@ packages: dev: false name: '@rush-temp/app-configuration' resolution: - integrity: sha512-ySZIjuwfPhaYdQGfChbUSuHOu7msVQU+d+4PTknjoTRfQV8/3niQAGn2OqkARDOhtemrNMnvNuPIQsV1V4gcVA== + integrity: sha512-2vARbZQ3Imv2QdB5QdRStznjzFdm6eRSPBbzMJmgeZHA44mv8u3tPBAlSP7UrGvOaBoHETQlFzAy/peIE+s/cA== tarball: 'file:projects/app-configuration.tgz' version: 0.0.0 'file:projects/core-amqp.tgz': @@ -11426,7 +11419,7 @@ packages: dev: false name: '@rush-temp/core-amqp' resolution: - integrity: sha512-1W1/wghP1Wf6c7WoFj8ETC76r8QS11exKcLNNwifyYsfXeS4BAiqOjDi4b/9F/BGVCkBEqg9XymytCRVo7ZPKg== + integrity: sha512-D3DZREtlZoUVTvq4EROwbaCIL/Vz+t7VwllZ2gYeguVdB9QlkBeOETJFQgwUQTcumPZiXnHBjZGCi9pTNLDrbA== tarball: 'file:projects/core-amqp.tgz' version: 0.0.0 'file:projects/core-arm.tgz': @@ -11462,7 +11455,7 @@ packages: dev: false name: '@rush-temp/core-arm' resolution: - integrity: sha512-8zrFNKjbc69conqjAnyusNs6ko8Ks3JxGjBRCd2f7DHSY3auWBvnZDyeLnIh5h9KRGwMUWVTCLz0X+t2QmCmpA== + integrity: sha512-2HbqqyQRjDZCVzcy6of7jYGsiJvRB1oWJU8VMQZPZMcapygnbZQnfT5BuhejJ9Ix9DYRb5JtanyiwlKWCI2WEA== tarball: 'file:projects/core-arm.tgz' version: 0.0.0 'file:projects/core-asynciterator-polyfill.tgz': @@ -11480,7 +11473,7 @@ packages: dev: false name: '@rush-temp/core-asynciterator-polyfill' resolution: - integrity: sha512-X2qR67x/Wgwcs8VjH/m3EA7HFB22mL2sf9YJCvpdIUXvz5ENGH54U4TC8IAc2AxcqlKjOi1pwFUAf9yBf4nAJQ== + integrity: sha512-hp2FjyoaLo9iJIGV0Aq7UI8oGzIr29OewVSFfuckKI+2aDUrh6Kamlg/hw/HrZ/a3ybccP3oqGjwA2uze4DoAg== tarball: 'file:projects/core-asynciterator-polyfill.tgz' version: 0.0.0 'file:projects/core-auth.tgz': @@ -11520,7 +11513,7 @@ packages: dev: false name: '@rush-temp/core-auth' resolution: - integrity: sha512-jCz8PRgzbZKCsfczJ8OfMdx9XlRlKU2SxBGyoFFBhoKppZvHR7Ll2qcvrbxsgR8WyjTlnNRps84tAeCCyP3DkA== + integrity: sha512-LMN6euFFQloSvbE81KTIQSSRtp5wvVb9qLmpzDBaXdSdvoWs8HP6iMB40FqLTjikvlliOgyKqyX8IBMW+dQwHg== tarball: 'file:projects/core-auth.tgz' version: 0.0.0 'file:projects/core-http.tgz': @@ -11606,7 +11599,7 @@ packages: dev: false name: '@rush-temp/core-http' resolution: - integrity: sha512-QroisRu/Tmu+6PkDwKfv7SmLuezjnd3IKT9IjZUqcTG0YLNcPFL5LRHVEbez8uEZPNO5Qhm53MJKyVvXv/L64Q== + integrity: sha512-L77x1CXag8fh2KxCFs73tj53MwiihhHedQpLAkdP7+Og84lzY1dzwuvGS133d0qiafwHwaA7sc95AdD3ovIufA== tarball: 'file:projects/core-http.tgz' version: 0.0.0 'file:projects/core-paging.tgz': @@ -11625,7 +11618,7 @@ packages: dev: false name: '@rush-temp/core-paging' resolution: - integrity: sha512-/l5SA2u/jUrYjvQBf24YFdaoYW4GAdU3iDoGDekLbjH2fSP8wOt/3oDlBM8pxGD54TB7s06Oi4OjBsQN6F5tgw== + integrity: sha512-rorSx6Oeq/VsKWv3L8qwnHYihYjPZS/PiCZZrIlGt7WfSH8iS60XFPxRrAiP+zIhosvd1hDlSmQ8k30iIB10QA== tarball: 'file:projects/core-paging.tgz' version: 0.0.0 'file:projects/core-tracing.tgz': @@ -11667,7 +11660,7 @@ packages: dev: false name: '@rush-temp/core-tracing' resolution: - integrity: sha512-ojfEOrDyO28XqPLPsjFRR/XgiI56Ud1b9ne+DwGE8j54pEVZAMR8vMfk392tNuFqzYnwb2tYl3dZ/ILBDZNVZA== + integrity: sha512-WbDQ5f4zD46H6VTA08PWErEnRHfmY2apDbXp7O40neaCgwcgY83jSXOetohvCEOdyqAaSahSPY6E0hjfq4WGwA== tarball: 'file:projects/core-tracing.tgz' version: 0.0.0 'file:projects/cosmos.tgz_webpack@4.39.2': @@ -11717,7 +11710,7 @@ packages: mocha: 6.2.0 mocha-junit-reporter: 1.23.1_mocha@6.2.0 mocha-multi: 1.1.3_mocha@6.2.0 - node-abort-controller: 1.0.3 + node-abort-controller: 1.0.4 node-fetch: 2.6.0 prettier: 1.18.2 priorityqueuejs: 1.0.0 @@ -11745,7 +11738,7 @@ packages: peerDependencies: webpack: '*' resolution: - integrity: sha512-t/tHzdO32o7xUjfGhwu3TqHrBWFLvL8N1gvno9uamsQ0nI0SOB3f5P9we+BgLB4N6RibvvKOvu4KulZbbQPgLA== + integrity: sha512-VKEm2DEqqAR+foYN6sh/J8i1P3i5/FYS08OU8juUo+sUQV4qvaYalMWh6cuoYZ1YZg8/zgoZtiovJF0XbtL0Gw== tarball: 'file:projects/cosmos.tgz' version: 0.0.0 'file:projects/event-hubs.tgz': @@ -11824,7 +11817,7 @@ packages: dev: false name: '@rush-temp/event-hubs' resolution: - integrity: sha512-WdiQGa71p4aO23+5UcM5TShzXxU/t37CsUtxEj6E+0oDKZrUjIdjnfvgo2sUoVBfIsXMBIvq/baMmhoeInALsw== + integrity: sha512-SLegkPhDOtKXTECUOYErqQB9NRBWjam16EoPnM0DGshlJV6YoTBZQnF9IBNS6Z7cUqnmnbW/5NgBkGjEVp1OEg== tarball: 'file:projects/event-hubs.tgz' version: 0.0.0 'file:projects/event-processor-host.tgz': @@ -11882,7 +11875,7 @@ packages: dev: false name: '@rush-temp/event-processor-host' resolution: - integrity: sha512-W3yvQ/XpiLD0NxwDCHy8iuOnHcMAQDH0f9g336udX3pgtjhcxwjRVcUzuOK+u5e1At95pTE/LMFJoDFeJGvIrQ== + integrity: sha512-7Qk5AOasHTZrxBj7bDBlChwSFImEDSYG2yQJ4m6kdAKG6Byxg1OtL0ojBzf74UK1R4A+Bqz66pjBnhbI0MT6kA== tarball: 'file:projects/event-processor-host.tgz' version: 0.0.0 'file:projects/eventhubs-checkpointstore-blob.tgz': @@ -11946,7 +11939,7 @@ packages: dev: false name: '@rush-temp/eventhubs-checkpointstore-blob' resolution: - integrity: sha512-NTOuC7Y7SWEueKI/V+xmD3Rd/N2DgaOZrj6maRFpxrV5jFPCrdHt1/DbYOLTHVdWYFnDkiqJLX05rYrK4E8Sug== + integrity: sha512-RDqg/yG/iW2lMsaUfJEeNTRusi8SJX6l5kXZRdo0pGIrqW4uvVD+MQlpGAO2szNACKuairxbdMCTJim7Mo2ShA== tarball: 'file:projects/eventhubs-checkpointstore-blob.tgz' version: 0.0.0 'file:projects/identity.tgz': @@ -12003,7 +11996,7 @@ packages: dev: false name: '@rush-temp/identity' resolution: - integrity: sha512-VRKKxTaNXyQKJgqz6cnU8q8rP6r9AVsJdaCExHqqLs5D7RZR+8OsqeShy46HJFRrLaia8qMs+mrSl9tNcCUYxg== + integrity: sha512-hXeyont8gl+00XnSNSIFVCGIi+YAGZ4gnAsjGj7N4Cmgh8IpJ4Gf8OL8zhmf97XSq/F53qeL+xXfg/ebqAFVHg== tarball: 'file:projects/identity.tgz' version: 0.0.0 'file:projects/keyvault-certificates.tgz': @@ -12077,7 +12070,7 @@ packages: dev: false name: '@rush-temp/keyvault-certificates' resolution: - integrity: sha512-Uo7KtS/gETRZHhXvzP8W99Us4Tq2adxZvR8FvUxiBXog1FiedjJqds2X6695O0i3Af8nVJSOwaH5/NpTouEusw== + integrity: sha512-cVBdjXEbjNxTmk/VjyR/6Ow679Xc8mzwjFMAVu7wTtDHW95YrDpzs/on+Pon7GkvCOB9kBbAzMYQsPRetzVpoQ== tarball: 'file:projects/keyvault-certificates.tgz' version: 0.0.0 'file:projects/keyvault-keys.tgz': @@ -12150,7 +12143,7 @@ packages: dev: false name: '@rush-temp/keyvault-keys' resolution: - integrity: sha512-F0ZtEQesF4rZIxPaFRADXP9NVSXkaZZn704e4TyLPqVaW1AXX0O3AIHrS42HWXYA6u5/8BUQkE865RhR7ObiEQ== + integrity: sha512-rAHnubIk5JjJq5obSlzK+/C7ZJF/IXNoh1Yo7Uzqk5c1hpKQSkAoSU2cGShVZzYeaCvQP6mVbvWp9+77vbzbNA== tarball: 'file:projects/keyvault-keys.tgz' version: 0.0.0 'file:projects/keyvault-secrets.tgz': @@ -12222,7 +12215,7 @@ packages: dev: false name: '@rush-temp/keyvault-secrets' resolution: - integrity: sha512-SM5iIv2ChXHrhPGHeQCVnwLWyeY4eSR+OHEQJW7kFRsPz+vCh/pqCsnNKU8Kii7E89pvxLZoZoyBi0990Z6LUw== + integrity: sha512-qDI0PiKzYCY5TEAuIhdjysEq7asrGlN1PbQ+1nmE+Euaphp/dfc5Dj6YxCgS10Fprt/TpzOsIiAl8+GgTFYmyQ== tarball: 'file:projects/keyvault-secrets.tgz' version: 0.0.0 'file:projects/logger.tgz': @@ -12272,7 +12265,7 @@ packages: dev: false name: '@rush-temp/logger' resolution: - integrity: sha512-+Nx8+y6fhVkXAi9OBCCvwF0FLSsYgPPNTyx7U6cFqp0CjipkvzaJgHq1AvpLFcFa9s/1c9+d0NrP7RqILjiPoA== + integrity: sha512-8jQnSJDe92Q9ZXVoCz5vVb58ZvLh8cHIoiQciqbdoAjacYlV3WlWqInu2o91gtVMN8C2r/qj/tM0/wCROCPC2g== tarball: 'file:projects/logger.tgz' version: 0.0.0 'file:projects/service-bus.tgz': @@ -12350,7 +12343,7 @@ packages: dev: false name: '@rush-temp/service-bus' resolution: - integrity: sha512-MFTbKJFGZfLMYWcCjdZqdR+qJZ/8MpoNF8/KDB3hkkjkz4cOEZ4oPnCIBhlXR+/Wy2xg609i78c3JGYpml4haw== + integrity: sha512-cU9aNsoGM3njJPQ8HHDLjv5DJGJOLnTrVa9WbmlOaf7dEbFdgMdSqUh5FW6TdR9E80uy9juqCzvCJLE+E1Qy0g== tarball: 'file:projects/service-bus.tgz' version: 0.0.0 'file:projects/storage-blob.tgz': @@ -12420,7 +12413,7 @@ packages: dev: false name: '@rush-temp/storage-blob' resolution: - integrity: sha512-6JJFDGUj5AY8R/wStkv05OdRkLSE05ZPbX03uIJefY4QTxdtaqyCi5s+2lrxbuxE9UGduVSnlB3qh0tgdH2Jhw== + integrity: sha512-76kxW4mT5QbNSGd1oOkcZxqa2ZoZYn5E8LSoui/rWtH3tX1i0lCT/FJhSgcnOQXYMM56Gdno8AqEI5CT9dFRmg== tarball: 'file:projects/storage-blob.tgz' version: 0.0.0 'file:projects/storage-file.tgz': @@ -12490,7 +12483,7 @@ packages: dev: false name: '@rush-temp/storage-file' resolution: - integrity: sha512-Ss14Pm4zCFh4fqOHc2QzsbpTFHkuqkZo+qVXASJvsE7sqzuqFg+W09M2D+uT23k45l44d+x5G5D1dyg1OWmjwA== + integrity: sha512-1vuu96rlT8OLbWybGYkV7wXK2iRYEAg9JBdTFS2VbcYWztw2/L5gXM/HrRrnDN891SpDW1KsHNng0oj880UL/Q== tarball: 'file:projects/storage-file.tgz' version: 0.0.0 'file:projects/storage-queue.tgz': @@ -12559,7 +12552,7 @@ packages: dev: false name: '@rush-temp/storage-queue' resolution: - integrity: sha512-xOXI5NLw/G1ylX0iLrbEsmmANf7/8l1yoKhZ9rcpcFVHj5Jnz0bXEU9RNHK12mAGYRanQ/AJK1HBOJoeNQk9CA== + integrity: sha512-Sva5UkbRrEXShOKLaZ4ALhk/2RdGETd4oKVAmgRmeo1CACidcSPDvHQC/MJhEgdmM/47YJLMOyKkP/mVSgZqjw== tarball: 'file:projects/storage-queue.tgz' version: 0.0.0 'file:projects/template.tgz': @@ -12610,7 +12603,7 @@ packages: dev: false name: '@rush-temp/template' resolution: - integrity: sha512-YOg2Wnk8iCfQEv3QMFs24hJTBsZErwW+Vh5ZRCPI2Ya0mjVbyQfIppv1dwXnzCUZrM+/DqId0MemlaWCrkkFOA== + integrity: sha512-clz7A393x9SUCVNli7f6WWF3mO7d/1fHFwmb3JrJZFS9hsWWMQnIi4SuMYy1HQsEztgN1EaKSS+4cxY1dCiwjg== tarball: 'file:projects/template.tgz' version: 0.0.0 'file:projects/test-utils-recorder.tgz': @@ -12638,7 +12631,7 @@ packages: dev: false name: '@rush-temp/test-utils-recorder' resolution: - integrity: sha512-5X0CLSRbJrplwH5JFkcDlSfzxzFeT/veoYhb9NB+q2hTDd9rXRjwePn76IWcVBtUzq2siSgvgrSsioDYiXMUsw== + integrity: sha512-SJjlxlVlW3QPkHFCP+M3QSAgrlVC50hl/ePd/Xmfixx8pl4uiLwm/ZOMmzQ59IfM1zryQw55BNPv2qu5/1hJXA== tarball: 'file:projects/test-utils-recorder.tgz' version: 0.0.0 'file:projects/testhub.tgz': @@ -12659,7 +12652,7 @@ packages: dev: false name: '@rush-temp/testhub' resolution: - integrity: sha512-RkYcAmpRKuAXwbssMJGmc8uzm3LoQikdGvIqdwioQqURgLagimtd01yH+757XDMvMyOfVwejTTSCZHpqa2Bf6Q== + integrity: sha512-XZB/wnNqz04DCZBqyhzkkYG8c/XduwpKK8uJbRcnJrvTthx844ix8Cn3nDHaoLlxODmoxP4xosiCiKTIn7EuBw== tarball: 'file:projects/testhub.tgz' version: 0.0.0 registry: '' @@ -12670,9 +12663,8 @@ specifiers: '@azure/core-asynciterator-polyfill': 1.0.0-preview.1 '@azure/core-auth': 1.0.0-preview.3 '@azure/core-paging': 1.0.0-preview.2 - '@azure/cosmos-sign': ^1.0.2 '@azure/eslint-plugin-azure-sdk': ^2.0.1 - '@azure/identity': 1.0.0-preview.4 + '@azure/event-hubs': ^2.1.1 '@azure/keyvault-keys': 4.0.0-preview.7 '@azure/keyvault-secrets': 4.0.0-preview.7 '@azure/logger-js': ^1.0.2 @@ -12753,7 +12745,6 @@ specifiers: chai-as-promised: ^7.1.1 chai-string: ^1.5.0 cross-env: ^5.2.0 - crypto-hash: ^1.1.0 death: ^1.1.0 debug: ^4.1.1 delay: ^4.2.0 @@ -12810,6 +12801,7 @@ specifiers: msal: ^1.0.2 nise: ^1.4.10 nock: ^11.3.2 + node-abort-controller: 1.0.4 node-fetch: ^2.6.0 npm-run-all: ^4.1.5 nyc: ^14.0.0 diff --git a/sdk/cosmosdb/cosmos/package.json b/sdk/cosmosdb/cosmos/package.json index 6622b8dffd53..b72b871e6697 100644 --- a/sdk/cosmosdb/cosmos/package.json +++ b/sdk/cosmosdb/cosmos/package.json @@ -1,6 +1,6 @@ { "name": "@azure/cosmos", - "version": "3.3.4", + "version": "3.3.5", "description": "Microsoft Azure Cosmos DB Service Node.js SDK for SQL API", "sdk-type": "client", "keywords": [ @@ -73,7 +73,6 @@ "tsdocFlavor": "AEDoc" }, "dependencies": { - "@azure/abort-controller": "1.0.0-preview.2", "@types/debug": "^4.1.4", "debug": "^4.1.1", "fast-json-stable-stringify": "^2.0.0", @@ -121,6 +120,7 @@ "mocha": "^6.2.0", "mocha-junit-reporter": "^1.18.0", "mocha-multi": "^1.1.3", + "node-abort-controller": "1.0.4", "prettier": "^1.16.4", "proxy-agent": "3.0.3", "requirejs": "^2.3.5", diff --git a/sdk/cosmosdb/cosmos/review/cosmos.api.md b/sdk/cosmosdb/cosmos/review/cosmos.api.md index 47dd4ddf503e..5c2b7799c93a 100644 --- a/sdk/cosmosdb/cosmos/review/cosmos.api.md +++ b/sdk/cosmosdb/cosmos/review/cosmos.api.md @@ -578,12 +578,12 @@ export class Items { query(query: string | SqlQuerySpec, options: FeedOptions): QueryIterator; readAll(options?: FeedOptions): QueryIterator; readAll(options?: FeedOptions): QueryIterator; - readChangeFeed(changeFeedOptions?: ChangeFeedOptions): ChangeFeedIterator; // Warning: (ae-forgotten-export) The symbol "ChangeFeedOptions" needs to be exported by the entry point index.d.ts // Warning: (ae-forgotten-export) The symbol "ChangeFeedIterator" needs to be exported by the entry point index.d.ts readChangeFeed(partitionKey: string | number | boolean, changeFeedOptions: ChangeFeedOptions): ChangeFeedIterator; readChangeFeed(changeFeedOptions?: ChangeFeedOptions): ChangeFeedIterator; readChangeFeed(partitionKey: string | number | boolean, changeFeedOptions: ChangeFeedOptions): ChangeFeedIterator; + readChangeFeed(changeFeedOptions?: ChangeFeedOptions): ChangeFeedIterator; upsert(body: any, options?: RequestOptions): Promise>; upsert(body: T, options?: RequestOptions): Promise>; } diff --git a/sdk/cosmosdb/cosmos/rollup.config.js b/sdk/cosmosdb/cosmos/rollup.config.js index b3108c7b4dff..00eac63b0078 100644 --- a/sdk/cosmosdb/cosmos/rollup.config.js +++ b/sdk/cosmosdb/cosmos/rollup.config.js @@ -7,7 +7,7 @@ export default [ "universal-user-agent", "uuid/v4", "debug", - "@azure/abort-controller", + "node-abort-controller", "node-fetch", "priorityqueuejs", "semaphore", @@ -23,7 +23,7 @@ export default [ "universal-user-agent": "universalUserAgent", "fast-json-stable-stringify": "stableStringify", "uuid/v4": "uuid", - "@azure/abort-controller": "AbortController", + "node-abort-controller": "AbortController", "node-fetch": "fetch", crypto: "crypto", tslib: "tslib_1", diff --git a/sdk/cosmosdb/cosmos/src/request/RequestHandler.ts b/sdk/cosmosdb/cosmos/src/request/RequestHandler.ts index fdb1398006fd..941c04cc3d70 100644 --- a/sdk/cosmosdb/cosmos/src/request/RequestHandler.ts +++ b/sdk/cosmosdb/cosmos/src/request/RequestHandler.ts @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { AbortController } from "@azure/abort-controller"; +import AbortController from "node-abort-controller"; import fetch, { RequestInit, Response } from "node-fetch"; import { trimSlashes } from "../common"; import { Constants } from "../common/constants"; diff --git a/sdk/cosmosdb/cosmos/test/functional/client.spec.ts b/sdk/cosmosdb/cosmos/test/functional/client.spec.ts index ffe263dc7bf3..ce755fbbba38 100644 --- a/sdk/cosmosdb/cosmos/test/functional/client.spec.ts +++ b/sdk/cosmosdb/cosmos/test/functional/client.spec.ts @@ -10,7 +10,7 @@ import { generateDocuments, bulkInsertItems } from "../common/TestHelpers"; -import { AbortController } from "@azure/abort-controller"; +import AbortController from "node-abort-controller"; describe("NodeJS CRUD Tests", function() { this.timeout(process.env.MOCHA_TIMEOUT || 20000);