@theia/electron 1.53.0-next.4 → 1.53.0-next.55
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 +1 -1
- package/index.d.ts +25 -25
- package/index.js +27 -27
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@ The `@theia/electron` extension bundles all Electron-specific dependencies and c
|
|
|
18
18
|
|
|
19
19
|
- `@theia/electron/shared/...`
|
|
20
20
|
- `native-keymap` (from [`native-keymap@^2.2.1`](https://www.npmjs.com/package/native-keymap))
|
|
21
|
-
- `electron` (from [`electron@^
|
|
21
|
+
- `electron` (from [`electron@^30.1.2`](https://www.npmjs.com/package/electron))
|
|
22
22
|
- `electron-store` (from [`electron-store@^8.0.0`](https://www.npmjs.com/package/electron-store))
|
|
23
23
|
- `fix-path` (from [`fix-path@^3.0.0`](https://www.npmjs.com/package/fix-path))
|
|
24
24
|
|
package/index.d.ts
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
// *****************************************************************************
|
|
2
|
-
// Copyright (C) 2021 Ericsson and others.
|
|
3
|
-
//
|
|
4
|
-
// This program and the accompanying materials are made available under the
|
|
5
|
-
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
-
// http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
-
//
|
|
8
|
-
// This Source Code may also be made available under the following Secondary
|
|
9
|
-
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
-
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
-
// with the GNU Classpath Exception which is available at
|
|
12
|
-
// https://www.gnu.org/software/classpath/license.html.
|
|
13
|
-
//
|
|
14
|
-
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
15
|
-
// *****************************************************************************
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Currently installed Electron version. `undefined` if Electron is not installed nor found.
|
|
19
|
-
*/
|
|
20
|
-
export const electronVersion: string | undefined;
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Supported Electron version range.
|
|
24
|
-
*/
|
|
25
|
-
export const electronRange: string;
|
|
1
|
+
// *****************************************************************************
|
|
2
|
+
// Copyright (C) 2021 Ericsson and others.
|
|
3
|
+
//
|
|
4
|
+
// This program and the accompanying materials are made available under the
|
|
5
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
//
|
|
8
|
+
// This Source Code may also be made available under the following Secondary
|
|
9
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
// with the GNU Classpath Exception which is available at
|
|
12
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
//
|
|
14
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
15
|
+
// *****************************************************************************
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Currently installed Electron version. `undefined` if Electron is not installed nor found.
|
|
19
|
+
*/
|
|
20
|
+
export const electronVersion: string | undefined;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Supported Electron version range.
|
|
24
|
+
*/
|
|
25
|
+
export const electronRange: string;
|
package/index.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
// *****************************************************************************
|
|
2
|
-
// Copyright (C) 2021 Ericsson and others.
|
|
3
|
-
//
|
|
4
|
-
// This program and the accompanying materials are made available under the
|
|
5
|
-
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
-
// http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
-
//
|
|
8
|
-
// This Source Code may also be made available under the following Secondary
|
|
9
|
-
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
-
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
-
// with the GNU Classpath Exception which is available at
|
|
12
|
-
// https://www.gnu.org/software/classpath/license.html.
|
|
13
|
-
//
|
|
14
|
-
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
15
|
-
// *****************************************************************************
|
|
16
|
-
|
|
17
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
18
|
-
exports.electronRange = require('./package.json').peerDependencies.electron;
|
|
19
|
-
try {
|
|
20
|
-
exports.electronVersion = require('electron/package.json').version;
|
|
21
|
-
} catch (error) {
|
|
22
|
-
if (error.code === 'MODULE_NOT_FOUND') {
|
|
23
|
-
exports.electronVersion = undefined;
|
|
24
|
-
} else {
|
|
25
|
-
throw error;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
1
|
+
// *****************************************************************************
|
|
2
|
+
// Copyright (C) 2021 Ericsson and others.
|
|
3
|
+
//
|
|
4
|
+
// This program and the accompanying materials are made available under the
|
|
5
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
//
|
|
8
|
+
// This Source Code may also be made available under the following Secondary
|
|
9
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
// with the GNU Classpath Exception which is available at
|
|
12
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
//
|
|
14
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
15
|
+
// *****************************************************************************
|
|
16
|
+
|
|
17
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
18
|
+
exports.electronRange = require('./package.json').peerDependencies.electron;
|
|
19
|
+
try {
|
|
20
|
+
exports.electronVersion = require('electron/package.json').version;
|
|
21
|
+
} catch (error) {
|
|
22
|
+
if (error.code === 'MODULE_NOT_FOUND') {
|
|
23
|
+
exports.electronVersion = undefined;
|
|
24
|
+
} else {
|
|
25
|
+
throw error;
|
|
26
|
+
}
|
|
27
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theia/electron",
|
|
3
|
-
"version": "1.53.0-next.
|
|
3
|
+
"version": "1.53.0-next.55+d1a989a68c",
|
|
4
4
|
"description": "Theia - Electron utility package",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"electron-store": "^8.0.0",
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
"native-keymap": "^2.2.1"
|
|
9
9
|
},
|
|
10
10
|
"devDependencies": {
|
|
11
|
-
"@theia/ext-scripts": "1.
|
|
12
|
-
"@theia/re-exports": "1.
|
|
11
|
+
"@theia/ext-scripts": "1.53.0",
|
|
12
|
+
"@theia/re-exports": "1.53.0"
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"electron": "^
|
|
15
|
+
"electron": "^30.1.2"
|
|
16
16
|
},
|
|
17
17
|
"theiaReExports": {
|
|
18
18
|
"shared": {
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"nyc": {
|
|
61
61
|
"extends": "../../configs/nyc.json"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "d1a989a68c1b5ec1f9098e9126653c6346844769"
|
|
64
64
|
}
|