@eclipse-glsp/sprotty 2.3.0-next.396 → 2.3.0-next.399
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/lib/types.d.ts +2 -1
- package/lib/types.d.ts.map +1 -1
- package/lib/types.js +4 -0
- package/lib/types.js.map +1 -1
- package/package.json +6 -6
- package/src/types.ts +4 -0
package/lib/types.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export declare const TYPES: {
|
|
2
|
+
EmptyArray: symbol;
|
|
2
3
|
/** @deprecated Using async providers for container service retrieval is discouraged. Use the `LazyInjector` instead */
|
|
3
4
|
ActionHandlerRegistryProvider: symbol;
|
|
4
5
|
IAsyncClipboardService: symbol;
|
|
@@ -60,7 +61,7 @@ export declare const TYPES: {
|
|
|
60
61
|
HoverState: symbol;
|
|
61
62
|
KeyListener: symbol;
|
|
62
63
|
LayoutRegistration: symbol;
|
|
63
|
-
LayoutRegistry: symbol;
|
|
64
|
+
LayoutRegistry: symbol;
|
|
64
65
|
Layouter: symbol;
|
|
65
66
|
LogLevel: symbol;
|
|
66
67
|
ILogger: symbol;
|
package/lib/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAwBA,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAwBA,eAAO,MAAM,KAAK;;IAMd,uHAAuH;;;IAGvH,qGAAqG;;;;;;;;IAQrG,gEAAgE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqBnE,CAAC"}
|
package/lib/types.js
CHANGED
|
@@ -25,6 +25,10 @@ const sprotty_1 = require("sprotty");
|
|
|
25
25
|
const IGModelRootListener = Symbol('IGModelRootListener');
|
|
26
26
|
exports.TYPES = {
|
|
27
27
|
...sprotty_1.TYPES,
|
|
28
|
+
// GLSP extends certain sprotty base classes and replaces constructor injection with lazy injection to avoid circular dependencies
|
|
29
|
+
// To pass inversify base class checks an empty array has to be injected.
|
|
30
|
+
// This is the purpose of this service identifier. Typically adopters should not have to use this identifier.
|
|
31
|
+
EmptyArray: Symbol('EmptyArray'),
|
|
28
32
|
/** @deprecated Using async providers for container service retrieval is discouraged. Use the `LazyInjector` instead */
|
|
29
33
|
ActionHandlerRegistryProvider: sprotty_1.TYPES.ActionHandlerRegistryProvider,
|
|
30
34
|
IAsyncClipboardService: Symbol('IAsyncClipboardService'),
|
package/lib/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,4CAA4C;AAC5C,qCAAgD;AAEhD;;;GAGG;AAEH,MAAM,mBAAmB,GAAG,MAAM,CAAC,qBAAqB,CAAC,CAAC;AAC7C,QAAA,KAAK,GAAG;IACjB,GAAG,eAAY;IACf,uHAAuH;IACvH,6BAA6B,EAAE,eAAY,CAAC,6BAA6B;IACzE,sBAAsB,EAAE,MAAM,CAAC,wBAAwB,CAAC;IACxD,qGAAqG;IACrG,6BAA6B,EAAE,MAAM,CAAC,wBAAwB,CAAC;IAC/D,yBAAyB,EAAE,MAAM,CAAC,2BAA2B,CAAC;IAC9D,YAAY,EAAE,MAAM,CAAC,eAAe,CAAC;IACrC,iBAAiB,EAAE,MAAM,CAAC,mBAAmB,CAAC;IAC9C,mBAAmB,EAAE,MAAM,CAAC,qBAAqB,CAAC;IAClD,gBAAgB,EAAE,MAAM,CAAC,kBAAkB,CAAC;IAC5C,kBAAkB,EAAE,MAAM,CAAC,oBAAoB,CAAC;IAChD,gEAAgE;IAChE,mBAAmB,EAAE,mBAAmB;IACxC,mBAAmB,EAAE,mBAAmB;IACxC,oBAAo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AE,MAAM,CAAC,MAAM,CAAC;CACvB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eclipse-glsp/sprotty",
|
|
3
|
-
"version": "2.3.0-next.
|
|
3
|
+
"version": "2.3.0-next.399+efa84c4",
|
|
4
4
|
"description": "Augmented reexport of the sprotty API for GLSP",
|
|
5
5
|
"homepage": "https://www.eclipse.org/glsp/",
|
|
6
6
|
"bugs": "https://github.com/eclipse-glsp/glsp/issues",
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
"watch": "tsc -w"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@eclipse-glsp/protocol": "2.3.0-next.
|
|
36
|
+
"@eclipse-glsp/protocol": "2.3.0-next.399+efa84c4",
|
|
37
37
|
"autocompleter": "^9.1.0",
|
|
38
38
|
"snabbdom": "~3.5.1",
|
|
39
|
-
"sprotty": "1.
|
|
40
|
-
"sprotty-protocol": "1.
|
|
39
|
+
"sprotty": "1.4.0",
|
|
40
|
+
"sprotty-protocol": "1.4.0",
|
|
41
41
|
"vscode-jsonrpc": "8.2.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
"snabbdom-to-html": "^7.1.0"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"inversify": "
|
|
49
|
+
"inversify": "^6.1.3"
|
|
50
50
|
},
|
|
51
51
|
"publishConfig": {
|
|
52
52
|
"access": "public"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "efa84c4e3b9df8c8b472cd8a0b41ac4a69f4ac5f"
|
|
55
55
|
}
|
package/src/types.ts
CHANGED
|
@@ -24,6 +24,10 @@ import { TYPES as SprottyTYPES } from 'sprotty';
|
|
|
24
24
|
const IGModelRootListener = Symbol('IGModelRootListener');
|
|
25
25
|
export const TYPES = {
|
|
26
26
|
...SprottyTYPES,
|
|
27
|
+
// GLSP extends certain sprotty base classes and replaces constructor injection with lazy injection to avoid circular dependencies
|
|
28
|
+
// To pass inversify base class checks an empty array has to be injected.
|
|
29
|
+
// This is the purpose of this service identifier. Typically adopters should not have to use this identifier.
|
|
30
|
+
EmptyArray: Symbol('EmptyArray'),
|
|
27
31
|
/** @deprecated Using async providers for container service retrieval is discouraged. Use the `LazyInjector` instead */
|
|
28
32
|
ActionHandlerRegistryProvider: SprottyTYPES.ActionHandlerRegistryProvider,
|
|
29
33
|
IAsyncClipboardService: Symbol('IAsyncClipboardService'),
|