diff --git a/package-lock.json b/package-lock.json index 9cc3fbb1b..98539429c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,9 +11,9 @@ "dependencies": { "@azure/arm-appservice": "^11.0.0", "@azure/arm-resources": "^5.0.0", - "@microsoft/vscode-azext-azureappsettings": "^0.2.0", - "@microsoft/vscode-azext-azureutils": "^3.1.2", - "@microsoft/vscode-azext-utils": "^2.6.3", + "@microsoft/vscode-azext-azureappsettings": "^0.2.9", + "@microsoft/vscode-azext-azureutils": "^3.5.0", + "@microsoft/vscode-azext-utils": "^3.4.0", "@microsoft/vscode-azureresources-api": "^2.0.3", "@octokit/rest": "^18.5.2", "buffer": "^6.0.3", @@ -34,7 +34,7 @@ "@types/mocha": "^8.2.2", "@types/node": "^16.18.36", "@types/semver": "^7.3.8", - "@types/vscode": "^1.95.0", + "@types/vscode": "^1.98.0", "@typescript-eslint/eslint-plugin": "^5.59.11", "@vscode/test-electron": "^2.3.8", "@vscode/vsce": "^2.19.0", @@ -54,7 +54,7 @@ "webpack-cli": "^4.6.0" }, "engines": { - "vscode": "^1.95.0" + "vscode": "^1.98.0" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -723,17 +723,19 @@ } }, "node_modules/@microsoft/vscode-azext-azureappsettings": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/@microsoft/vscode-azext-azureappsettings/-/vscode-azext-azureappsettings-0.2.0.tgz", - "integrity": "sha512-fHv+m+dOluuYgPCQ7Mt8HoDgguWy8zHWofP3T6uxkuDF8VAJbjl9LFYHwV0frVcK4Qgxcj95QDjw5AMSUMHtqw==", + "version": "0.2.9", + "resolved": "https://registry.npmjs.org/@microsoft/vscode-azext-azureappsettings/-/vscode-azext-azureappsettings-0.2.9.tgz", + "integrity": "sha512-uRDx4rVR1Yvk5bLZ7oa5o+DbbHmFg+8IolO8Xjn83oBf/Jg4/xuDSMJu2AyG55e10DdJS7SlywBTap2JyD+XEw==", + "license": "MIT", "dependencies": { - "@microsoft/vscode-azext-utils": "^2.0.0" + "@microsoft/vscode-azext-utils": "^3.4.0" } }, "node_modules/@microsoft/vscode-azext-azureutils": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/@microsoft/vscode-azext-azureutils/-/vscode-azext-azureutils-3.1.2.tgz", - "integrity": "sha512-d0L063tEwByViMFMUyVW2wXO7E+ejSMN8b1P32qiNZkAV7vUELcgQCSvC1wUEV8ilWnarGPlBsbJX3J93NnM+g==", + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/@microsoft/vscode-azext-azureutils/-/vscode-azext-azureutils-3.5.0.tgz", + "integrity": "sha512-vmZtSbKgdyx/9XSek5PDYar/UAF8s5CaUiGYPw7K7bMKb6W8ogz0iN9B/4g3o3ILFe2sTGj1yyv1fC8magPz5A==", + "license": "MIT", "dependencies": { "@azure/arm-authorization": "^9.0.0", "@azure/arm-authorization-profile-2020-09-01-hybrid": "^2.1.0", @@ -746,7 +748,7 @@ "@azure/core-client": "^1.6.0", "@azure/core-rest-pipeline": "^1.9.0", "@azure/logger": "^1.0.4", - "@microsoft/vscode-azext-utils": "^2.5.7", + "@microsoft/vscode-azext-utils": "^3.4.0", "semver": "^7.3.7", "uuid": "^9.0.0" }, @@ -754,14 +756,6 @@ "@azure/ms-rest-azure-env": "^2.0.0" } }, - "node_modules/@microsoft/vscode-azext-azureutils/node_modules/uuid": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.0.tgz", - "integrity": "sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg==", - "bin": { - "uuid": "dist/bin/uuid" - } - }, "node_modules/@microsoft/vscode-azext-dev": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/@microsoft/vscode-azext-dev/-/vscode-azext-dev-2.0.4.tgz", @@ -859,12 +853,12 @@ } }, "node_modules/@microsoft/vscode-azext-utils": { - "version": "2.6.3", - "resolved": "https://registry.npmjs.org/@microsoft/vscode-azext-utils/-/vscode-azext-utils-2.6.3.tgz", - "integrity": "sha512-eogbgZH1KQkGWstl9qb1Tq4DQH+JJCHLHZelIbnzIKE8JKxr8Et/byn3OuL5nL1qeITQQn3+AYVsbj2hbljM7w==", + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/@microsoft/vscode-azext-utils/-/vscode-azext-utils-3.4.0.tgz", + "integrity": "sha512-N7XwdasZycNbsdPm0EBi/KVE/AK3eL3U8/qPQk/2MGKGGM23O3/T7NmUfnwyIXe0vRjH2O6jzhlsXFq0cDftvQ==", "license": "MIT", "dependencies": { - "@microsoft/vscode-azureresources-api": "^2.3.1", + "@microsoft/vscode-azureresources-api": "^2.6.0", "@vscode/extension-telemetry": "^0.9.6", "dayjs": "^1.11.2", "escape-string-regexp": "^2.0.0", @@ -878,18 +872,11 @@ "@azure/ms-rest-azure-env": "^2.0.0" } }, - "node_modules/@microsoft/vscode-azext-utils/node_modules/uuid": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.0.tgz", - "integrity": "sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg==", - "bin": { - "uuid": "dist/bin/uuid" - } - }, "node_modules/@microsoft/vscode-azureresources-api": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/@microsoft/vscode-azureresources-api/-/vscode-azureresources-api-2.3.2.tgz", - "integrity": "sha512-hwG8Q1ywk7faPIyKLRT5Lfk9usl5i0mIxqyVEWxs4gBi5Jfq4d90WEJbHJLX72v6HS+4KQCKJ0h0XhNS7y4OZg==", + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@microsoft/vscode-azureresources-api/-/vscode-azureresources-api-2.6.0.tgz", + "integrity": "sha512-pvNRLt0/xi7BMP53WQM/vaYf77wRJxAIeqLbVHucpKqV3BLt5hlTjBevQNlo0RyxuAECIE09xO1Gt24pVmsJ3Q==", + "license": "MIT", "peerDependencies": { "@azure/ms-rest-azure-env": "^2.0.0" } @@ -1289,7 +1276,8 @@ "version": "1.98.0", "resolved": "https://registry.npmjs.org/@types/vscode/-/vscode-1.98.0.tgz", "integrity": "sha512-+KuiWhpbKBaG2egF+51KjbGWatTH5BbmWQjSLMDCssb4xF8FJnW4nGH4nuAdOOfMbpD0QlHtI+C3tPq+DoKElg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@typescript-eslint/eslint-plugin": { "version": "5.59.11", @@ -8267,6 +8255,19 @@ "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", "dev": true }, + "node_modules/uuid": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz", + "integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==", + "funding": [ + "https://github.com/sponsors/broofa", + "https://github.com/sponsors/ctavan" + ], + "license": "MIT", + "bin": { + "uuid": "dist/bin/uuid" + } + }, "node_modules/v8-compile-cache-lib": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz", diff --git a/package.json b/package.json index 3e5ba1d44..5a08dce49 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "icon": "resources/azure-staticwebapps.png", "aiKey": "0c6ae279ed8443289764825290e4f9e2-1a736e7c-1324-4338-be46-fc2a58ae4d14-7255", "engines": { - "vscode": "^1.95.0" + "vscode": "^1.98.0" }, "repository": { "type": "git", @@ -474,7 +474,7 @@ "@types/mocha": "^8.2.2", "@types/node": "^16.18.36", "@types/semver": "^7.3.8", - "@types/vscode": "^1.95.0", + "@types/vscode": "^1.98.0", "@typescript-eslint/eslint-plugin": "^5.59.11", "@vscode/test-electron": "^2.3.8", "@vscode/vsce": "^2.19.0", @@ -496,9 +496,9 @@ "dependencies": { "@azure/arm-appservice": "^11.0.0", "@azure/arm-resources": "^5.0.0", - "@microsoft/vscode-azext-azureappsettings": "^0.2.0", - "@microsoft/vscode-azext-azureutils": "^3.1.2", - "@microsoft/vscode-azext-utils": "^2.6.3", + "@microsoft/vscode-azext-azureappsettings": "^0.2.9", + "@microsoft/vscode-azext-azureutils": "^3.5.0", + "@microsoft/vscode-azext-utils": "^3.4.0", "@microsoft/vscode-azureresources-api": "^2.0.3", "@octokit/rest": "^18.5.2", "buffer": "^6.0.3", diff --git a/src/vscode-auth.d.ts b/src/vscode-auth.d.ts new file mode 100644 index 000000000..aa5fa1e79 --- /dev/null +++ b/src/vscode-auth.d.ts @@ -0,0 +1,11 @@ +/*--------------------------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + *--------------------------------------------------------------------------------------------*/ + +// Temporary declaration for AuthenticationSessionRequest until it's available in @types/vscode +declare module 'vscode' { + export interface AuthenticationSessionRequest { + readonly scopes: readonly string[]; + } +} \ No newline at end of file