diff --git a/.eslintrc.json b/.eslintrc.json index 0cb0892db2..369478b085 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -33,42 +33,28 @@ "error", "always" ], - "@typescript-eslint/explicit-function-return-type": [ - "error" - ], + "@typescript-eslint/explicit-function-return-type": "error", + "@typescript-eslint/no-empty-object-type": "off", "@typescript-eslint/no-floating-promises": [ "error", { "ignoreVoid": true } ], - "@typescript-eslint/no-non-null-assertion": [ - "off" - ], + "@typescript-eslint/no-non-null-assertion": "off", + "@typescript-eslint/no-require-imports": "off", "@typescript-eslint/no-unused-vars": [ "error", { "argsIgnorePattern": "^_" } ], - "@typescript-eslint/no-unsafe-argument": [ - "off" - ], - "@typescript-eslint/no-unsafe-assignment": [ - "off" - ], - "@typescript-eslint/no-unsafe-call": [ - "off" - ], - "@typescript-eslint/no-unsafe-member-access": [ - "off" - ], - "@typescript-eslint/no-unsafe-return": [ - "off" - ], - "@typescript-eslint/restrict-template-expressions": [ - "off" - ], + "@typescript-eslint/no-unsafe-argument": "off", + "@typescript-eslint/no-unsafe-assignment": "off", + "@typescript-eslint/no-unsafe-call": "off", + "@typescript-eslint/no-unsafe-member-access": "off", + "@typescript-eslint/no-unsafe-return": "off", + "@typescript-eslint/restrict-template-expressions": "off", "@typescript-eslint/prefer-nullish-coalescing": [ "error", { diff --git a/package-lock.json b/package-lock.json index 157b63dd84..cb2c021036 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,16 +9,16 @@ "version": "2024.2.2", "license": "SEE LICENSE IN LICENSE.txt", "dependencies": { - "@vscode/extension-telemetry": "^0.9.6", + "@vscode/extension-telemetry": "^0.9.7", "node-fetch": "^2.7.0", - "semver": "^7.6.2", + "semver": "^7.6.3", "untildify": "^4.0.0", "uuid": "^9.0.1", "vscode-languageclient": "^9.0.1", "vscode-languageserver-protocol": "^3.17.5" }, "devDependencies": { - "@vscode/vsce": "^2.30.0", + "@vscode/vsce": "^3.1.0", "esbuild": "^0.21.5" }, "engines": { @@ -27,7 +27,7 @@ "optionalDependencies": { "@types/mocha": "^10.0.7", "@types/mock-fs": "^4.13.4", - "@types/node": "~18.15.0", + "@types/node": "^18.19.50", "@types/node-fetch": "^2.6.11", "@types/rewire": "^2.5.30", "@types/semver": "^7.5.8", @@ -35,22 +35,22 @@ "@types/ungap__structured-clone": "^1.2.0", "@types/uuid": "^9.0.8", "@types/vscode": "~1.82.0", - "@typescript-eslint/eslint-plugin": "^7.16.0", - "@typescript-eslint/parser": "^7.16.0", + "@typescript-eslint/eslint-plugin": "^8.5.0", + "@typescript-eslint/parser": "^8.5.0", "@ungap/structured-clone": "^1.2.0", - "@vscode/debugprotocol": "^1.66.0", + "@vscode/debugprotocol": "^1.67.0", "@vscode/test-electron": "^2.4.1", "eslint": "^8.57.0", "eslint-plugin-header": "^3.1.1", - "glob": "^10.4.5", - "mocha": "^10.6.0", + "glob": "^11.0.0", + "mocha": "^10.7.3", "mocha-explorer-launcher-scripts": "^0.4.0", "mocha-multi-reporters": "^1.5.1", "mock-fs": "^5.2.0", "rewire": "^7.0.0", - "sinon": "^18.0.0", + "sinon": "^18.0.1", "source-map-support": "^0.5.21", - "typescript": "^5.5.3" + "typescript": "^5.6.2" } }, "node_modules/@azure/abort-controller": { @@ -65,8 +65,8 @@ } }, "node_modules/@azure/core-auth": { - "version": "1.7.2", - "integrity": "sha1-VYt8t90SsAvuwHrl31kH103x69k=", + "version": "1.8.0", + "integrity": "sha1-KBtKbTMJw+exW82WfwHUx5rkodY=", "dev": true, "dependencies": { "@azure/abort-controller": "^2.0.0", @@ -117,12 +117,12 @@ } }, "node_modules/@azure/core-rest-pipeline": { - "version": "1.16.2", - "integrity": "sha1-P3GwnkWmWSbMWYR4tPG80P5nv0s=", + "version": "1.17.0", + "integrity": "sha1-Vdr6EJNVPFSe1tjbymmqUFx7OqM=", "dev": true, "dependencies": { "@azure/abort-controller": "^2.0.0", - "@azure/core-auth": "^1.4.0", + "@azure/core-auth": "^1.8.0", "@azure/core-tracing": "^1.0.1", "@azure/core-util": "^1.9.0", "@azure/logger": "^1.0.0", @@ -157,8 +157,8 @@ } }, "node_modules/@azure/core-util": { - "version": "1.9.1", - "integrity": "sha1-BeqVBcXN8pxVzPmaZIxm3dZ4WQs=", + "version": "1.10.0", + "integrity": "sha1-zzFjOC1ANDlyhIyRSGmGTfXUS9s=", "dev": true, "dependencies": { "@azure/abort-controller": "^2.0.0", @@ -180,8 +180,8 @@ } }, "node_modules/@azure/identity": { - "version": "4.3.0", - "integrity": "sha1-6NprO/HfTeFRHoE6cWaktbSpnKE=", + "version": "4.4.1", + "integrity": "sha1-SQ+irSZ4Yimvo2QRiSu1Pfo0eNM=", "dev": true, "dependencies": { "@azure/abort-controller": "^1.0.0", @@ -191,7 +191,7 @@ "@azure/core-tracing": "^1.0.0", "@azure/core-util": "^1.3.0", "@azure/logger": "^1.0.0", - "@azure/msal-browser": "^3.11.1", + "@azure/msal-browser": "^3.14.0", "@azure/msal-node": "^2.9.2", "events": "^3.0.0", "jws": "^4.0.0", @@ -204,8 +204,8 @@ } }, "node_modules/@azure/logger": { - "version": "1.1.3", - "integrity": "sha1-Caj9SFC5EShldW6S1ei3KO5Fc0U=", + "version": "1.1.4", + "integrity": "sha1-Ijy/K0JN+mZHjOmk9XX1nG83l2g=", "dev": true, "dependencies": { "tslib": "^2.6.2" @@ -215,30 +215,30 @@ } }, "node_modules/@azure/msal-browser": { - "version": "3.19.0", - "integrity": "sha1-9szoeTjc2IOZM75wEfUdwnwcKi8=", + "version": "3.23.0", + "integrity": "sha1-RGqvJoJH5ZQ/Rk8AfTqjoEq/6Vs=", "dev": true, "dependencies": { - "@azure/msal-common": "14.13.0" + "@azure/msal-common": "14.14.2" }, "engines": { "node": ">=0.8.0" } }, "node_modules/@azure/msal-common": { - "version": "14.13.0", - "integrity": "sha1-c3e0kJpG0Z6pHa3SSvdwXmqpR68=", + "version": "14.14.2", + "integrity": "sha1-WDtKycCJlTcY16Xi87jfLU27F/Q=", "dev": true, "engines": { "node": ">=0.8.0" } }, "node_modules/@azure/msal-node": { - "version": "2.11.0", - "integrity": "sha1-xlsT/UAHqDqOt4DT0Yfl0zTMlEQ=", + "version": "2.13.1", + "integrity": "sha1-8UQ3EnW3w8vlZHYrhHcqlzJFekc=", "dev": true, "dependencies": { - "@azure/msal-common": "14.13.0", + "@azure/msal-common": "14.14.2", "jsonwebtoken": "^9.0.0", "uuid": "^8.3.0" }, @@ -724,7 +724,8 @@ "node_modules/@isaacs/cliui": { "version": "8.0.2", "integrity": "sha1-s3Znt7wYHBaHgiWbq0JHT79StVA=", - "optional": true, + "devOptional": true, + "license": "ISC", "dependencies": { "string-width": "^5.1.2", "string-width-cjs": "npm:string-width@^4.2.0", @@ -738,9 +739,10 @@ } }, "node_modules/@isaacs/cliui/node_modules/ansi-regex": { - "version": "6.0.1", - "integrity": "sha1-MYPjj66aZdfLXlOUXNWJfQJgoGo=", - "optional": true, + "version": "6.1.0", + "integrity": "sha1-lexAnGlhnWyxuLNPFLZg7yjr1lQ=", + "devOptional": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -751,7 +753,8 @@ "node_modules/@isaacs/cliui/node_modules/strip-ansi": { "version": "7.1.0", "integrity": "sha1-1bZWjKaJ2FYTcLBwdoXSJDT6/0U=", - "optional": true, + "devOptional": true, + "license": "MIT", "dependencies": { "ansi-regex": "^6.0.1" }, @@ -763,10 +766,10 @@ } }, "node_modules/@microsoft/1ds-core-js": { - "version": "4.3.0", - "integrity": "sha1-XIgGFM41L8ZsNK5/uxbN255cL6w=", + "version": "4.3.2", + "integrity": "sha1-4Qsocf796Wja2r8tk1vh+cxiI2M=", "dependencies": { - "@microsoft/applicationinsights-core-js": "3.3.0", + "@microsoft/applicationinsights-core-js": "3.3.2", "@microsoft/applicationinsights-shims": "3.0.1", "@microsoft/dynamicproto-js": "^2.0.3", "@nevware21/ts-async": ">= 0.5.2 < 2.x", @@ -774,10 +777,10 @@ } }, "node_modules/@microsoft/1ds-post-js": { - "version": "4.3.0", - "integrity": "sha1-FP9w3FgEsPqcIyMPe2U6D7obLcM=", + "version": "4.3.2", + "integrity": "sha1-MLASqzayr5GuetbwKxEq67pJp94=", "dependencies": { - "@microsoft/1ds-core-js": "4.3.0", + "@microsoft/1ds-core-js": "4.3.2", "@microsoft/applicationinsights-shims": "3.0.1", "@microsoft/dynamicproto-js": "^2.0.3", "@nevware21/ts-async": ">= 0.5.2 < 2.x", @@ -785,36 +788,36 @@ } }, "node_modules/@microsoft/applicationinsights-channel-js": { - "version": "3.3.0", - "integrity": "sha1-/KhHqeFLa4L4tXoP64i2CKV9mrE=", + "version": "3.3.2", + "integrity": "sha1-vXJ6rCH5zMIchVMCjBHrji40PMc=", "dependencies": { - "@microsoft/applicationinsights-common": "3.3.0", - "@microsoft/applicationinsights-core-js": "3.3.0", + "@microsoft/applicationinsights-common": "3.3.2", + "@microsoft/applicationinsights-core-js": "3.3.2", "@microsoft/applicationinsights-shims": "3.0.1", "@microsoft/dynamicproto-js": "^2.0.3", "@nevware21/ts-async": ">= 0.5.2 < 2.x", "@nevware21/ts-utils": ">= 0.11.3 < 2.x" }, "peerDependencies": { - "tslib": "*" + "tslib": ">= 1.0.0" } }, "node_modules/@microsoft/applicationinsights-common": { - "version": "3.3.0", - "integrity": "sha1-+136Im/n4ISeRJd8u51NvOSb+Co=", + "version": "3.3.2", + "integrity": "sha1-Y7i63rWsqwixugBRXeud3wTksBA=", "dependencies": { - "@microsoft/applicationinsights-core-js": "3.3.0", + "@microsoft/applicationinsights-core-js": "3.3.2", "@microsoft/applicationinsights-shims": "3.0.1", "@microsoft/dynamicproto-js": "^2.0.3", "@nevware21/ts-utils": ">= 0.11.3 < 2.x" }, "peerDependencies": { - "tslib": "*" + "tslib": ">= 1.0.0" } }, "node_modules/@microsoft/applicationinsights-core-js": { - "version": "3.3.0", - "integrity": "sha1-tOTaO9ScPRQQf3vrYVLVIUMkshQ=", + "version": "3.3.2", + "integrity": "sha1-dK3oOUYWTLAAa47dy7IwHEzgadQ=", "dependencies": { "@microsoft/applicationinsights-shims": "3.0.1", "@microsoft/dynamicproto-js": "^2.0.3", @@ -822,7 +825,7 @@ "@nevware21/ts-utils": ">= 0.11.3 < 2.x" }, "peerDependencies": { - "tslib": "*" + "tslib": ">= 1.0.0" } }, "node_modules/@microsoft/applicationinsights-shims": { @@ -833,19 +836,19 @@ } }, "node_modules/@microsoft/applicationinsights-web-basic": { - "version": "3.3.0", - "integrity": "sha1-5/xTINX49zfZT+PNs5Jy1hqtXiI=", + "version": "3.3.2", + "integrity": "sha1-7tRwrWxPJXwryO+V2/R/dQirNh0=", "dependencies": { - "@microsoft/applicationinsights-channel-js": "3.3.0", - "@microsoft/applicationinsights-common": "3.3.0", - "@microsoft/applicationinsights-core-js": "3.3.0", + "@microsoft/applicationinsights-channel-js": "3.3.2", + "@microsoft/applicationinsights-common": "3.3.2", + "@microsoft/applicationinsights-core-js": "3.3.2", "@microsoft/applicationinsights-shims": "3.0.1", "@microsoft/dynamicproto-js": "^2.0.3", "@nevware21/ts-async": ">= 0.5.2 < 2.x", "@nevware21/ts-utils": ">= 0.11.3 < 2.x" }, "peerDependencies": { - "tslib": "*" + "tslib": ">= 1.0.0" } }, "node_modules/@microsoft/dynamicproto-js": { @@ -901,6 +904,7 @@ "node_modules/@pkgjs/parseargs": { "version": "0.11.0", "integrity": "sha1-p36nQvqyV3UUVDTrHSMoz1ATrDM=", + "license": "MIT", "optional": true, "engines": { "node": ">=14" @@ -941,8 +945,8 @@ } }, "node_modules/@sinonjs/text-encoding": { - "version": "0.7.2", - "integrity": "sha1-WYGo2xi1a6OO8O+32ZWxKqe1GRg=", + "version": "0.7.3", + "integrity": "sha1-KCBG8D6IbjUrLV9dpet1XgFFfz8=", "optional": true }, "node_modules/@types/mocha": { @@ -959,9 +963,13 @@ } }, "node_modules/@types/node": { - "version": "18.15.13", - "integrity": "sha1-9kJ3w0EVDJeeQrAOSsKJKQyd9Gk=", - "optional": true + "version": "18.19.50", + "integrity": "sha1-hlKzTufA5+IASz8IGSKBgI1Bv1o=", + "license": "MIT", + "optional": true, + "dependencies": { + "undici-types": "~5.26.4" + } }, "node_modules/@types/node-fetch": { "version": "2.6.11", @@ -1011,30 +1019,30 @@ "optional": true }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "7.16.0", - "integrity": "sha1-s1Y5JzQeyhUSShjG+UIV93n1wCo=", + "version": "8.5.0", + "integrity": "sha1-fBhjaTqYNxcDaG4cD6xk/8V2zbE=", "optional": true, "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "7.16.0", - "@typescript-eslint/type-utils": "7.16.0", - "@typescript-eslint/utils": "7.16.0", - "@typescript-eslint/visitor-keys": "7.16.0", + "@typescript-eslint/scope-manager": "8.5.0", + "@typescript-eslint/type-utils": "8.5.0", + "@typescript-eslint/utils": "8.5.0", + "@typescript-eslint/visitor-keys": "8.5.0", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", "ts-api-utils": "^1.3.0" }, "engines": { - "node": "^18.18.0 || >=20.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "@typescript-eslint/parser": "^7.0.0", - "eslint": "^8.56.0" + "@typescript-eslint/parser": "^8.0.0 || ^8.0.0-alpha.0", + "eslint": "^8.57.0 || ^9.0.0" }, "peerDependenciesMeta": { "typescript": { @@ -1043,25 +1051,25 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "7.16.0", - "integrity": "sha1-U/roES+MkSAkrqe0mc9zdEh69tg=", + "version": "8.5.0", + "integrity": "sha1-1ZDh758x8m1COZmtP2h3IyR+a8w=", "optional": true, "dependencies": { - "@typescript-eslint/scope-manager": "7.16.0", - "@typescript-eslint/types": "7.16.0", - "@typescript-eslint/typescript-estree": "7.16.0", - "@typescript-eslint/visitor-keys": "7.16.0", + "@typescript-eslint/scope-manager": "8.5.0", + "@typescript-eslint/types": "8.5.0", + "@typescript-eslint/typescript-estree": "8.5.0", + "@typescript-eslint/visitor-keys": "8.5.0", "debug": "^4.3.4" }, "engines": { - "node": "^18.18.0 || >=20.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "eslint": "^8.56.0" + "eslint": "^8.57.0 || ^9.0.0" }, "peerDependenciesMeta": { "typescript": { @@ -1070,15 +1078,15 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "7.16.0", - "integrity": "sha1-6wdXr1cgycU8gBDXoDVa4n4Xt+U=", + "version": "8.5.0", + "integrity": "sha1-OFNB3mW5dvArKVuKylS7T/1rXwc=", "optional": true, "dependencies": { - "@typescript-eslint/types": "7.16.0", - "@typescript-eslint/visitor-keys": "7.16.0" + "@typescript-eslint/types": "8.5.0", + "@typescript-eslint/visitor-keys": "8.5.0" }, "engines": { - "node": "^18.18.0 || >=20.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", @@ -1086,25 +1094,22 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "7.16.0", - "integrity": "sha1-7FKxkyuPtEoVo+ICCOC9SdC2vQA=", + "version": "8.5.0", + "integrity": "sha1-YhWyOqOdu9jd4KTvnuD3RUEMKbE=", "optional": true, "dependencies": { - "@typescript-eslint/typescript-estree": "7.16.0", - "@typescript-eslint/utils": "7.16.0", + "@typescript-eslint/typescript-estree": "8.5.0", + "@typescript-eslint/utils": "8.5.0", "debug": "^4.3.4", "ts-api-utils": "^1.3.0" }, "engines": { - "node": "^18.18.0 || >=20.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, - "peerDependencies": { - "eslint": "^8.56.0" - }, "peerDependenciesMeta": { "typescript": { "optional": true @@ -1112,11 +1117,11 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "7.16.0", - "integrity": "sha1-YKGdfnprHKosBvrIYIKdFioDbtI=", + "version": "8.5.0", + "integrity": "sha1-RGXZkzHRJ2+PsgMOT5xz/gGgW/k=", "optional": true, "engines": { - "node": "^18.18.0 || >=20.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", @@ -1124,21 +1129,21 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "7.16.0", - "integrity": "sha1-mKx3nVJvqyp4HlYZySUPPjOGfAk=", + "version": "8.5.0", + "integrity": "sha1-bldYzy9jqobp3fpOKE4uC4G4dVc=", "optional": true, "dependencies": { - "@typescript-eslint/types": "7.16.0", - "@typescript-eslint/visitor-keys": "7.16.0", + "@typescript-eslint/types": "8.5.0", + "@typescript-eslint/visitor-keys": "8.5.0", "debug": "^4.3.4", - "globby": "^11.1.0", + "fast-glob": "^3.3.2", "is-glob": "^4.0.3", "minimatch": "^9.0.4", "semver": "^7.6.0", "ts-api-utils": "^1.3.0" }, "engines": { - "node": "^18.18.0 || >=20.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", @@ -1151,36 +1156,36 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "7.16.0", - "integrity": "sha1-s43Azhd46BguInyY2R00GESaoX8=", + "version": "8.5.0", + "integrity": "sha1-TU/+2W0GVFRqN/qluEvc4W2VFjQ=", "optional": true, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "7.16.0", - "@typescript-eslint/types": "7.16.0", - "@typescript-eslint/typescript-estree": "7.16.0" + "@typescript-eslint/scope-manager": "8.5.0", + "@typescript-eslint/types": "8.5.0", + "@typescript-eslint/typescript-estree": "8.5.0" }, "engines": { - "node": "^18.18.0 || >=20.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "eslint": "^8.56.0" + "eslint": "^8.57.0 || ^9.0.0" } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "7.16.0", - "integrity": "sha1-odmfp6N4eWLW4O/UNlde+EDiOwY=", + "version": "8.5.0", + "integrity": "sha1-EwKN87hm0uPi4sxBk88sHg4ExL8=", "optional": true, "dependencies": { - "@typescript-eslint/types": "7.16.0", + "@typescript-eslint/types": "8.5.0", "eslint-visitor-keys": "^3.4.3" }, "engines": { - "node": "^18.18.0 || >=20.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", @@ -1193,17 +1198,17 @@ "optional": true }, "node_modules/@vscode/debugprotocol": { - "version": "1.66.0", - "integrity": "sha1-4xHudpYFPn17DTDhOElojCI58qg=", + "version": "1.67.0", + "integrity": "sha1-y+72+ejktemjBGj6pvQsluTUIEA=", "optional": true }, "node_modules/@vscode/extension-telemetry": { - "version": "0.9.6", - "integrity": "sha1-lwQZht2uGugNPexXfkrhB+gSLz8=", + "version": "0.9.7", + "integrity": "sha1-OG4IwfmDUL1aNozPJ5pQGgzW3Wc=", "dependencies": { - "@microsoft/1ds-core-js": "^4.1.2", - "@microsoft/1ds-post-js": "^4.1.2", - "@microsoft/applicationinsights-web-basic": "^3.1.2" + "@microsoft/1ds-core-js": "^4.3.0", + "@microsoft/1ds-post-js": "^4.3.0", + "@microsoft/applicationinsights-web-basic": "^3.3.0" }, "engines": { "vscode": "^1.75.0" @@ -1225,8 +1230,8 @@ } }, "node_modules/@vscode/vsce": { - "version": "2.30.0", - "integrity": "sha1-egwWsg71KfopH+nTx/5RoqYT93M=", + "version": "3.1.0", + "integrity": "sha1-4h1JV1RpxzWpTrmbxBBbe+c0nJs=", "dev": true, "dependencies": { "@azure/identity": "^4.1.0", @@ -1237,17 +1242,17 @@ "cockatiel": "^3.1.2", "commander": "^6.2.1", "form-data": "^4.0.0", - "glob": "^7.0.6", + "glob": "^11.0.0", "hosted-git-info": "^4.0.2", "jsonc-parser": "^3.2.0", "leven": "^3.1.0", - "markdown-it": "^12.3.2", + "markdown-it": "^14.1.0", "mime": "^1.3.4", "minimatch": "^3.0.3", "parse-semver": "^1.1.1", "read": "^1.0.7", "semver": "^7.5.2", - "tmp": "^0.2.1", + "tmp": "^0.2.3", "typed-rest-client": "^1.8.4", "url-join": "^4.0.1", "xml2js": "^0.5.0", @@ -1258,7 +1263,7 @@ "vsce": "vsce" }, "engines": { - "node": ">= 16" + "node": ">= 20" }, "optionalDependencies": { "keytar": "^7.7.0" @@ -1389,34 +1394,6 @@ "win32" ] }, - "node_modules/@vscode/vsce/node_modules/brace-expansion": { - "version": "1.1.11", - "integrity": "sha1-PH/L9SnYcibz0vUrlm/1Jx60Qd0=", - "dev": true, - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/@vscode/vsce/node_modules/glob": { - "version": "7.2.3", - "integrity": "sha1-uN8PuAK7+o6JvR2Ti04WV47UTys=", - "dev": true, - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/@vscode/vsce/node_modules/minimatch": { "version": "3.1.2", "integrity": "sha1-Gc0ZS/0+Qo8EmnCBfAONiatL41s=", @@ -1428,6 +1405,15 @@ "node": "*" } }, + "node_modules/@vscode/vsce/node_modules/minimatch/node_modules/brace-expansion": { + "version": "1.1.11", + "integrity": "sha1-PH/L9SnYcibz0vUrlm/1Jx60Qd0=", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, "node_modules/acorn": { "version": "8.12.1", "integrity": "sha1-cWFr3MviXielRDngBG6JynbfIkg=", @@ -1484,7 +1470,7 @@ "node_modules/ansi-regex": { "version": "5.0.1", "integrity": "sha1-CCyyyJyf6GWaMRpTvWpNxTAdswQ=", - "optional": true, + "devOptional": true, "engines": { "node": ">=8" } @@ -1517,14 +1503,6 @@ "integrity": "sha1-JG9Q88p4oyQPbJl+ipvR6sSeSzg=", "devOptional": true }, - "node_modules/array-union": { - "version": "2.1.0", - "integrity": "sha1-t5hCCtvrHego2ErNii4j0+/oXo0=", - "optional": true, - "engines": { - "node": ">=8" - } - }, "node_modules/asynckit": { "version": "0.4.0", "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", @@ -1716,20 +1694,24 @@ } }, "node_modules/cheerio": { - "version": "1.0.0-rc.12", - "integrity": "sha1-eIv3RmUGsca/X65R0kosTWLkdoM=", + "version": "1.0.0", + "integrity": "sha1-Ht5IlagvJuivcQCflhqbjLYNaoE=", "dev": true, "dependencies": { "cheerio-select": "^2.1.0", "dom-serializer": "^2.0.0", "domhandler": "^5.0.3", - "domutils": "^3.0.1", - "htmlparser2": "^8.0.1", - "parse5": "^7.0.0", - "parse5-htmlparser2-tree-adapter": "^7.0.0" + "domutils": "^3.1.0", + "encoding-sniffer": "^0.2.0", + "htmlparser2": "^9.1.0", + "parse5": "^7.1.2", + "parse5-htmlparser2-tree-adapter": "^7.0.0", + "parse5-parser-stream": "^7.1.2", + "undici": "^6.19.5", + "whatwg-mimetype": "^4.0.0" }, "engines": { - "node": ">= 6" + "node": ">=18.17" }, "funding": { "url": "https://github.com/cheeriojs/cheerio?sponsor=1" @@ -1891,8 +1873,8 @@ } }, "node_modules/cockatiel": { - "version": "3.1.3", - "integrity": "sha1-uxd0pJihfnOd2ZTVZhDcZTiwKFg=", + "version": "3.2.1", + "integrity": "sha1-V1+Te8QECiCuJzUqbQfJxadBmB8=", "dev": true, "engines": { "node": ">=16" @@ -1943,7 +1925,7 @@ "node_modules/cross-spawn": { "version": "7.0.3", "integrity": "sha1-9zqFudXUHQRVUcF34ogtSshXKKY=", - "optional": true, + "devOptional": true, "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", @@ -1980,11 +1962,11 @@ } }, "node_modules/debug": { - "version": "4.3.5", - "integrity": "sha1-6DRE7Ouf7dSh2lbWca4kRqAabh4=", + "version": "4.3.7", + "integrity": "sha1-h5RbQVGgEddtlaGY1xEchlw2ClI=", "devOptional": true, "dependencies": { - "ms": "2.1.2" + "ms": "^2.1.3" }, "engines": { "node": ">=6.0" @@ -2084,17 +2066,6 @@ "node": ">=0.3.1" } }, - "node_modules/dir-glob": { - "version": "3.0.1", - "integrity": "sha1-Vtv3PZkqSpO6FYT0U0Bj/S5BcX8=", - "optional": true, - "dependencies": { - "path-type": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/doctrine": { "version": "3.0.0", "integrity": "sha1-rd6+rXKmV023g2OdyHoSF3OXOWE=", @@ -2160,7 +2131,7 @@ "node_modules/eastasianwidth": { "version": "0.2.0", "integrity": "sha1-aWzi7Aqg5uqTo5f/zySqeEDIJ8s=", - "optional": true + "devOptional": true }, "node_modules/ecdsa-sig-formatter": { "version": "1.0.11", @@ -2173,7 +2144,20 @@ "node_modules/emoji-regex": { "version": "9.2.2", "integrity": "sha1-hAyIA7DYBH9P8M+WMXazLU7z7XI=", - "optional": true + "devOptional": true, + "license": "MIT" + }, + "node_modules/encoding-sniffer": { + "version": "0.2.0", + "integrity": "sha1-eZVp1m1EO6voKvGMn0A0mDZe8dU=", + "dev": true, + "dependencies": { + "iconv-lite": "^0.6.3", + "whatwg-encoding": "^3.1.1" + }, + "funding": { + "url": "https://github.com/fb55/encoding-sniffer?sponsor=1" + } }, "node_modules/end-of-stream": { "version": "1.4.4", @@ -2252,8 +2236,8 @@ } }, "node_modules/escalade": { - "version": "3.1.2", - "integrity": "sha1-VAdumrKepb89jx7WKs/7uIJy3yc=", + "version": "3.2.0", + "integrity": "sha1-ARo/aYVroYnf+n3I/M6Z0qh5A+U=", "optional": true, "engines": { "node": ">=6" @@ -2642,9 +2626,9 @@ "optional": true }, "node_modules/foreground-child": { - "version": "3.2.1", - "integrity": "sha1-dnAEzPOlsw3zm+2QcYurQ/4KWfc=", - "optional": true, + "version": "3.3.0", + "integrity": "sha1-CshkTAbkMUOfhWHbjs8pp7VRnHc=", + "devOptional": true, "dependencies": { "cross-spawn": "^7.0.0", "signal-exit": "^4.0.1" @@ -2678,7 +2662,7 @@ "node_modules/fs.realpath": { "version": "1.0.0", "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", - "devOptional": true + "optional": true }, "node_modules/fsevents": { "version": "2.3.3", @@ -2733,20 +2717,24 @@ "optional": true }, "node_modules/glob": { - "version": "10.4.5", - "integrity": "sha1-9NnwuQ/9urCcnXf18ptCYlF7CVY=", - "optional": true, + "version": "11.0.0", + "integrity": "sha1-YDHfDXtl6qHMubKbXO0WzqZY534=", + "devOptional": true, + "license": "ISC", "dependencies": { "foreground-child": "^3.1.0", - "jackspeak": "^3.1.2", - "minimatch": "^9.0.4", + "jackspeak": "^4.0.1", + "minimatch": "^10.0.0", "minipass": "^7.1.2", "package-json-from-dist": "^1.0.0", - "path-scurry": "^1.11.1" + "path-scurry": "^2.0.0" }, "bin": { "glob": "dist/esm/bin.mjs" }, + "engines": { + "node": "20 || >=22" + }, "funding": { "url": "https://github.com/sponsors/isaacs" } @@ -2762,34 +2750,30 @@ "node": ">=10.13.0" } }, - "node_modules/globals": { - "version": "13.24.0", - "integrity": "sha1-hDKhnXjODB6DOUnDats0VAC7EXE=", - "optional": true, + "node_modules/glob/node_modules/minimatch": { + "version": "10.0.1", + "integrity": "sha1-zgUhhWtFPIbiXyxMDQPm/33cRAs=", + "devOptional": true, + "license": "ISC", "dependencies": { - "type-fest": "^0.20.2" + "brace-expansion": "^2.0.1" }, "engines": { - "node": ">=8" + "node": "20 || >=22" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/globby": { - "version": "11.1.0", - "integrity": "sha1-vUvpi7BC+D15b344EZkfvoKg00s=", + "node_modules/globals": { + "version": "13.24.0", + "integrity": "sha1-hDKhnXjODB6DOUnDats0VAC7EXE=", "optional": true, "dependencies": { - "array-union": "^2.1.0", - "dir-glob": "^3.0.1", - "fast-glob": "^3.2.9", - "ignore": "^5.2.0", - "merge2": "^1.4.1", - "slash": "^3.0.0" + "type-fest": "^0.20.2" }, "engines": { - "node": ">=10" + "node": ">=8" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -2883,8 +2867,8 @@ } }, "node_modules/htmlparser2": { - "version": "8.0.2", - "integrity": "sha1-8AIVFwWzg+YkM7XPRm9bcW7a7CE=", + "version": "9.1.0", + "integrity": "sha1-zbSY2KdaUfc5th0/cYE2w2m8jCM=", "dev": true, "funding": [ "https://github.com/fb55/htmlparser2?sponsor=1", @@ -2896,8 +2880,8 @@ "dependencies": { "domelementtype": "^2.3.0", "domhandler": "^5.0.3", - "domutils": "^3.0.1", - "entities": "^4.4.0" + "domutils": "^3.1.0", + "entities": "^4.5.0" } }, "node_modules/http-proxy-agent": { @@ -2924,6 +2908,17 @@ "node": ">= 14" } }, + "node_modules/iconv-lite": { + "version": "0.6.3", + "integrity": "sha1-pS+AvzjaGVLrXGgXkHGYcaGnJQE=", + "dev": true, + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/ieee754": { "version": "1.2.1", "integrity": "sha1-jrehCmP/8l0VpXsAFYbRd9Gw01I=", @@ -2944,8 +2939,8 @@ "optional": true }, "node_modules/ignore": { - "version": "5.3.1", - "integrity": "sha1-UHPlVM1CxbM7OUN19Ti4WT401O8=", + "version": "5.3.2", + "integrity": "sha1-PNQOcp82Q/2HywTlC/DrcivFlvU=", "optional": true, "engines": { "node": ">= 4" @@ -2982,7 +2977,7 @@ "node_modules/inflight": { "version": "1.0.6", "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", - "devOptional": true, + "optional": true, "dependencies": { "once": "^1.3.0", "wrappy": "1" @@ -2991,7 +2986,7 @@ "node_modules/inherits": { "version": "2.0.4", "integrity": "sha1-D6LGT5MpF8NDOg3tVTY6rjdBa3w=", - "devOptional": true + "optional": true }, "node_modules/ini": { "version": "1.3.8", @@ -3035,7 +3030,7 @@ "node_modules/is-fullwidth-code-point": { "version": "3.0.0", "integrity": "sha1-8Rb4Bk/pCz94RKOJl8C3UFEmnx0=", - "optional": true, + "devOptional": true, "engines": { "node": ">=8" } @@ -3116,15 +3111,19 @@ "node_modules/isexe": { "version": "2.0.0", "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", - "optional": true + "devOptional": true }, "node_modules/jackspeak": { - "version": "3.4.3", - "integrity": "sha1-iDOp2Jq0rN5hiJQr0cU7Y5DtWoo=", - "optional": true, + "version": "4.0.1", + "integrity": "sha1-n8pM6WGvYIPiWcN26eNUFDH1KHs=", + "devOptional": true, + "license": "BlueOak-1.0.0", "dependencies": { "@isaacs/cliui": "^8.0.2" }, + "engines": { + "node": "20 || >=22" + }, "funding": { "url": "https://github.com/sponsors/isaacs" }, @@ -3286,11 +3285,11 @@ } }, "node_modules/linkify-it": { - "version": "3.0.3", - "integrity": "sha1-qYuvRM5FpVDvtNScdp0HUkzC+i4=", + "version": "5.0.0", + "integrity": "sha1-nvI4v6bccL2Of5VytS02mvVptCE=", "dev": true, "dependencies": { - "uc.micro": "^1.0.1" + "uc.micro": "^2.0.0" } }, "node_modules/locate-path": { @@ -3448,31 +3447,24 @@ } }, "node_modules/markdown-it": { - "version": "12.3.2", - "integrity": "sha1-v5Kskig/6YP+Tej/ir+1rXLNDJA=", + "version": "14.1.0", + "integrity": "sha1-PDxZkog8Yz20cUzLTXtZNdmLfUU=", "dev": true, "dependencies": { "argparse": "^2.0.1", - "entities": "~2.1.0", - "linkify-it": "^3.0.1", - "mdurl": "^1.0.1", - "uc.micro": "^1.0.5" + "entities": "^4.4.0", + "linkify-it": "^5.0.0", + "mdurl": "^2.0.0", + "punycode.js": "^2.3.1", + "uc.micro": "^2.1.0" }, "bin": { - "markdown-it": "bin/markdown-it.js" - } - }, - "node_modules/markdown-it/node_modules/entities": { - "version": "2.1.0", - "integrity": "sha1-mS0xKc999ocLlsV4WMJJoSD4uLU=", - "dev": true, - "funding": { - "url": "https://github.com/fb55/entities?sponsor=1" + "markdown-it": "bin/markdown-it.mjs" } }, "node_modules/mdurl": { - "version": "1.0.1", - "integrity": "sha1-/oWy7HWlkDfyrf7BAP1sYBdhFS4=", + "version": "2.0.0", + "integrity": "sha1-gGduwEMwJd0+F+6YPQ/o3loiN+A=", "dev": true }, "node_modules/merge2": { @@ -3484,8 +3476,8 @@ } }, "node_modules/micromatch": { - "version": "4.0.7", - "integrity": "sha1-M+gZDZ/kdKmJVSX1YY7uE21GwuU=", + "version": "4.0.8", + "integrity": "sha1-1m+hjzpHB2eJMgubGvMr2G2fogI=", "optional": true, "dependencies": { "braces": "^3.0.3", @@ -3571,7 +3563,7 @@ "node_modules/minipass": { "version": "7.1.2", "integrity": "sha1-k6libOXl5mvU24aEnnUV6SNApwc=", - "optional": true, + "devOptional": true, "engines": { "node": ">=16 || 14 >=14.17" } @@ -3583,8 +3575,8 @@ "optional": true }, "node_modules/mocha": { - "version": "10.6.0", - "integrity": "sha1-Rl/GbFJhMIjhABiYmjuY1eEZVLk=", + "version": "10.7.3", + "integrity": "sha1-rjIAPKu9UrWa7OF4RgVqaOtLB1I=", "optional": true, "dependencies": { "ansi-colors": "^4.1.3", @@ -3687,11 +3679,6 @@ "node": ">=10" } }, - "node_modules/mocha/node_modules/ms": { - "version": "2.1.3", - "integrity": "sha1-V0yBOM4dK1hh8LRFedut1gxmFbI=", - "optional": true - }, "node_modules/mocha/node_modules/supports-color": { "version": "8.1.1", "integrity": "sha1-zW/BfihQDP9WwbhsCn/UpUpzAFw=", @@ -3715,8 +3702,8 @@ } }, "node_modules/ms": { - "version": "2.1.2", - "integrity": "sha1-0J0fNXtEP0kzgqjrPM0YOHKuYAk=", + "version": "2.1.3", + "integrity": "sha1-V0yBOM4dK1hh8LRFedut1gxmFbI=", "devOptional": true }, "node_modules/mute-stream": { @@ -3736,20 +3723,20 @@ "optional": true }, "node_modules/nise": { - "version": "6.0.0", - "integrity": "sha1-rlb8y12RIDc2PDs/Keu/oovei0g=", + "version": "6.0.1", + "integrity": "sha1-WCo0eSmCiSTZ5OnJP3VJgAzQkSw=", "optional": true, "dependencies": { "@sinonjs/commons": "^3.0.0", "@sinonjs/fake-timers": "^11.2.2", "@sinonjs/text-encoding": "^0.7.2", "just-extend": "^6.2.0", - "path-to-regexp": "^6.2.1" + "path-to-regexp": "^8.1.0" } }, "node_modules/node-abi": { - "version": "3.65.0", - "integrity": "sha1-ypLVWTiOHpyrFoChjBoYdXzaydM=", + "version": "3.67.0", + "integrity": "sha1-HRWZB/GNGOGICdu7XfR+0kJqCN8=", "dev": true, "optional": true, "dependencies": { @@ -3816,7 +3803,7 @@ "node_modules/once": { "version": "1.4.0", "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", - "devOptional": true, + "optional": true, "dependencies": { "wrappy": "1" } @@ -3890,8 +3877,8 @@ } }, "node_modules/ora/node_modules/ansi-regex": { - "version": "6.0.1", - "integrity": "sha1-MYPjj66aZdfLXlOUXNWJfQJgoGo=", + "version": "6.1.0", + "integrity": "sha1-lexAnGlhnWyxuLNPFLZg7yjr1lQ=", "optional": true, "engines": { "node": ">=12" @@ -3912,8 +3899,8 @@ } }, "node_modules/ora/node_modules/emoji-regex": { - "version": "10.3.0", - "integrity": "sha1-dpmLkmhAnrPa496YklTUVucM/iM=", + "version": "10.4.0", + "integrity": "sha1-A1U6/qgLOXV0nPyzb3dsomjkE9Q=", "optional": true }, "node_modules/ora/node_modules/is-unicode-supported": { @@ -4003,7 +3990,7 @@ "node_modules/package-json-from-dist": { "version": "1.0.0", "integrity": "sha1-5QHNMJSyeEletCWNTJ9tWsMBnwA=", - "optional": true + "devOptional": true }, "node_modules/pako": { "version": "1.0.11", @@ -4060,6 +4047,17 @@ "url": "https://github.com/inikulin/parse5?sponsor=1" } }, + "node_modules/parse5-parser-stream": { + "version": "7.1.2", + "integrity": "sha1-18IOrcN5aNJy4sAmYP/5LdJ+YOE=", + "dev": true, + "dependencies": { + "parse5": "^7.0.0" + }, + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" + } + }, "node_modules/path-exists": { "version": "4.0.0", "integrity": "sha1-UTvb4tO5XXdi6METfvoZXGxhtbM=", @@ -4071,7 +4069,7 @@ "node_modules/path-is-absolute": { "version": "1.0.1", "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", - "devOptional": true, + "optional": true, "engines": { "node": ">=0.10.0" } @@ -4079,42 +4077,42 @@ "node_modules/path-key": { "version": "3.1.1", "integrity": "sha1-WB9q3mWMu6ZaDTOA3ndTKVBU83U=", - "optional": true, + "devOptional": true, "engines": { "node": ">=8" } }, "node_modules/path-scurry": { - "version": "1.11.1", - "integrity": "sha1-eWCmaIiFlKByCxKpEdGnQqufEdI=", - "optional": true, + "version": "2.0.0", + "integrity": "sha1-nwUiifI62L+Tl6KgQl57hhXFhYA=", + "devOptional": true, + "license": "BlueOak-1.0.0", "dependencies": { - "lru-cache": "^10.2.0", - "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + "lru-cache": "^11.0.0", + "minipass": "^7.1.2" }, "engines": { - "node": ">=16 || 14 >=14.18" + "node": "20 || >=22" }, "funding": { "url": "https://github.com/sponsors/isaacs" } }, "node_modules/path-scurry/node_modules/lru-cache": { - "version": "10.4.3", - "integrity": "sha1-QQ/IoXtw5ZgBPfJXwkRrfzOD8Rk=", - "optional": true + "version": "11.0.1", + "integrity": "sha1-OnMvv+24LFunvKZWStP0Kvy24Uc=", + "devOptional": true, + "license": "ISC", + "engines": { + "node": "20 || >=22" + } }, "node_modules/path-to-regexp": { - "version": "6.2.2", - "integrity": "sha1-MkN3qD5QScvsrcVVTWpjqaSGazY=", - "optional": true - }, - "node_modules/path-type": { - "version": "4.0.0", - "integrity": "sha1-hO0BwKe6OAr+CdkKjBgNzZ0DBDs=", + "version": "8.1.0", + "integrity": "sha1-TWh2Bu0L6O1RK6gC65TWIMsahvA=", "optional": true, "engines": { - "node": ">=8" + "node": ">=16" } }, "node_modules/pend": { @@ -4173,8 +4171,8 @@ "optional": true }, "node_modules/pump": { - "version": "3.0.0", - "integrity": "sha1-tKIRaBW94vTh6mAjVOjHVWUQemQ=", + "version": "3.0.2", + "integrity": "sha1-g28+3WvC7lmSVskk/+DYhXPdy/g=", "dev": true, "optional": true, "dependencies": { @@ -4190,9 +4188,17 @@ "node": ">=6" } }, + "node_modules/punycode.js": { + "version": "2.3.1", + "integrity": "sha1-a1PlatdViCNOefSv+pCXLH3Yzbc=", + "dev": true, + "engines": { + "node": ">=6" + } + }, "node_modules/qs": { - "version": "6.12.3", - "integrity": "sha1-5DzgPIUhucf9fx8T5RTlyjdyd1Q=", + "version": "6.13.0", + "integrity": "sha1-bKO9WEOffiRWVXmJl3h7DYilGQY=", "dev": true, "dependencies": { "side-channel": "^1.0.6" @@ -4443,14 +4449,19 @@ } ] }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "integrity": "sha1-RPoWGwGHuVSd2Eu5GAL5vYOFzWo=", + "dev": true + }, "node_modules/sax": { "version": "1.4.1", "integrity": "sha1-RMyJiDd/EmME07P8EBDHM7kp7w8=", "dev": true }, "node_modules/semver": { - "version": "7.6.2", - "integrity": "sha1-Hjs0dZ+Jbo8U1hNHMs55iusMbhM=", + "version": "7.6.3", + "integrity": "sha1-mA97VVC8F1+03AlAMIVif56zMUM=", "bin": { "semver": "bin/semver.js" }, @@ -4490,7 +4501,7 @@ "node_modules/shebang-command": { "version": "2.0.0", "integrity": "sha1-zNCvT4g1+9wmW4JGGq8MNmY/NOo=", - "optional": true, + "devOptional": true, "dependencies": { "shebang-regex": "^3.0.0" }, @@ -4501,7 +4512,7 @@ "node_modules/shebang-regex": { "version": "3.0.0", "integrity": "sha1-rhbxZE2HPsrYQ7AwexQzYtTEIXI=", - "optional": true, + "devOptional": true, "engines": { "node": ">=8" } @@ -4526,7 +4537,7 @@ "node_modules/signal-exit": { "version": "4.1.0", "integrity": "sha1-lSGIwcvVRgcOLdIND0HArgUwywQ=", - "optional": true, + "devOptional": true, "engines": { "node": ">=14" }, @@ -4580,12 +4591,12 @@ } }, "node_modules/sinon": { - "version": "18.0.0", - "integrity": "sha1-acopPbw+glkKiw1GyX9j68Hl/AE=", + "version": "18.0.1", + "integrity": "sha1-RkM0zf6izdxe2ppOp+Lj8MepHF4=", "optional": true, "dependencies": { "@sinonjs/commons": "^3.0.1", - "@sinonjs/fake-timers": "^11.2.2", + "@sinonjs/fake-timers": "11.2.2", "@sinonjs/samsam": "^8.0.0", "diff": "^5.2.0", "nise": "^6.0.0", @@ -4615,14 +4626,6 @@ "node": ">=8" } }, - "node_modules/slash": { - "version": "3.0.0", - "integrity": "sha1-ZTm+hwwWWtvVJAIg2+Nh8bxNRjQ=", - "optional": true, - "engines": { - "node": ">=8" - } - }, "node_modules/source-map": { "version": "0.6.1", "integrity": "sha1-dHIq8y6WFOnCh6jQu95IteLxomM=", @@ -4690,7 +4693,8 @@ "node_modules/string-width": { "version": "5.1.2", "integrity": "sha1-FPja7G2B5yIdKjV+Zoyrc728p5Q=", - "optional": true, + "devOptional": true, + "license": "MIT", "dependencies": { "eastasianwidth": "^0.2.0", "emoji-regex": "^9.2.2", @@ -4707,7 +4711,8 @@ "name": "string-width", "version": "4.2.3", "integrity": "sha1-JpxxF9J7Ba0uU2gwqOyJXvnG0BA=", - "optional": true, + "devOptional": true, + "license": "MIT", "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -4720,12 +4725,14 @@ "node_modules/string-width-cjs/node_modules/emoji-regex": { "version": "8.0.0", "integrity": "sha1-6Bj9ac5cz8tARZT4QpY79TFkzDc=", - "optional": true + "devOptional": true, + "license": "MIT" }, "node_modules/string-width/node_modules/ansi-regex": { - "version": "6.0.1", - "integrity": "sha1-MYPjj66aZdfLXlOUXNWJfQJgoGo=", - "optional": true, + "version": "6.1.0", + "integrity": "sha1-lexAnGlhnWyxuLNPFLZg7yjr1lQ=", + "devOptional": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -4736,7 +4743,8 @@ "node_modules/string-width/node_modules/strip-ansi": { "version": "7.1.0", "integrity": "sha1-1bZWjKaJ2FYTcLBwdoXSJDT6/0U=", - "optional": true, + "devOptional": true, + "license": "MIT", "dependencies": { "ansi-regex": "^6.0.1" }, @@ -4750,7 +4758,7 @@ "node_modules/strip-ansi": { "version": "6.0.1", "integrity": "sha1-nibGPTD1NEPpSJSVshBdN7Z6hdk=", - "optional": true, + "devOptional": true, "dependencies": { "ansi-regex": "^5.0.1" }, @@ -4762,7 +4770,8 @@ "name": "strip-ansi", "version": "6.0.1", "integrity": "sha1-nibGPTD1NEPpSJSVshBdN7Z6hdk=", - "optional": true, + "devOptional": true, + "license": "MIT", "dependencies": { "ansi-regex": "^5.0.1" }, @@ -4914,8 +4923,8 @@ } }, "node_modules/tslib": { - "version": "2.6.3", - "integrity": "sha1-BDj4EK16ntzeeiQcPYDbaTyMv+A=" + "version": "2.7.0", + "integrity": "sha1-2bQMXECrWehzjyl98wh78aJpDAE=" }, "node_modules/tunnel": { "version": "0.0.6", @@ -4978,8 +4987,8 @@ } }, "node_modules/typescript": { - "version": "5.5.3", - "integrity": "sha1-4bCjw5QZCDigsWjncbCtVqCvD6o=", + "version": "5.6.2", + "integrity": "sha1-0d5ntr73fEGCP4It+PCzvP9gpaA=", "optional": true, "bin": { "tsc": "bin/tsc", @@ -4990,15 +4999,29 @@ } }, "node_modules/uc.micro": { - "version": "1.0.6", - "integrity": "sha1-nEEagCpAmpH8bPdAgbq6NLJEmaw=", + "version": "2.1.0", + "integrity": "sha1-+NP30OxMPeo1p+PI76TLi0XJ5+4=", "dev": true }, "node_modules/underscore": { - "version": "1.13.6", - "integrity": "sha1-BHhqH1idxsCfdh/F9FuJ6TUTZEE=", + "version": "1.13.7", + "integrity": "sha1-lw4zljr5p92iKPF+voOZ5fvmOhA=", "dev": true }, + "node_modules/undici": { + "version": "6.19.8", + "integrity": "sha1-AC18iij4zDpE/zPD1L5NheFdQOE=", + "dev": true, + "engines": { + "node": ">=18.17" + } + }, + "node_modules/undici-types": { + "version": "5.26.5", + "integrity": "sha1-vNU5iT0AtW6WT9JlekhmsiGmVhc=", + "license": "MIT", + "optional": true + }, "node_modules/untildify": { "version": "4.0.0", "integrity": "sha1-K8lHuVNlJIfkYAlJ+wkeOujNkZs=", @@ -5098,6 +5121,25 @@ "version": "3.0.1", "integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE=" }, + "node_modules/whatwg-encoding": { + "version": "3.1.1", + "integrity": "sha1-0PTvdpkF1CbhaI8+NDgambYLduU=", + "dev": true, + "dependencies": { + "iconv-lite": "0.6.3" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/whatwg-mimetype": { + "version": "4.0.0", + "integrity": "sha1-vBv5SphdxQOI1UqSWKxAXDyi/Ao=", + "dev": true, + "engines": { + "node": ">=18" + } + }, "node_modules/whatwg-url": { "version": "5.0.0", "integrity": "sha1-lmRU6HZUYuN2RNNib2dCzotwll0=", @@ -5109,7 +5151,7 @@ "node_modules/which": { "version": "2.0.2", "integrity": "sha1-fGqN0KY2oDJ+ELWckobu6T8/UbE=", - "optional": true, + "devOptional": true, "dependencies": { "isexe": "^2.0.0" }, @@ -5136,7 +5178,8 @@ "node_modules/wrap-ansi": { "version": "8.1.0", "integrity": "sha1-VtwiNo7lcPrOG0mBmXXZuaXq0hQ=", - "optional": true, + "devOptional": true, + "license": "MIT", "dependencies": { "ansi-styles": "^6.1.0", "string-width": "^5.0.1", @@ -5153,7 +5196,8 @@ "name": "wrap-ansi", "version": "7.0.0", "integrity": "sha1-Z+FFz/UQpqaYS98RUpEdadLrnkM=", - "optional": true, + "devOptional": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", @@ -5169,7 +5213,8 @@ "node_modules/wrap-ansi-cjs/node_modules/ansi-styles": { "version": "4.3.0", "integrity": "sha1-7dgDYornHATIWuegkG7a00tkiTc=", - "optional": true, + "devOptional": true, + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -5183,7 +5228,8 @@ "node_modules/wrap-ansi-cjs/node_modules/color-convert": { "version": "2.0.1", "integrity": "sha1-ctOmjVmMm9s68q0ehPIdiWq9TeM=", - "optional": true, + "devOptional": true, + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -5194,17 +5240,20 @@ "node_modules/wrap-ansi-cjs/node_modules/color-name": { "version": "1.1.4", "integrity": "sha1-wqCah6y95pVD3m9j+jmVyCbFNqI=", - "optional": true + "devOptional": true, + "license": "MIT" }, "node_modules/wrap-ansi-cjs/node_modules/emoji-regex": { "version": "8.0.0", "integrity": "sha1-6Bj9ac5cz8tARZT4QpY79TFkzDc=", - "optional": true + "devOptional": true, + "license": "MIT" }, "node_modules/wrap-ansi-cjs/node_modules/string-width": { "version": "4.2.3", "integrity": "sha1-JpxxF9J7Ba0uU2gwqOyJXvnG0BA=", - "optional": true, + "devOptional": true, + "license": "MIT", "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -5215,9 +5264,10 @@ } }, "node_modules/wrap-ansi/node_modules/ansi-regex": { - "version": "6.0.1", - "integrity": "sha1-MYPjj66aZdfLXlOUXNWJfQJgoGo=", - "optional": true, + "version": "6.1.0", + "integrity": "sha1-lexAnGlhnWyxuLNPFLZg7yjr1lQ=", + "devOptional": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -5228,7 +5278,8 @@ "node_modules/wrap-ansi/node_modules/ansi-styles": { "version": "6.2.1", "integrity": "sha1-DmIyDPmcIa//OzASGSVGqsv7BcU=", - "optional": true, + "devOptional": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -5239,7 +5290,8 @@ "node_modules/wrap-ansi/node_modules/strip-ansi": { "version": "7.1.0", "integrity": "sha1-1bZWjKaJ2FYTcLBwdoXSJDT6/0U=", - "optional": true, + "devOptional": true, + "license": "MIT", "dependencies": { "ansi-regex": "^6.0.1" }, @@ -5253,7 +5305,7 @@ "node_modules/wrappy": { "version": "1.0.2", "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", - "devOptional": true + "optional": true }, "node_modules/xml2js": { "version": "0.5.0", diff --git a/package.json b/package.json index 57cbd1b3b7..325d573c30 100644 --- a/package.json +++ b/package.json @@ -73,22 +73,22 @@ "onWalkthrough:PowerShell" ], "dependencies": { - "@vscode/extension-telemetry": "^0.9.6", + "@vscode/extension-telemetry": "^0.9.7", "node-fetch": "^2.7.0", - "semver": "^7.6.2", + "semver": "^7.6.3", "untildify": "^4.0.0", "uuid": "^9.0.1", "vscode-languageclient": "^9.0.1", "vscode-languageserver-protocol": "^3.17.5" }, "devDependencies": { - "@vscode/vsce": "^2.30.0", + "@vscode/vsce": "^3.1.0", "esbuild": "^0.21.5" }, "optionalDependencies": { "@types/mocha": "^10.0.7", "@types/mock-fs": "^4.13.4", - "@types/node": "~18.15.0", + "@types/node": "^18.19.50", "@types/node-fetch": "^2.6.11", "@types/rewire": "^2.5.30", "@types/semver": "^7.5.8", @@ -96,22 +96,22 @@ "@types/ungap__structured-clone": "^1.2.0", "@types/uuid": "^9.0.8", "@types/vscode": "~1.82.0", - "@typescript-eslint/eslint-plugin": "^7.16.0", - "@typescript-eslint/parser": "^7.16.0", + "@typescript-eslint/eslint-plugin": "^8.5.0", + "@typescript-eslint/parser": "^8.5.0", "@ungap/structured-clone": "^1.2.0", - "@vscode/debugprotocol": "^1.66.0", + "@vscode/debugprotocol": "^1.67.0", "@vscode/test-electron": "^2.4.1", "eslint": "^8.57.0", "eslint-plugin-header": "^3.1.1", - "glob": "^10.4.5", - "mocha": "^10.6.0", + "glob": "^11.0.0", + "mocha": "^10.7.3", "mocha-explorer-launcher-scripts": "^0.4.0", "mocha-multi-reporters": "^1.5.1", "mock-fs": "^5.2.0", "rewire": "^7.0.0", - "sinon": "^18.0.0", + "sinon": "^18.0.1", "source-map-support": "^0.5.21", - "typescript": "^5.5.3" + "typescript": "^5.6.2" }, "extensionDependencies": [ "vscode.powershell" diff --git a/src/controls/checkboxQuickPick.ts b/src/controls/checkboxQuickPick.ts index 1ec18b5b3e..e318992365 100644 --- a/src/controls/checkboxQuickPick.ts +++ b/src/controls/checkboxQuickPick.ts @@ -73,7 +73,7 @@ async function showInner( } function getItemIndex(items: ICheckboxQuickPickItem[], itemLabel: string): number { - const trimmedLabel = itemLabel.substr(itemLabel.indexOf("]") + 2); + const trimmedLabel = itemLabel.substring(itemLabel.indexOf("]") + 2); return items.findIndex((item) => item.label === trimmedLabel); } diff --git a/src/features/CodeActions.ts b/src/features/CodeActions.ts index 1673b3e39f..23aac14986 100644 --- a/src/features/CodeActions.ts +++ b/src/features/CodeActions.ts @@ -32,7 +32,7 @@ export class CodeActionsFeature implements vscode.Disposable { } if (ruleId.startsWith("PS")) { - ruleId = ruleId.substr(2); + ruleId = ruleId.substring(2); } await vscode.commands.executeCommand("vscode.open", vscode.Uri.parse(pssaDocBaseURL + ruleId)); diff --git a/src/features/HelpCompletion.ts b/src/features/HelpCompletion.ts index 426da44df8..a5dc47459d 100644 --- a/src/features/HelpCompletion.ts +++ b/src/features/HelpCompletion.ts @@ -175,7 +175,7 @@ class HelpCompletionProvider extends LanguageClientConsumer { // Trim the last empty line and join the strings. const lines: string[] = result.content; const text = lines - .map((x) => x.trimLeft()) + .map((x) => x.trimStart()) .join(this.getEOL(doc.eol)); const snippetString = new SnippetString(text);