monaco-languageclient 2.0.2 → 2.1.0

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/CHANGELOG.md CHANGED
@@ -4,7 +4,7 @@ All notable changes to this npm module are documented in this file.
4
4
 
5
5
  ## 2.x.x BREAKING CHANGES
6
6
 
7
- v2+ of this library is dependant on [monaco-vscode-api](https://github.com/CodinGame/monaco-vscode-api) which removed all vscode-api/-compatibility related code. The change has mostly no effect on end users code, but it there two things that need to be taken into account:
7
+ v2+ of this library is dependant on [monaco-vscode-api](https://github.com/CodinGame/monaco-vscode-api) which removed all vscode-api/-compatibility related code. The change has mostly no effect on end users code, but there are two things that need to be taken into account:
8
8
 
9
9
  - If you use Webpack or vite for bundling, you have to remove the `vscode` alias entry from the configuration
10
10
  - If you customized monaco services, then you have to adjust them to the changed interface
@@ -15,6 +15,11 @@ The npm packages exports the following:
15
15
  - `monaco-languagclient/monaco-converters`
16
16
  - `monaco-languagclient/monaco-converters/cjs`
17
17
 
18
+ ## [2.1.0] - 2022-07-21
19
+
20
+ - Update vscode api [#399](https://github.com/TypeFox/monaco-languageclient/pull/399)
21
+ - Updated `vite` to `3.0.2`
22
+
18
23
  ## [2.0.2] - 2022-06-22
19
24
 
20
25
  - Align all tsconfigs and vscode-ws-jsonrpc provides esm/cjs #[390](https://github.com/TypeFox/monaco-languageclient/pull/390)
@@ -4,5 +4,4 @@ export declare class DisposableCollection implements Disposable {
4
4
  dispose(): void;
5
5
  push(disposable: Disposable): Disposable;
6
6
  }
7
- export { Disposable };
8
7
  //# sourceMappingURL=disposable.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"disposable.d.ts","sourceRoot":"","sources":["../src/disposable.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5C,qBAAa,oBAAqB,YAAW,UAAU;IACnD,SAAS,CAAC,QAAQ,CAAC,WAAW,EAAE,UAAU,EAAE,CAAM;IAElD,OAAO,IAAK,IAAI;IAMhB,IAAI,CAAE,UAAU,EAAE,UAAU,GAAG,UAAU;CAY5C;AAED,OAAO,EAAE,UAAU,EAAE,CAAC"}
1
+ {"version":3,"file":"disposable.d.ts","sourceRoot":"","sources":["../src/disposable.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5C,qBAAa,oBAAqB,YAAW,UAAU;IACnD,SAAS,CAAC,QAAQ,CAAC,WAAW,EAAE,UAAU,EAAE,CAAM;IAElD,OAAO,IAAK,IAAI;IAMhB,IAAI,CAAE,UAAU,EAAE,UAAU,GAAG,UAAU;CAY5C"}
package/lib/disposable.js CHANGED
@@ -2,7 +2,6 @@
2
2
  * Copyright (c) 2018-2022 TypeFox GmbH (http://www.typefox.io). All rights reserved.
3
3
  * Licensed under the MIT License. See License.txt in the project root for license information.
4
4
  * ------------------------------------------------------------------------------------------ */
5
- import { Disposable } from 'vscode-jsonrpc';
6
5
  export class DisposableCollection {
7
6
  constructor() {
8
7
  this.disposables = [];
@@ -25,5 +24,4 @@ export class DisposableCollection {
25
24
  };
26
25
  }
27
26
  }
28
- export { Disposable };
29
27
  //# sourceMappingURL=disposable.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"disposable.js","sourceRoot":"","sources":["../src/disposable.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAEhG,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5C,MAAM,OAAO,oBAAoB;IAAjC;QACuB,gBAAW,GAAiB,EAAE,CAAC;IAoBtD,CAAC;IAlBG,OAAO;QACH,OAAO,IAAI,CAAC,WAAW,CAAC,MAAM,KAAK,CAAC,EAAE;YAClC,IAAI,CAAC,WAAW,CAAC,GAAG,EAAG,CAAC,OAAO,EAAE,CAAC;SACrC;IACL,CAAC;IAED,IAAI,CAAE,UAAsB;QACxB,MAAM,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;QACrC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAC7B,OAAO;YACH,OAAO;gBACH,MAAM,KAAK,GAAG,WAAW,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;gBAC9C,IAAI,KAAK,KAAK,CAAC,CAAC,EAAE;oBACd,WAAW,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;iBAChC;YACL,CAAC;SACJ,CAAC;IACN,CAAC;CACJ;AAED,OAAO,EAAE,UAAU,EAAE,CAAC"}
1
+ {"version":3,"file":"disposable.js","sourceRoot":"","sources":["../src/disposable.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAIhG,MAAM,OAAO,oBAAoB;IAAjC;QACuB,gBAAW,GAAiB,EAAE,CAAC;IAoBtD,CAAC;IAlBG,OAAO;QACH,OAAO,IAAI,CAAC,WAAW,CAAC,MAAM,KAAK,CAAC,EAAE;YAClC,IAAI,CAAC,WAAW,CAAC,GAAG,EAAG,CAAC,OAAO,EAAE,CAAC;SACrC;IACL,CAAC;IAED,IAAI,CAAE,UAAsB;QACxB,MAAM,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;QACrC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAC7B,OAAO;YACH,OAAO;gBACH,MAAM,KAAK,GAAG,WAAW,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;gBAC9C,IAAI,KAAK,KAAK,CAAC,CAAC,EAAE;oBACd,WAAW,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;iBAChC;YACL,CAAC;SACJ,CAAC;IACN,CAAC;CACJ"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "monaco-languageclient",
3
- "version": "2.0.2",
3
+ "version": "2.1.0",
4
4
  "description": "Monaco Language client implementation",
5
5
  "author": {
6
6
  "name": "TypeFox GmbH ",
@@ -10,7 +10,8 @@
10
10
  "license": "MIT",
11
11
  "repository": {
12
12
  "type": "git",
13
- "url": "https://github.com/TypeFox/monaco-languageclient.git"
13
+ "url": "https://github.com/TypeFox/monaco-languageclient",
14
+ "directory": "packages/client"
14
15
  },
15
16
  "bugs": {
16
17
  "url": "https://github.com/TypeFox/monaco-languageclient/issues"
@@ -34,8 +35,12 @@
34
35
  },
35
36
  "typesVersions": {
36
37
  "*": {
37
- "monaco-converter": [ "lib/monaco-converter" ],
38
- "monaco-converter/cjs": [ "dist/cjs/monaco-converter" ]
38
+ "monaco-converter": [
39
+ "lib/monaco-converter"
40
+ ],
41
+ "monaco-converter/cjs": [
42
+ "dist/cjs/monaco-converter"
43
+ ]
39
44
  }
40
45
  },
41
46
  "files": [
@@ -48,16 +53,16 @@
48
53
  ],
49
54
  "dependencies": {
50
55
  "glob-to-regexp": "0.4.1",
51
- "vscode": "npm:@codingame/monaco-vscode-api@^1.68.4",
52
- "vscode-jsonrpc": "8.0.1",
53
- "vscode-languageclient": "8.0.1",
56
+ "vscode": "npm:@codingame/monaco-vscode-api@~1.67.20",
57
+ "vscode-jsonrpc": "8.0.2",
58
+ "vscode-languageclient": "8.0.2",
54
59
  "vscode-languageserver-textdocument": "1.0.5",
55
60
  "vscode-uri": "3.0.3"
56
61
  },
57
62
  "devDependencies": {
58
63
  "@types/glob-to-regexp": "^0.4.1",
59
64
  "@types/node": "16.11.7",
60
- "@types/vscode": "1.68.0"
65
+ "@types/vscode": "~1.67.0"
61
66
  },
62
67
  "scripts": {
63
68
  "clean": "npx shx rm -fr lib tsconfig.tsbuildinfo",
package/src/disposable.ts CHANGED
@@ -27,5 +27,3 @@ export class DisposableCollection implements Disposable {
27
27
  };
28
28
  }
29
29
  }
30
-
31
- export { Disposable };