diff --git a/azure/package-lock.json b/azure/package-lock.json index ce74ea16e9..dfd444cf10 100644 --- a/azure/package-lock.json +++ b/azure/package-lock.json @@ -1,18 +1,18 @@ { "name": "@microsoft/vscode-azext-azureutils", - "version": "3.0.0", + "version": "3.0.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@microsoft/vscode-azext-azureutils", - "version": "3.0.0", + "version": "3.0.1", "license": "MIT", "dependencies": { "@azure/arm-resources": "^5.0.0", "@azure/arm-resources-profile-2020-09-01-hybrid": "^2.0.0", "@azure/arm-resources-subscriptions": "^2.0.0", - "@azure/arm-storage": "^18.0.0", + "@azure/arm-storage": "^18.2.0", "@azure/arm-storage-profile-2020-09-01-hybrid": "^2.0.0", "@azure/core-client": "^1.6.0", "@azure/core-rest-pipeline": "^1.9.0", @@ -107,14 +107,14 @@ } }, "node_modules/@azure/arm-storage": { - "version": "18.1.0", - "resolved": "https://registry.npmjs.org/@azure/arm-storage/-/arm-storage-18.1.0.tgz", - "integrity": "sha512-/31M6UzDD4NjsOT3mVAM2PhLyyT8/SfvL3PgFerk91BBnUy7toJXzzSsBO0Ysx7I1Pvjo6jSkTPs3D4Kz9CGDg==", + "version": "18.2.0", + "resolved": "https://registry.npmjs.org/@azure/arm-storage/-/arm-storage-18.2.0.tgz", + "integrity": "sha512-jLUsAVFq5YBOYQfhE6L+KaUs+lntctKVafPz50FFScfzPMHYT/SptQGZ7BKzAJBBE/evdt8afmt2NSdl8Szomg==", "dependencies": { "@azure/abort-controller": "^1.0.0", "@azure/core-auth": "^1.3.0", - "@azure/core-client": "^1.6.1", - "@azure/core-lro": "^2.2.0", + "@azure/core-client": "^1.7.0", + "@azure/core-lro": "^2.5.3", "@azure/core-paging": "^1.2.0", "@azure/core-rest-pipeline": "^1.8.0", "tslib": "^2.2.0" @@ -170,16 +170,28 @@ } }, "node_modules/@azure/core-lro": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/@azure/core-lro/-/core-lro-2.5.1.tgz", - "integrity": "sha512-JHQy/bA3NOz2WuzOi5zEk6n/TJdAropupxUT521JIJvW7EXV2YN2SFYZrf/2RHeD28QAClGdynYadZsbmP+nyQ==", + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@azure/core-lro/-/core-lro-2.6.0.tgz", + "integrity": "sha512-PyRNcaIOfMgoUC01/24NoG+k8O81VrKxYARnDlo+Q2xji0/0/j2nIt8BwQh294pb1c5QnXTDPbNR4KzoDKXEoQ==", "dependencies": { - "@azure/abort-controller": "^1.0.0", + "@azure/abort-controller": "^2.0.0", + "@azure/core-util": "^1.2.0", "@azure/logger": "^1.0.0", "tslib": "^2.2.0" }, "engines": { - "node": ">=14.0.0" + "node": ">=18.0.0" + } + }, + "node_modules/@azure/core-lro/node_modules/@azure/abort-controller": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@azure/abort-controller/-/abort-controller-2.0.0.tgz", + "integrity": "sha512-RP/mR/WJchR+g+nQFJGOec+nzeN/VvjlwbinccoqfhTsTHbb8X5+mLDp48kHT0ueyum0BNSwGm0kX0UZuIqTGg==", + "dependencies": { + "tslib": "^2.2.0" + }, + "engines": { + "node": ">=18.0.0" } }, "node_modules/@azure/core-paging": { diff --git a/azure/package.json b/azure/package.json index c5412258c7..ca4ff01c6d 100644 --- a/azure/package.json +++ b/azure/package.json @@ -1,7 +1,7 @@ { "name": "@microsoft/vscode-azext-azureutils", "author": "Microsoft Corporation", - "version": "3.0.0", + "version": "3.0.1", "description": "Common Azure utils for developing Azure extensions for VS Code", "tags": [ "azure", @@ -34,7 +34,7 @@ "@azure/arm-resources": "^5.0.0", "@azure/arm-resources-profile-2020-09-01-hybrid": "^2.0.0", "@azure/arm-resources-subscriptions": "^2.0.0", - "@azure/arm-storage": "^18.0.0", + "@azure/arm-storage": "^18.2.0", "@azure/arm-storage-profile-2020-09-01-hybrid": "^2.0.0", "@azure/core-client": "^1.6.0", "@azure/core-rest-pipeline": "^1.9.0", diff --git a/azure/src/wizard/StorageAccountListStep.ts b/azure/src/wizard/StorageAccountListStep.ts index 3b1f44437a..9a3a4bd926 100644 --- a/azure/src/wizard/StorageAccountListStep.ts +++ b/azure/src/wizard/StorageAccountListStep.ts @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -import type { StorageAccount, StorageManagementClient } from '@azure/arm-storage'; +import type { NetworkRuleSet, StorageAccount, StorageManagementClient } from '@azure/arm-storage'; import { AzureWizardPromptStep, IAzureNamingRules, IAzureQuickPickItem, IAzureQuickPickOptions, IWizardOptions, nonNullProp, openUrl } from '@microsoft/vscode-azext-utils'; import * as vscode from 'vscode'; import * as types from '../../index'; @@ -121,7 +121,8 @@ export class StorageAccountListStep nonNullProp(a, 'name').localeCompare(nonNullProp(b, 'name'))); for (const sa of storageAccounts) { if (!sa.kind || sa.kind.match(kindRegExp) || !sa.sku || sa.sku.name.match(performanceRegExp) || sa.sku.name.match(replicationRegExp)) { @@ -134,6 +135,14 @@ export class StorageAccountListStep { /* do nothing */ }, + data: undefined + }); + } + + return picks; } }