opengoal-vscode/patches/vscode-jsonrpc+8.2.0.patch

15 lines
956 B
Diff
Raw Permalink Normal View History

build(deps): bump the extension-dependencies group with 14 updates (#326) * build(deps): bump the extension-dependencies group with 14 updates Bumps the extension-dependencies group with 14 updates: | Package | From | To | | --- | --- | --- | | [fast-glob](https://github.com/mrmlnc/fast-glob) | `3.3.1` | `3.3.2` | | [follow-redirects](https://github.com/follow-redirects/follow-redirects) | `1.15.2` | `1.15.3` | | [@types/follow-redirects](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/follow-redirects) | `1.14.1` | `1.14.4` | | [vscode-languageclient](https://github.com/Microsoft/vscode-languageserver-node/tree/HEAD/client) | `8.1.0` | `9.0.1` | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `20.4.4` | `20.10.5` | | [@types/vscode](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/vscode) | `1.80.0` | `1.85.0` | | [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) | `6.1.0` | `6.15.0` | | [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) | `6.1.0` | `6.15.0` | | [@vscode/vsce](https://github.com/Microsoft/vsce) | `2.19.0` | `2.22.0` | | [esbuild](https://github.com/evanw/esbuild) | `0.18.16` | `0.19.10` | | [eslint](https://github.com/eslint/eslint) | `8.45.0` | `8.56.0` | | [patch-package](https://github.com/ds300/patch-package) | `7.0.2` | `8.0.0` | | [prettier](https://github.com/prettier/prettier) | `3.0.0` | `3.1.1` | | [typescript](https://github.com/Microsoft/TypeScript) | `5.1.6` | `5.3.3` | Updates `fast-glob` from 3.3.1 to 3.3.2 - [Release notes](https://github.com/mrmlnc/fast-glob/releases) - [Commits](https://github.com/mrmlnc/fast-glob/compare/3.3.1...3.3.2) Updates `follow-redirects` from 1.15.2 to 1.15.3 - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.2...v1.15.3) Updates `@types/follow-redirects` from 1.14.1 to 1.14.4 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/follow-redirects) Updates `vscode-languageclient` from 8.1.0 to 9.0.1 - [Commits](https://github.com/Microsoft/vscode-languageserver-node/commits/release/client/9.0.1/client) Updates `@types/node` from 20.4.4 to 20.10.5 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `@types/vscode` from 1.80.0 to 1.85.0 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/vscode) Updates `@typescript-eslint/eslint-plugin` from 6.1.0 to 6.15.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.15.0/packages/eslint-plugin) Updates `@typescript-eslint/parser` from 6.1.0 to 6.15.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.15.0/packages/parser) Updates `@vscode/vsce` from 2.19.0 to 2.22.0 - [Release notes](https://github.com/Microsoft/vsce/releases) - [Commits](https://github.com/Microsoft/vsce/compare/v2.19.0...v2.22.0) Updates `esbuild` from 0.18.16 to 0.19.10 - [Release notes](https://github.com/evanw/esbuild/releases) - [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md) - [Commits](https://github.com/evanw/esbuild/compare/v0.18.16...v0.19.10) Updates `eslint` from 8.45.0 to 8.56.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v8.45.0...v8.56.0) Updates `patch-package` from 7.0.2 to 8.0.0 - [Release notes](https://github.com/ds300/patch-package/releases) - [Changelog](https://github.com/ds300/patch-package/blob/master/CHANGELOG.md) - [Commits](https://github.com/ds300/patch-package/commits/v8.0.0) Updates `prettier` from 3.0.0 to 3.1.1 - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/3.0.0...3.1.1) Updates `typescript` from 5.1.6 to 5.3.3 - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](https://github.com/Microsoft/TypeScript/compare/v5.1.6...v5.3.3) --- updated-dependencies: - dependency-name: fast-glob dependency-type: direct:production update-type: version-update:semver-patch dependency-group: extension-dependencies - dependency-name: follow-redirects dependency-type: direct:production update-type: version-update:semver-patch dependency-group: extension-dependencies - dependency-name: "@types/follow-redirects" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: extension-dependencies - dependency-name: vscode-languageclient dependency-type: direct:production update-type: version-update:semver-major dependency-group: extension-dependencies - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: extension-dependencies - dependency-name: "@types/vscode" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: extension-dependencies - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: extension-dependencies - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: extension-dependencies - dependency-name: "@vscode/vsce" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: extension-dependencies - dependency-name: esbuild dependency-type: direct:development update-type: version-update:semver-minor dependency-group: extension-dependencies - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-minor dependency-group: extension-dependencies - dependency-name: patch-package dependency-type: direct:development update-type: version-update:semver-major dependency-group: extension-dependencies - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-minor dependency-group: extension-dependencies - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-minor dependency-group: extension-dependencies ... Signed-off-by: dependabot[bot] <support@github.com> * deps: update patch * some unrelated fixes * decomp: populate jak3 files --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tyler Wilding <xtvaser@gmail.com>
2024-01-21 01:05:11 -05:00
diff --git a/node_modules/vscode-jsonrpc/lib/common/messageReader.js b/node_modules/vscode-jsonrpc/lib/common/messageReader.js
index a7518d7..9bb776a 100644
--- a/node_modules/vscode-jsonrpc/lib/common/messageReader.js
+++ b/node_modules/vscode-jsonrpc/lib/common/messageReader.js
@@ -137,6 +137,9 @@ class ReadableStreamMessageReader extends AbstractMessageReader {
}
const contentLength = headers.get('content-length');
if (!contentLength) {
+ const bodyBuffer = this.buffer.tryReadBody(this.buffer._totalLength);
+ const bodyString = bodyBuffer.toString();
+ console.log(`[LSP Debug] ERROR: Body - ${bodyString}`);
this.fireError(new Error(`Header must provide a Content-Length property.\n${JSON.stringify(Object.fromEntries(headers))}`));
return;
}