From fb2a90f8b5b3f57d9469ab6c0b5ced0e9f1d4e75 Mon Sep 17 00:00:00 2001 From: detachhead Date: Wed, 28 Aug 2024 18:45:28 +1000 Subject: [PATCH] fix mismatching version of vscode-languageserver in browser-basedpyright package which was causing type errors --- packages/browser-pyright/package-lock.json | 36 ++++++++++++---------- packages/browser-pyright/package.json | 2 +- packages/pyright-internal/package.json | 2 +- packages/vscode-pyright/package.json | 2 +- 4 files changed, 23 insertions(+), 19 deletions(-) diff --git a/packages/browser-pyright/package-lock.json b/packages/browser-pyright/package-lock.json index 88e2c33d7..ab736c61f 100644 --- a/packages/browser-pyright/package-lock.json +++ b/packages/browser-pyright/package-lock.json @@ -16,7 +16,7 @@ "stream-browserify": "^3.0.0", "util": "^0.12.5", "vm-browserify": "^1.1.2", - "vscode-languageserver": "^10.0.0-next.6" + "vscode-languageserver": "10.0.0-next.2" }, "devDependencies": { "@types/copy-webpack-plugin": "^8.0.1", @@ -2673,37 +2673,41 @@ "integrity": "sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ==" }, "node_modules/vscode-jsonrpc": { - "version": "9.0.0-next.4", - "resolved": "https://registry.npmjs.org/vscode-jsonrpc/-/vscode-jsonrpc-9.0.0-next.4.tgz", - "integrity": "sha512-zSVIr58lJSMYKIsZ5P7GtBbv1eEx25eNyOf0NmEzxmn1GhUNJAVAb5hkA1poKUwj1FRMwN6CeyWxZypmr8SsQQ==", + "version": "9.0.0-next.2", + "resolved": "https://registry.npmjs.org/vscode-jsonrpc/-/vscode-jsonrpc-9.0.0-next.2.tgz", + "integrity": "sha512-meIaXAgChCHzWy45QGU8YpCNyqnZQ/sYeCj32OLDDbUYsCF7AvgpdXx3nnZn9yzr8ed0Od9bW+NGphEmXsqvIQ==", + "license": "MIT", "engines": { "node": ">=14.0.0" } }, "node_modules/vscode-languageserver": { - "version": "10.0.0-next.6", - "resolved": "https://registry.npmjs.org/vscode-languageserver/-/vscode-languageserver-10.0.0-next.6.tgz", - "integrity": "sha512-0Lh1nhQfSxo5Ob+ayYO1QTIsDix2/Lc72Urm1KZrCFxK5zIFYaEh3QFeM9oZih4Rzs0ZkQPXXnoHtpvs5GT+Zw==", + "version": "10.0.0-next.2", + "resolved": "https://registry.npmjs.org/vscode-languageserver/-/vscode-languageserver-10.0.0-next.2.tgz", + "integrity": "sha512-WZdK/XO6EkNU6foYck49NpS35sahWhYFs4hwCGalH/6lhPmdUKABTnWioK/RLZKWqH8E5HdlAHQMfSBIxKBV9Q==", + "license": "MIT", "dependencies": { - "vscode-languageserver-protocol": "3.17.6-next.6" + "vscode-languageserver-protocol": "3.17.6-next.3" }, "bin": { "installServerIntoExtension": "bin/installServerIntoExtension" } }, "node_modules/vscode-languageserver-protocol": { - "version": "3.17.6-next.6", - "resolved": "https://registry.npmjs.org/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.17.6-next.6.tgz", - "integrity": "sha512-naxM9kc/phpl0kAFNVPejMUWUtzFXdPYY/BtQTYtfbBbHf8sceHOrKkmf6yynZRu1A4oFtRZNqV3wyFRTWqUHw==", + "version": "3.17.6-next.3", + "resolved": "https://registry.npmjs.org/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.17.6-next.3.tgz", + "integrity": "sha512-H8ATH5SAvc3JzttS+AL6g681PiBOZM/l34WP2JZk4akY3y7NqTP+f9cJ+MhrVBbD3aDS8bdAKewZgbFLW6M8Pg==", + "license": "MIT", "dependencies": { - "vscode-jsonrpc": "9.0.0-next.4", - "vscode-languageserver-types": "3.17.6-next.4" + "vscode-jsonrpc": "9.0.0-next.2", + "vscode-languageserver-types": "3.17.6-next.3" } }, "node_modules/vscode-languageserver-types": { - "version": "3.17.6-next.4", - "resolved": "https://registry.npmjs.org/vscode-languageserver-types/-/vscode-languageserver-types-3.17.6-next.4.tgz", - "integrity": "sha512-SeJTpH/S14EbxOAVaOUoGVqPToqpRTld5QO5Ghig3AlbFJTFF9Wu7srHMfa85L0SX1RYAuuCSFKJVVCxDIk1/Q==" + "version": "3.17.6-next.3", + "resolved": "https://registry.npmjs.org/vscode-languageserver-types/-/vscode-languageserver-types-3.17.6-next.3.tgz", + "integrity": "sha512-l5kNFXFRQGuzriXpuBqFpRmkf6f6A4VoU3h95OsVkqIOoi1k7KbwSo600cIdsKSJWrPg/+vX+QMPcMw1oI7ItA==", + "license": "MIT" }, "node_modules/watchpack": { "version": "2.4.1", diff --git a/packages/browser-pyright/package.json b/packages/browser-pyright/package.json index 6a11fff5f..9db63e852 100644 --- a/packages/browser-pyright/package.json +++ b/packages/browser-pyright/package.json @@ -47,6 +47,6 @@ "stream-browserify": "^3.0.0", "util": "^0.12.5", "vm-browserify": "^1.1.2", - "vscode-languageserver": "^10.0.0-next.6" + "vscode-languageserver": "10.0.0-next.2" } } diff --git a/packages/pyright-internal/package.json b/packages/pyright-internal/package.json index cde759041..5ec8d4b44 100644 --- a/packages/pyright-internal/package.json +++ b/packages/pyright-internal/package.json @@ -32,7 +32,7 @@ "source-map-support": "^0.5.21", "tmp": "^0.2.1", "vscode-jsonrpc": "^9.0.0-next.2", - "vscode-languageserver": "^10.0.0-next.2", + "vscode-languageserver": "10.0.0-next.2", "vscode-languageserver-protocol": "^3.17.6-next.3", "vscode-languageserver-textdocument": "1.0.11", "vscode-languageserver-types": "^3.17.6-next.3", diff --git a/packages/vscode-pyright/package.json b/packages/vscode-pyright/package.json index ed6416079..56b8ae48b 100644 --- a/packages/vscode-pyright/package.json +++ b/packages/vscode-pyright/package.json @@ -1736,7 +1736,7 @@ "@vscode/python-extension": "^1.0.5", "vscode-jsonrpc": "^9.0.0-next.2", "vscode-languageclient": "^10.0.0-next.2", - "vscode-languageserver": "^10.0.0-next.2", + "vscode-languageserver": "10.0.0-next.2", "vscode-languageserver-protocol": "^3.17.6-next.3" }, "devDependencies": {