From f6595cbce6a7a5c4499dff378734af856213612d Mon Sep 17 00:00:00 2001 From: Dirk Baeumer Date: Tue, 21 May 2024 07:44:19 +0200 Subject: [PATCH 1/3] Prepare next release --- client-node-tests/package.json | 4 ++-- client-node-tests/src/converter.test.ts | 4 ++-- client/package.json | 6 +++--- jsonrpc/package.json | 2 +- protocol/package.json | 6 +++--- server/package.json | 4 ++-- types/package.json | 2 +- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/client-node-tests/package.json b/client-node-tests/package.json index bf02fe738..faeae077d 100644 --- a/client-node-tests/package.json +++ b/client-node-tests/package.json @@ -6,7 +6,7 @@ "description": "", "version": "0.0.1", "engines": { - "vscode": "^1.90.0" + "vscode": "^1.89.0" }, "categories": [ "Other" @@ -30,7 +30,7 @@ }, "dependencies": { "minimatch": "^9.0.3", - "vscode-languageserver": "10.0.0-next.3", + "vscode-languageserver": "10.0.0-next.5", "vscode-uri": "3.0.8" }, "devDependencies": { diff --git a/client-node-tests/src/converter.test.ts b/client-node-tests/src/converter.test.ts index 9b9678ae3..c04c065dc 100644 --- a/client-node-tests/src/converter.test.ts +++ b/client-node-tests/src/converter.test.ts @@ -123,7 +123,7 @@ suite('Async Array', () => { }).timeout(5000); test('forEach', async() => { - const ranges: proto.Range[] = new Array(20000); + const ranges: proto.Range[] = new Array(30000); for (let i = 0; i < ranges.length; i++) { ranges[i] = proto.Range.create(i + 1, 0, i + 2, 1); } @@ -134,7 +134,7 @@ suite('Async Array', () => { sum += codeRange.start.line; }, undefined, { yieldAfter: 2, yieldCallback: () => { yielded++; }}); ok(yielded > 0); - strictEqual(sum, 200010000); + strictEqual(sum, 450015000); }).timeout(5000); }); diff --git a/client/package.json b/client/package.json index 28af4b3b1..9dbfae6fc 100644 --- a/client/package.json +++ b/client/package.json @@ -1,11 +1,11 @@ { "name": "vscode-languageclient", "description": "VSCode Language client implementation", - "version": "10.0.0-next.5", + "version": "10.0.0-next.6", "author": "Microsoft Corporation", "license": "MIT", "engines": { - "vscode": "^1.90.0" + "vscode": "^1.89.0" }, "repository": { "type": "git", @@ -30,7 +30,7 @@ "dependencies": { "minimatch": "^9.0.3", "semver": "^7.6.0", - "vscode-languageserver-protocol": "3.17.6-next.4" + "vscode-languageserver-protocol": "3.17.6-next.5" }, "scripts": { "prepublishOnly": "echo \"⛔ Can only publish from a secure pipeline ⛔\" && node ../build/npm/fail", diff --git a/jsonrpc/package.json b/jsonrpc/package.json index 3db2e6d91..b444835f4 100644 --- a/jsonrpc/package.json +++ b/jsonrpc/package.json @@ -1,7 +1,7 @@ { "name": "vscode-jsonrpc", "description": "A json rpc implementation over streams", - "version": "9.0.0-next.2", + "version": "9.0.0-next.3", "author": "Microsoft Corporation", "license": "MIT", "repository": { diff --git a/protocol/package.json b/protocol/package.json index dd79ad60f..8087d84bd 100644 --- a/protocol/package.json +++ b/protocol/package.json @@ -1,7 +1,7 @@ { "name": "vscode-languageserver-protocol", "description": "VSCode Language Server Protocol implementation", - "version": "3.17.6-next.4", + "version": "3.17.6-next.5", "author": "Microsoft Corporation", "license": "MIT", "repository": { @@ -18,8 +18,8 @@ }, "typings": "./lib/common/api.d.ts", "dependencies": { - "vscode-jsonrpc": "9.0.0-next.2", - "vscode-languageserver-types": "3.17.6-next.3" + "vscode-jsonrpc": "9.0.0-next.3", + "vscode-languageserver-types": "3.17.6-next.4" }, "scripts": { "prepublishOnly": "echo \"⛔ Can only publish from a secure pipeline ⛔\" && node ../build/npm/fail", diff --git a/server/package.json b/server/package.json index 56f7a5fd1..09ab7d92b 100644 --- a/server/package.json +++ b/server/package.json @@ -1,7 +1,7 @@ { "name": "vscode-languageserver", "description": "Language server implementation for node", - "version": "10.0.0-next.3", + "version": "10.0.0-next.5", "author": "Microsoft Corporation", "license": "MIT", "repository": { @@ -24,7 +24,7 @@ "vscode-languageserver-textdocument": "1.0.11" }, "dependencies": { - "vscode-languageserver-protocol": "3.17.6-next.4" + "vscode-languageserver-protocol": "3.17.6-next.5" }, "scripts": { "prepublishOnly": "echo \"⛔ Can only publish from a secure pipeline ⛔\" && node ../build/npm/fail", diff --git a/types/package.json b/types/package.json index 01d38eb01..007d11b72 100644 --- a/types/package.json +++ b/types/package.json @@ -1,7 +1,7 @@ { "name": "vscode-languageserver-types", "description": "Types used by the Language server for node", - "version": "3.17.6-next.3", + "version": "3.17.6-next.4", "author": "Microsoft Corporation", "license": "MIT", "repository": { From 52d8fac8efb4e17ed5d0895daa27c90c71b10a6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dirk=20B=C3=A4umer?= Date: Tue, 21 May 2024 14:05:53 +0200 Subject: [PATCH 2/3] Dbaeumer/husky-roadrunner-purple (#1478) Fix test case on new node version --- jsonrpc/src/node/test/messages.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jsonrpc/src/node/test/messages.test.ts b/jsonrpc/src/node/test/messages.test.ts index b0eda8429..a457d74da 100644 --- a/jsonrpc/src/node/test/messages.test.ts +++ b/jsonrpc/src/node/test/messages.test.ts @@ -148,7 +148,7 @@ suite('Messages', () => { } const msg: RequestMessage = { jsonrpc: '2.0', id: 1, method: 'example' }; const zipped = await gzipEncoder.encode(Buffer.from(JSON.stringify(msg), 'utf8')); - assert.strictEqual(Buffer.from(zipped).toString('base64'), 'H4sIAAAAAAAAA6tWyirOzysqSFayUjLSM1DSUcpMUbIy1FHKTS3JyE9RslJKrUjMLchJVaoFAPsmJa0rAAAA'); + assert.ok(Buffer.from(zipped).toString('base64').startsWith('H4sIAAAAAAAAA6tWyirOzysqSFayUjLSM1DSUcp')); const unzipped: RequestMessage = JSON.parse(Buffer.from(await gzipDecoder.decode(zipped)).toString('utf-8')) as RequestMessage; assert.strictEqual(unzipped.id, 1); assert.strictEqual(unzipped.method, 'example'); From 7b4fff79b87bc3ff0c726fa3624703019737a0d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dirk=20B=C3=A4umer?= Date: Tue, 21 May 2024 17:14:14 +0200 Subject: [PATCH 3/3] Dbaeumer/revolutionary-tahr-jade (#1482) Update lock files. --- client-node-tests/package-lock.json | 34 ++++++++++++++--------------- client/package-lock.json | 30 ++++++++++++------------- jsonrpc/package-lock.json | 4 ++-- protocol/package-lock.json | 20 ++++++++--------- server/package-lock.json | 28 ++++++++++++------------ types/package-lock.json | 4 ++-- 6 files changed, 60 insertions(+), 60 deletions(-) diff --git a/client-node-tests/package-lock.json b/client-node-tests/package-lock.json index ffc8863c9..6a85cffc8 100644 --- a/client-node-tests/package-lock.json +++ b/client-node-tests/package-lock.json @@ -9,7 +9,7 @@ "version": "0.0.1", "dependencies": { "minimatch": "^9.0.3", - "vscode-languageserver": "10.0.0-next.3", + "vscode-languageserver": "10.0.0-next.5", "vscode-uri": "3.0.8" }, "devDependencies": { @@ -25,7 +25,7 @@ "uuid": "^9.0.1" }, "engines": { - "vscode": "^1.90.0" + "vscode": "^1.89.0" } }, "node_modules/@isaacs/cliui": { @@ -878,37 +878,37 @@ } }, "node_modules/vscode-jsonrpc": { - "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==", + "version": "9.0.0-next.3", + "resolved": "https://registry.npmjs.org/vscode-jsonrpc/-/vscode-jsonrpc-9.0.0-next.3.tgz", + "integrity": "sha512-Y4msarirF0JA0cH0OnAlqI+jZyPV6E0yTTviQRPH3IrxDv/K01EkM4gmsWS0Fx8wPqvW1GM+Gc/GWZvfoXFurQ==", "engines": { "node": ">=14.0.0" } }, "node_modules/vscode-languageserver": { - "version": "10.0.0-next.3", - "resolved": "https://registry.npmjs.org/vscode-languageserver/-/vscode-languageserver-10.0.0-next.3.tgz", - "integrity": "sha512-4x1qHImf6ePji4+8PX43lnBCBfBNdi2jneGX2k5FswJhx/cxaYYmusShmmtO/clyL1iurxJacrQoXfw9+ikhvg==", + "version": "10.0.0-next.5", + "resolved": "https://registry.npmjs.org/vscode-languageserver/-/vscode-languageserver-10.0.0-next.5.tgz", + "integrity": "sha512-zGkMrlceUriM1jfYGe3mhE+KO12EXswvQi9rgPFIsKPlUv181iKPhZTQzDFtn1MvpMzU94VzuB0yst20TIIjzA==", "dependencies": { - "vscode-languageserver-protocol": "3.17.6-next.4" + "vscode-languageserver-protocol": "3.17.6-next.5" }, "bin": { "installServerIntoExtension": "bin/installServerIntoExtension" } }, "node_modules/vscode-languageserver-protocol": { - "version": "3.17.6-next.4", - "resolved": "https://registry.npmjs.org/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.17.6-next.4.tgz", - "integrity": "sha512-/2bleKBxZLyRObS4mkpaWlVI9xGiUqMVmh/ztZ2vL4uP2XyIpraT45JBpn9AtXr0alqKJPKLuKr+/qcYULvm/w==", + "version": "3.17.6-next.5", + "resolved": "https://registry.npmjs.org/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.17.6-next.5.tgz", + "integrity": "sha512-akUqjTI6FKOXBDu/rmFOaxez3BghZjexfqc7dEmVWlb1gCacnK/YVyqFjs7E0Abhyfj0TVPe4pInPY84rWEwjQ==", "dependencies": { - "vscode-jsonrpc": "9.0.0-next.2", - "vscode-languageserver-types": "3.17.6-next.3" + "vscode-jsonrpc": "9.0.0-next.3", + "vscode-languageserver-types": "3.17.6-next.4" } }, "node_modules/vscode-languageserver-types": { - "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==" + "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==" }, "node_modules/vscode-uri": { "version": "3.0.8", diff --git a/client/package-lock.json b/client/package-lock.json index ccdb58ce1..4a92ec369 100644 --- a/client/package-lock.json +++ b/client/package-lock.json @@ -1,17 +1,17 @@ { "name": "vscode-languageclient", - "version": "10.0.0-next.5", + "version": "10.0.0-next.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "vscode-languageclient", - "version": "10.0.0-next.5", + "version": "10.0.0-next.6", "license": "MIT", "dependencies": { "minimatch": "^9.0.3", "semver": "^7.6.0", - "vscode-languageserver-protocol": "3.17.6-next.4" + "vscode-languageserver-protocol": "3.17.6-next.5" }, "devDependencies": { "@types/minimatch": "^5.1.2", @@ -20,7 +20,7 @@ "shx": "^0.3.4" }, "engines": { - "vscode": "^1.90.0" + "vscode": "^1.89.0" } }, "node_modules/@types/minimatch": { @@ -291,26 +291,26 @@ } }, "node_modules/vscode-jsonrpc": { - "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==", + "version": "9.0.0-next.3", + "resolved": "https://registry.npmjs.org/vscode-jsonrpc/-/vscode-jsonrpc-9.0.0-next.3.tgz", + "integrity": "sha512-Y4msarirF0JA0cH0OnAlqI+jZyPV6E0yTTviQRPH3IrxDv/K01EkM4gmsWS0Fx8wPqvW1GM+Gc/GWZvfoXFurQ==", "engines": { "node": ">=14.0.0" } }, "node_modules/vscode-languageserver-protocol": { - "version": "3.17.6-next.4", - "resolved": "https://registry.npmjs.org/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.17.6-next.4.tgz", - "integrity": "sha512-/2bleKBxZLyRObS4mkpaWlVI9xGiUqMVmh/ztZ2vL4uP2XyIpraT45JBpn9AtXr0alqKJPKLuKr+/qcYULvm/w==", + "version": "3.17.6-next.5", + "resolved": "https://registry.npmjs.org/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.17.6-next.5.tgz", + "integrity": "sha512-akUqjTI6FKOXBDu/rmFOaxez3BghZjexfqc7dEmVWlb1gCacnK/YVyqFjs7E0Abhyfj0TVPe4pInPY84rWEwjQ==", "dependencies": { - "vscode-jsonrpc": "9.0.0-next.2", - "vscode-languageserver-types": "3.17.6-next.3" + "vscode-jsonrpc": "9.0.0-next.3", + "vscode-languageserver-types": "3.17.6-next.4" } }, "node_modules/vscode-languageserver-types": { - "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==" + "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==" }, "node_modules/wrappy": { "version": "1.0.2", diff --git a/jsonrpc/package-lock.json b/jsonrpc/package-lock.json index c2a1b9bbd..86e3278c1 100644 --- a/jsonrpc/package-lock.json +++ b/jsonrpc/package-lock.json @@ -1,12 +1,12 @@ { "name": "vscode-jsonrpc", - "version": "9.0.0-next.2", + "version": "9.0.0-next.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "vscode-jsonrpc", - "version": "9.0.0-next.2", + "version": "9.0.0-next.3", "license": "MIT", "devDependencies": { "@types/msgpack-lite": "^0.1.10", diff --git a/protocol/package-lock.json b/protocol/package-lock.json index 4bc020938..ee1d67e7a 100644 --- a/protocol/package-lock.json +++ b/protocol/package-lock.json @@ -1,30 +1,30 @@ { "name": "vscode-languageserver-protocol", - "version": "3.17.6-next.4", + "version": "3.17.6-next.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "vscode-languageserver-protocol", - "version": "3.17.6-next.4", + "version": "3.17.6-next.5", "license": "MIT", "dependencies": { - "vscode-jsonrpc": "9.0.0-next.2", - "vscode-languageserver-types": "3.17.6-next.3" + "vscode-jsonrpc": "9.0.0-next.3", + "vscode-languageserver-types": "3.17.6-next.4" } }, "node_modules/vscode-jsonrpc": { - "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==", + "version": "9.0.0-next.3", + "resolved": "https://registry.npmjs.org/vscode-jsonrpc/-/vscode-jsonrpc-9.0.0-next.3.tgz", + "integrity": "sha512-Y4msarirF0JA0cH0OnAlqI+jZyPV6E0yTTviQRPH3IrxDv/K01EkM4gmsWS0Fx8wPqvW1GM+Gc/GWZvfoXFurQ==", "engines": { "node": ">=14.0.0" } }, "node_modules/vscode-languageserver-types": { - "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==" + "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==" } } } diff --git a/server/package-lock.json b/server/package-lock.json index ed86165ab..ea221fed8 100644 --- a/server/package-lock.json +++ b/server/package-lock.json @@ -1,15 +1,15 @@ { "name": "vscode-languageserver", - "version": "10.0.0-next.3", + "version": "10.0.0-next.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "vscode-languageserver", - "version": "10.0.0-next.3", + "version": "10.0.0-next.5", "license": "MIT", "dependencies": { - "vscode-languageserver-protocol": "3.17.6-next.4" + "vscode-languageserver-protocol": "3.17.6-next.5" }, "bin": { "installServerIntoExtension": "bin/installServerIntoExtension" @@ -19,20 +19,20 @@ } }, "node_modules/vscode-jsonrpc": { - "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==", + "version": "9.0.0-next.3", + "resolved": "https://registry.npmjs.org/vscode-jsonrpc/-/vscode-jsonrpc-9.0.0-next.3.tgz", + "integrity": "sha512-Y4msarirF0JA0cH0OnAlqI+jZyPV6E0yTTviQRPH3IrxDv/K01EkM4gmsWS0Fx8wPqvW1GM+Gc/GWZvfoXFurQ==", "engines": { "node": ">=14.0.0" } }, "node_modules/vscode-languageserver-protocol": { - "version": "3.17.6-next.4", - "resolved": "https://registry.npmjs.org/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.17.6-next.4.tgz", - "integrity": "sha512-/2bleKBxZLyRObS4mkpaWlVI9xGiUqMVmh/ztZ2vL4uP2XyIpraT45JBpn9AtXr0alqKJPKLuKr+/qcYULvm/w==", + "version": "3.17.6-next.5", + "resolved": "https://registry.npmjs.org/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.17.6-next.5.tgz", + "integrity": "sha512-akUqjTI6FKOXBDu/rmFOaxez3BghZjexfqc7dEmVWlb1gCacnK/YVyqFjs7E0Abhyfj0TVPe4pInPY84rWEwjQ==", "dependencies": { - "vscode-jsonrpc": "9.0.0-next.2", - "vscode-languageserver-types": "3.17.6-next.3" + "vscode-jsonrpc": "9.0.0-next.3", + "vscode-languageserver-types": "3.17.6-next.4" } }, "node_modules/vscode-languageserver-textdocument": { @@ -42,9 +42,9 @@ "dev": true }, "node_modules/vscode-languageserver-types": { - "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==" + "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==" } } } diff --git a/types/package-lock.json b/types/package-lock.json index fbfc467b7..a5f756062 100644 --- a/types/package-lock.json +++ b/types/package-lock.json @@ -1,12 +1,12 @@ { "name": "vscode-languageserver-types", - "version": "3.17.6-next.3", + "version": "3.17.6-next.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "vscode-languageserver-types", - "version": "3.17.6-next.3", + "version": "3.17.6-next.4", "license": "MIT" } }