vscode-languageserver-protocol 3.17.3-next.1 → 3.17.3-next.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,6 @@
1
1
  import { RequestHandler, HandlerResult, CancellationToken } from 'vscode-jsonrpc';
2
2
  import { LSPAny } from 'vscode-languageserver-types';
3
3
  import { MessageDirection, ProtocolRequestType } from './messages';
4
- import type { PartialResultParams } from './protocol';
5
4
  /**
6
5
  * The 'workspace/configuration' request is sent from the server to the client to fetch a certain
7
6
  * configuration setting.
@@ -14,7 +13,7 @@ import type { PartialResultParams } from './protocol';
14
13
  export declare namespace ConfigurationRequest {
15
14
  const method: 'workspace/configuration';
16
15
  const messageDirection: MessageDirection;
17
- const type: ProtocolRequestType<ConfigurationParams & PartialResultParams, any[], never, void, void>;
16
+ const type: ProtocolRequestType<ConfigurationParams, any[], never, void, void>;
18
17
  type HandlerSignature = RequestHandler<ConfigurationParams, LSPAny[], void>;
19
18
  type MiddlewareSignature = (params: ConfigurationParams, token: CancellationToken, next: HandlerSignature) => HandlerResult<LSPAny[], void>;
20
19
  }
package/package.json CHANGED
@@ -1,38 +1,43 @@
1
- {
2
- "name": "vscode-languageserver-protocol",
3
- "description": "VSCode Language Server Protocol implementation",
4
- "version": "3.17.3-next.1",
5
- "author": "Microsoft Corporation",
6
- "license": "MIT",
7
- "repository": {
8
- "type": "git",
9
- "url": "https://github.com/Microsoft/vscode-languageserver-node.git",
10
- "directory": "protocol"
11
- },
12
- "bugs": {
13
- "url": "https://github.com/Microsoft/vscode-languageserver-node/issues"
14
- },
15
- "main": "./lib/node/main.js",
16
- "browser": {
17
- "./lib/node/main.js": "./lib/browser/main.js"
18
- },
19
- "typings": "./lib/common/api.d.ts",
20
- "dependencies": {
21
- "vscode-jsonrpc": "8.1.0-next.1",
22
- "vscode-languageserver-types": "3.17.2"
23
- },
24
- "scripts": {
25
- "prepublishOnly": "git clean -xfd . && npm install && npm run clean && npm run compile && npm test && cd .. && npm run generate:metaModel && npm run generate:metaModelSchema && cd ./protocol",
26
- "postpublish": "node ../build/npm/post-publish.js",
27
- "preversion": "npm test",
28
- "compile": "node ../build/bin/tsc -b ./tsconfig.json",
29
- "watch": "node ../build/bin/tsc -b ./tsconfig-watch.json -w",
30
- "clean": "node ../node_modules/rimraf/bin.js lib && node ../node_modules/rimraf/bin.js dist",
31
- "lint": "node ../node_modules/eslint/bin/eslint.js --ext ts src",
32
- "test": "npm run test:node && npm run test:browser",
33
- "test:node": "node ../node_modules/mocha/bin/_mocha",
34
- "test:browser": "npm run webpack:test:silent && node ../build/bin/runBrowserTests.js http://127.0.0.1:8080/protocol/src/browser/test/",
35
- "webpack:test": "cd ../types && npm run compile:esm && cd ../protocol && node ../build/bin/webpack --mode none --config ./src/browser/test/webpack.config.js",
36
- "webpack:test:silent": "cd ../types && npm run compile:esm && cd ../protocol && node ../build/bin/webpack --no-stats --mode none --config ./src/browser/test/webpack.config.js"
37
- }
38
- }
1
+ {
2
+ "name": "vscode-languageserver-protocol",
3
+ "description": "VSCode Language Server Protocol implementation",
4
+ "version": "3.17.3-next.2",
5
+ "author": "Microsoft Corporation",
6
+ "license": "MIT",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://github.com/Microsoft/vscode-languageserver-node.git",
10
+ "directory": "protocol"
11
+ },
12
+ "bugs": {
13
+ "url": "https://github.com/Microsoft/vscode-languageserver-node/issues"
14
+ },
15
+ "main": "./lib/node/main.js",
16
+ "browser": {
17
+ "./lib/node/main.js": "./lib/browser/main.js"
18
+ },
19
+ "typings": "./lib/common/api.d.ts",
20
+ "dependencies": {
21
+ "vscode-jsonrpc": "8.1.0-next.3",
22
+ "vscode-languageserver-types": "3.17.2"
23
+ },
24
+ "scripts": {
25
+ "prepublishOnly": "echo \"⛔ Can only publish from a secure pipeline ⛔\" && node ../build/npm/fail",
26
+ "prepack": "git clean -xfd . && npm install && npm run all",
27
+ "postpublish": "node ../build/npm/post-publish.js",
28
+ "preversion": "npm test",
29
+ "compile": "node ../build/bin/tsc -b ./tsconfig.json",
30
+ "watch": "node ../build/bin/tsc -b ./tsconfig-watch.json -w",
31
+ "clean": "node ../node_modules/rimraf/bin.js lib && node ../node_modules/rimraf/bin.js dist",
32
+ "lint": "node ../node_modules/eslint/bin/eslint.js --ext ts src",
33
+ "test": "npm run test:node && npm run test:browser",
34
+ "test:node": "node ../node_modules/mocha/bin/_mocha",
35
+ "test:browser": "npm run webpack:test:silent && node ../build/bin/runBrowserTests.js http://127.0.0.1:8080/protocol/src/browser/test/",
36
+ "webpack:test": "cd ../types && npm run compile:esm && cd ../protocol && node ../build/bin/webpack --mode none --config ./src/browser/test/webpack.config.js",
37
+ "webpack:test:silent": "cd ../types && npm run compile:esm && cd ../protocol && node ../build/bin/webpack --no-stats --mode none --config ./src/browser/test/webpack.config.js",
38
+ "compile:metaModelTool": "cd ../tools && npm run compile && cd ../protocol",
39
+ "generate:metaModel": "node ../tools/lib/generator-main.js -p ./src/common/tsconfig.json > ./metaModel.json",
40
+ "generate:metaModelSchema": "ts-json-schema-generator --path ../tools/src/metaModel.ts > ./metaModel.schema.json",
41
+ "all": "npm run clean && npm run compile && npm run lint && npm run test && npm run compile:metaModelTool && npm run generate:metaModel && npm run generate:metaModelSchema"
42
+ }
43
+ }