From 205a19e951f44f618d69b4586e331d6373738bd4 Mon Sep 17 00:00:00 2001 From: Karthik Nadig Date: Mon, 28 Oct 2024 11:58:38 -0700 Subject: [PATCH] Update VS Code engine and `@types/vscode` for APIs (#24335) --- pythonExtensionApi/package-lock.json | 40 +++++++++++++++------------- pythonExtensionApi/package.json | 38 +++++++++++++------------- 2 files changed, 40 insertions(+), 38 deletions(-) diff --git a/pythonExtensionApi/package-lock.json b/pythonExtensionApi/package-lock.json index ef6914e0e786..e9ceaca73490 100644 --- a/pythonExtensionApi/package-lock.json +++ b/pythonExtensionApi/package-lock.json @@ -1,28 +1,29 @@ { "name": "@vscode/python-extension", - "version": "1.0.5", + "version": "1.0.6", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@vscode/python-extension", - "version": "1.0.5", + "version": "1.0.6", "license": "MIT", "devDependencies": { - "@types/vscode": "^1.78.0", + "@types/vscode": "^1.93.0", "source-map": "^0.8.0-beta.0", - "typescript": "5.0.4" + "typescript": "~5.2" }, "engines": { "node": ">=18.17.1", - "vscode": "^1.78.0" + "vscode": "^1.93.0" } }, "node_modules/@types/vscode": { - "version": "1.80.0", - "resolved": "https://registry.npmjs.org/@types/vscode/-/vscode-1.80.0.tgz", - "integrity": "sha512-qK/CmOdS2o7ry3k6YqU4zD3R2AYlJfbwBoSbKpBoP+GpXNE+0NEgJOli4n0bm0diK5kfBnchgCEj4igQz/44Hg==", - "dev": true + "version": "1.94.0", + "resolved": "https://registry.npmjs.org/@types/vscode/-/vscode-1.94.0.tgz", + "integrity": "sha512-UyQOIUT0pb14XSqJskYnRwD2aG0QrPVefIfrW1djR+/J4KeFQ0i1+hjZoaAmeNf3Z2jleK+R2hv+EboG/m8ruw==", + "dev": true, + "license": "MIT" }, "node_modules/lodash.sortby": { "version": "4.7.0", @@ -61,16 +62,17 @@ } }, "node_modules/typescript": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.0.4.tgz", - "integrity": "sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==", + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz", + "integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==", "dev": true, + "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" }, "engines": { - "node": ">=12.20" + "node": ">=14.17" } }, "node_modules/webidl-conversions": { @@ -93,9 +95,9 @@ }, "dependencies": { "@types/vscode": { - "version": "1.80.0", - "resolved": "https://registry.npmjs.org/@types/vscode/-/vscode-1.80.0.tgz", - "integrity": "sha512-qK/CmOdS2o7ry3k6YqU4zD3R2AYlJfbwBoSbKpBoP+GpXNE+0NEgJOli4n0bm0diK5kfBnchgCEj4igQz/44Hg==", + "version": "1.94.0", + "resolved": "https://registry.npmjs.org/@types/vscode/-/vscode-1.94.0.tgz", + "integrity": "sha512-UyQOIUT0pb14XSqJskYnRwD2aG0QrPVefIfrW1djR+/J4KeFQ0i1+hjZoaAmeNf3Z2jleK+R2hv+EboG/m8ruw==", "dev": true }, "lodash.sortby": { @@ -129,9 +131,9 @@ } }, "typescript": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.0.4.tgz", - "integrity": "sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==", + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz", + "integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==", "dev": true }, "webidl-conversions": { diff --git a/pythonExtensionApi/package.json b/pythonExtensionApi/package.json index 9e58f1a2400c..1f2462604e97 100644 --- a/pythonExtensionApi/package.json +++ b/pythonExtensionApi/package.json @@ -1,21 +1,21 @@ { "name": "@vscode/python-extension", "description": "An API facade for the Python extension in VS Code", - "version": "1.0.5", + "version": "1.0.6", "author": { - "name": "Microsoft Corporation" + "name": "Microsoft Corporation" }, "keywords": [ "Python", - "VSCode", - "API" - ], - "main": "./out/main.js", - "types": "./out/main.d.ts", - "engines": { - "node": ">=18.17.1", - "vscode": "^1.78.0" - }, + "VSCode", + "API" + ], + "main": "./out/main.js", + "types": "./out/main.d.ts", + "engines": { + "node": ">=18.17.1", + "vscode": "^1.93.0" + }, "license": "MIT", "homepage": "https://github.com/microsoft/vscode-python/tree/main/pythonExtensionApi", "repository": { @@ -26,18 +26,18 @@ "url": "https://github.com/Microsoft/vscode-python/issues" }, "devDependencies": { - "typescript": "5.0.4", - "@types/vscode": "^1.78.0", + "typescript": "~5.2", + "@types/vscode": "^1.93.0", "source-map": "^0.8.0-beta.0" }, "scripts": { "prepublishOnly": "echo \"⛔ Can only publish from a secure pipeline ⛔\" && node ../build/fail", - "prepack": "npm run all:publish", - "compile": "node ./node_modules/typescript/lib/tsc.js -b ./tsconfig.json", - "clean": "node ../node_modules/rimraf/bin.js out", - "lint": "node ../node_modules/eslint/bin/eslint.js --ext ts src", - "all": "npm run clean && npm run compile", + "prepack": "npm run all:publish", + "compile": "node ./node_modules/typescript/lib/tsc.js -b ./tsconfig.json", + "clean": "node ../node_modules/rimraf/bin.js out", + "lint": "node ../node_modules/eslint/bin/eslint.js --ext ts src", + "all": "npm run clean && npm run compile", "formatTypings": "node ../node_modules/eslint/bin/eslint.js --fix ./out/main.d.ts", - "all:publish": "git clean -xfd . && npm install && npm run compile && npm run formatTypings" + "all:publish": "git clean -xfd . && npm install && npm run compile && npm run formatTypings" } }