diff --git a/.nvmrc b/.nvmrc index 932b2b01d..d4b7699d3 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -18.15 +20.18.1 diff --git a/package-lock.json b/package-lock.json index c35632c59..16cc1c74f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -43,7 +43,7 @@ "@types/node": "^16.18.36", "@types/semver": "^7.3.8", "@types/tar": "^6.1.11", - "@types/vscode": "^1.82.0", + "@types/vscode": "^1.95.0", "@typescript-eslint/eslint-plugin": "^5.59.11", "@vscode/test-electron": "^2.3.8", "@vscode/vsce": "^2.19.0", @@ -62,7 +62,7 @@ "webpack-cli": "^4.6.0" }, "engines": { - "vscode": "^1.82.0" + "vscode": "^1.95.0" } }, "node_modules/@azure/abort-controller": { @@ -1695,9 +1695,9 @@ } }, "node_modules/@types/vscode": { - "version": "1.82.0", - "resolved": "https://registry.npmjs.org/@types/vscode/-/vscode-1.82.0.tgz", - "integrity": "sha512-VSHV+VnpF8DEm8LNrn8OJ8VuUNcBzN3tMvKrNpbhhfuVjFm82+6v44AbDhLvVFgCzn6vs94EJNTp7w8S6+Q1Rw==", + "version": "1.98.0", + "resolved": "https://registry.npmjs.org/@types/vscode/-/vscode-1.98.0.tgz", + "integrity": "sha512-+KuiWhpbKBaG2egF+51KjbGWatTH5BbmWQjSLMDCssb4xF8FJnW4nGH4nuAdOOfMbpD0QlHtI+C3tPq+DoKElg==", "dev": true }, "node_modules/@typescript-eslint/eslint-plugin": { @@ -10819,9 +10819,9 @@ } }, "@types/vscode": { - "version": "1.82.0", - "resolved": "https://registry.npmjs.org/@types/vscode/-/vscode-1.82.0.tgz", - "integrity": "sha512-VSHV+VnpF8DEm8LNrn8OJ8VuUNcBzN3tMvKrNpbhhfuVjFm82+6v44AbDhLvVFgCzn6vs94EJNTp7w8S6+Q1Rw==", + "version": "1.98.0", + "resolved": "https://registry.npmjs.org/@types/vscode/-/vscode-1.98.0.tgz", + "integrity": "sha512-+KuiWhpbKBaG2egF+51KjbGWatTH5BbmWQjSLMDCssb4xF8FJnW4nGH4nuAdOOfMbpD0QlHtI+C3tPq+DoKElg==", "dev": true }, "@typescript-eslint/eslint-plugin": { diff --git a/package.json b/package.json index 2803ba656..b26a14ade 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "icon": "resources/azure-containerapps.png", "aiKey": "0c6ae279ed8443289764825290e4f9e2-1a736e7c-1324-4338-be46-fc2a58ae4d14-7255", "engines": { - "vscode": "^1.82.0" + "vscode": "^1.95.0" }, "repository": { "type": "git", @@ -821,7 +821,7 @@ "@types/node": "^16.18.36", "@types/semver": "^7.3.8", "@types/tar": "^6.1.11", - "@types/vscode": "^1.82.0", + "@types/vscode": "^1.95.0", "@typescript-eslint/eslint-plugin": "^5.59.11", "@vscode/test-electron": "^2.3.8", "@vscode/vsce": "^2.19.0", diff --git a/src/tree/revisionManagement/RevisionItem.ts b/src/tree/revisionManagement/RevisionItem.ts index bc0eb8b87..712b3fae9 100644 --- a/src/tree/revisionManagement/RevisionItem.ts +++ b/src/tree/revisionManagement/RevisionItem.ts @@ -4,9 +4,9 @@ *--------------------------------------------------------------------------------------------*/ import { KnownActiveRevisionsMode, KnownRevisionProvisioningState, type Revision } from "@azure/arm-appcontainers"; -import { createContextValue, nonNullProp, type TreeItemIconPath } from "@microsoft/vscode-azext-utils"; +import { createContextValue, nonNullProp } from "@microsoft/vscode-azext-utils"; import { type AzureSubscription, type ViewPropertiesModel } from "@microsoft/vscode-azureresources-api"; -import { ThemeColor, ThemeIcon, TreeItemCollapsibleState, type TreeItem } from "vscode"; +import { ThemeColor, ThemeIcon, TreeItemCollapsibleState, type IconPath, type TreeItem } from "vscode"; import { revisionDraftFalseContextValue, revisionDraftTrueContextValue } from "../../constants"; import { ext } from "../../extensionVariables"; import { localize } from "../../utils/localize"; @@ -88,7 +88,7 @@ export class RevisionItem implements RevisionsItemModel { }; } - private get iconPath(): TreeItemIconPath { + private get iconPath(): IconPath { let id: string; let colorId: string;