vscode-languageserver-protocol 3.17.5 → 3.17.6-next.10

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.
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [![NPM Version](https://img.shields.io/npm/v/vscode-languageserver-protocol.svg)](https://npmjs.org/package/vscode-languageclient)
4
4
  [![NPM Downloads](https://img.shields.io/npm/dm/vscode-languageserver-protocol.svg)](https://npmjs.org/package/vscode-languageclient)
5
- [![Build Status](https://travis-ci.org/Microsoft/vscode-languageserver-node.svg?branch=master)](https://travis-ci.org/Microsoft/vscode-languageserver-node)
5
+ [![Build Status](https://dev.azure.com/ms/vscode-languageserver-node/_apis/build/status/microsoft.vscode-languageserver-node?branchName=main)](https://dev.azure.com/ms/vscode-languageserver-node/_build/latest?definitionId=439&branchName=main)
6
6
 
7
7
  This npm module is a tool independent implementation of the language server protocol and can be used in any type of node application. Please note that the protocol is versioned using the LSP specification version number. Since the protocol depends on the `vscode-jsonrpc` version a a breaking change on that dependencies might not be reflected in a major version change of this module. Changing the major version number in these cases was more confusing this it would result in a version mismatch between the protocol and the LSP specification.
8
8
 
@@ -41,7 +41,7 @@ export declare namespace LSPErrorCodes {
41
41
  */
42
42
  const ContentModified: integer;
43
43
  /**
44
- * The client has canceled a request and a server as detected
44
+ * The client has canceled a request and a server has detected
45
45
  * the cancel.
46
46
  */
47
47
  const RequestCancelled: integer;
package/lib/common/api.js CHANGED
@@ -63,7 +63,7 @@ var LSPErrorCodes;
63
63
  */
64
64
  LSPErrorCodes.ContentModified = -32801;
65
65
  /**
66
- * The client has canceled a request and a server as detected
66
+ * The client has canceled a request and a server has detected
67
67
  * the cancel.
68
68
  */
69
69
  LSPErrorCodes.RequestCancelled = -32800;
@@ -13,30 +13,60 @@ var MessageDirection;
13
13
  MessageDirection["both"] = "both";
14
14
  })(MessageDirection || (exports.MessageDirection = MessageDirection = {}));
15
15
  class RegistrationType {
16
+ /**
17
+ * Clients must not use this property. It is here to ensure correct typing.
18
+ */
19
+ ____;
20
+ method;
16
21
  constructor(method) {
17
22
  this.method = method;
18
23
  }
19
24
  }
20
25
  exports.RegistrationType = RegistrationType;
21
26
  class ProtocolRequestType0 extends vscode_jsonrpc_1.RequestType0 {
27
+ /**
28
+ * Clients must not use these properties. They are here to ensure correct typing.
29
+ * in TypeScript
30
+ */
31
+ __;
32
+ ___;
33
+ ____;
34
+ _pr;
22
35
  constructor(method) {
23
36
  super(method);
24
37
  }
25
38
  }
26
39
  exports.ProtocolRequestType0 = ProtocolRequestType0;
27
40
  class ProtocolRequestType extends vscode_jsonrpc_1.RequestType {
41
+ /**
42
+ * Clients must not use this property. It is here to ensure correct typing.
43
+ */
44
+ __;
45
+ ___;
46
+ ____;
47
+ _pr;
28
48
  constructor(method) {
29
49
  super(method, vscode_jsonrpc_1.ParameterStructures.byName);
30
50
  }
31
51
  }
32
52
  exports.ProtocolRequestType = ProtocolRequestType;
33
53
  class ProtocolNotificationType0 extends vscode_jsonrpc_1.NotificationType0 {
54
+ /**
55
+ * Clients must not use this property. It is here to ensure correct typing.
56
+ */
57
+ ___;
58
+ ____;
34
59
  constructor(method) {
35
60
  super(method);
36
61
  }
37
62
  }
38
63
  exports.ProtocolNotificationType0 = ProtocolNotificationType0;
39
64
  class ProtocolNotificationType extends vscode_jsonrpc_1.NotificationType {
65
+ /**
66
+ * Clients must not use this property. It is here to ensure correct typing.
67
+ */
68
+ ___;
69
+ ____;
40
70
  constructor(method) {
41
71
  super(method, vscode_jsonrpc_1.ParameterStructures.byName);
42
72
  }