@theia/core 1.25.0-next.45 → 1.25.0-next.48

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
@@ -86,9 +86,9 @@ export class SomeClass {
86
86
  - `@phosphor/signaling` (from [`@phosphor/signaling@1`](https://www.npmjs.com/package/@phosphor/signaling))
87
87
  - `@phosphor/virtualdom` (from [`@phosphor/virtualdom@1`](https://www.npmjs.com/package/@phosphor/virtualdom))
88
88
  - `@phosphor/widgets` (from [`@phosphor/widgets@1`](https://www.npmjs.com/package/@phosphor/widgets))
89
- - `@theia/application-package` (from [`@theia/application-package@1.25.0-next.45+c6ac473868c`](https://www.npmjs.com/package/@theia/application-package/v/1.25.0-next.45))
90
- - `@theia/application-package/lib/api` (from [`@theia/application-package@1.25.0-next.45+c6ac473868c`](https://www.npmjs.com/package/@theia/application-package/v/1.25.0-next.45))
91
- - `@theia/application-package/lib/environment` (from [`@theia/application-package@1.25.0-next.45+c6ac473868c`](https://www.npmjs.com/package/@theia/application-package/v/1.25.0-next.45))
89
+ - `@theia/application-package` (from [`@theia/application-package@1.25.0-next.48+d8064d1ffe3`](https://www.npmjs.com/package/@theia/application-package/v/1.25.0-next.48))
90
+ - `@theia/application-package/lib/api` (from [`@theia/application-package@1.25.0-next.48+d8064d1ffe3`](https://www.npmjs.com/package/@theia/application-package/v/1.25.0-next.48))
91
+ - `@theia/application-package/lib/environment` (from [`@theia/application-package@1.25.0-next.48+d8064d1ffe3`](https://www.npmjs.com/package/@theia/application-package/v/1.25.0-next.48))
92
92
  - `fs-extra` (from [`fs-extra@^4.0.2`](https://www.npmjs.com/package/fs-extra))
93
93
  - `fuzzy` (from [`fuzzy@^0.1.3`](https://www.npmjs.com/package/fuzzy))
94
94
  - `inversify` (from [`inversify@^5.1.1`](https://www.npmjs.com/package/inversify))
@@ -1,10 +1,10 @@
1
1
  /**
2
- * This token is unique the the current running instance. It is used by the backend
2
+ * This token is unique to the current running instance. It is used by the backend
3
3
  * to make sure it is an electron browser window that is connecting to its services.
4
4
  *
5
- * The identifier is a string, which makes it usable as a key for cookies or similar.
5
+ * The identifier is a string, which makes it usable as a key for cookies, environments, etc.
6
6
  */
7
- export declare const ElectronSecurityToken = "x-theia-electron-token";
7
+ export declare const ElectronSecurityToken: string;
8
8
  export interface ElectronSecurityToken {
9
9
  value: string;
10
10
  }
@@ -1 +1 @@
1
- {"version":3,"file":"electron-token.d.ts","sourceRoot":"","sources":["../../src/electron-common/electron-token.ts"],"names":[],"mappings":"AAgBA;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,2BAA2B,CAAC;AAC9D,MAAM,WAAW,qBAAqB;IAClC,KAAK,EAAE,MAAM,CAAC;CACjB"}
1
+ {"version":3,"file":"electron-token.d.ts","sourceRoot":"","sources":["../../src/electron-common/electron-token.ts"],"names":[],"mappings":"AAgBA;;;;;GAKG;AAEH,eAAO,MAAM,qBAAqB,EAAE,MAA+B,CAAC;AACpE,MAAM,WAAW,qBAAqB;IAClC,KAAK,EAAE,MAAM,CAAC;CACjB"}
@@ -17,11 +17,12 @@
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
18
  exports.ElectronSecurityToken = void 0;
19
19
  /**
20
- * This token is unique the the current running instance. It is used by the backend
20
+ * This token is unique to the current running instance. It is used by the backend
21
21
  * to make sure it is an electron browser window that is connecting to its services.
22
22
  *
23
- * The identifier is a string, which makes it usable as a key for cookies or similar.
23
+ * The identifier is a string, which makes it usable as a key for cookies, environments, etc.
24
24
  */
25
- exports.ElectronSecurityToken = 'x-theia-electron-token';
25
+ // Note that it needs to be uppercase for it to work properly in Windows environments.
26
+ exports.ElectronSecurityToken = 'THEIA_ELECTRON_TOKEN';
26
27
  ;
27
28
  //# sourceMappingURL=electron-token.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"electron-token.js","sourceRoot":"","sources":["../../src/electron-common/electron-token.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,0CAA0C;AAC1C,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,2EAA2E;AAC3E,gFAAgF;;;AAEhF;;;;;GAKG;AACU,QAAA,qBAAqB,GAAG,wBAAwB,CAAC;AAG7D,CAAC"}
1
+ {"version":3,"file":"electron-token.js","sourceRoot":"","sources":["../../src/electron-common/electron-token.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,0CAA0C;AAC1C,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,2EAA2E;AAC3E,gFAAgF;;;AAEhF;;;;;GAKG;AACH,sFAAsF;AACzE,QAAA,qBAAqB,GAAW,sBAAsB,CAAC;AAGnE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theia/core",
3
- "version": "1.25.0-next.45+c6ac473868c",
3
+ "version": "1.25.0-next.48+d8064d1ffe3",
4
4
  "description": "Theia is a cloud & desktop IDE framework implemented in TypeScript.",
5
5
  "main": "lib/common/index.js",
6
6
  "typings": "lib/common/index.d.ts",
@@ -17,7 +17,7 @@
17
17
  "@phosphor/virtualdom": "1",
18
18
  "@phosphor/widgets": "1",
19
19
  "@primer/octicons-react": "^9.0.0",
20
- "@theia/application-package": "1.25.0-next.45+c6ac473868c",
20
+ "@theia/application-package": "1.25.0-next.48+d8064d1ffe3",
21
21
  "@types/body-parser": "^1.16.4",
22
22
  "@types/cookie": "^0.3.3",
23
23
  "@types/dompurify": "^2.2.2",
@@ -190,5 +190,5 @@
190
190
  "nyc": {
191
191
  "extends": "../../configs/nyc.json"
192
192
  },
193
- "gitHead": "c6ac473868c08557a8f343e35ea1bc9604fd91f3"
193
+ "gitHead": "d8064d1ffe3c391774328a7dc8aa11066b3d8d49"
194
194
  }
@@ -15,12 +15,13 @@
15
15
  // *****************************************************************************
16
16
 
17
17
  /**
18
- * This token is unique the the current running instance. It is used by the backend
18
+ * This token is unique to the current running instance. It is used by the backend
19
19
  * to make sure it is an electron browser window that is connecting to its services.
20
20
  *
21
- * The identifier is a string, which makes it usable as a key for cookies or similar.
21
+ * The identifier is a string, which makes it usable as a key for cookies, environments, etc.
22
22
  */
23
- export const ElectronSecurityToken = 'x-theia-electron-token';
23
+ // Note that it needs to be uppercase for it to work properly in Windows environments.
24
+ export const ElectronSecurityToken: string = 'THEIA_ELECTRON_TOKEN';
24
25
  export interface ElectronSecurityToken {
25
26
  value: string;
26
27
  };