electron 26.0.0 → 26.2.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/README.md +1 -1
- package/checksums.json +75 -75
- package/electron.d.ts +53 -20
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -78,7 +78,7 @@ binary. Use this to spawn Electron from Node scripts:
|
|
|
78
78
|
|
|
79
79
|
```javascript
|
|
80
80
|
const electron = require('electron')
|
|
81
|
-
const proc = require('child_process')
|
|
81
|
+
const proc = require('node:child_process')
|
|
82
82
|
|
|
83
83
|
// will print something similar to /Users/maf/.../Electron
|
|
84
84
|
console.log(electron)
|
package/checksums.json
CHANGED
|
@@ -1,77 +1,77 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-v26.
|
|
3
|
-
"chromedriver-v26.
|
|
4
|
-
"chromedriver-v26.
|
|
5
|
-
"chromedriver-v26.
|
|
6
|
-
"chromedriver-v26.
|
|
7
|
-
"chromedriver-v26.
|
|
8
|
-
"chromedriver-v26.
|
|
9
|
-
"chromedriver-v26.
|
|
10
|
-
"chromedriver-v26.
|
|
11
|
-
"chromedriver-v26.
|
|
12
|
-
"electron-api.json": "
|
|
13
|
-
"electron-v26.
|
|
14
|
-
"electron-v26.
|
|
15
|
-
"electron-v26.
|
|
16
|
-
"electron-v26.
|
|
17
|
-
"electron-v26.
|
|
18
|
-
"electron-v26.
|
|
19
|
-
"electron-v26.
|
|
20
|
-
"electron-v26.
|
|
21
|
-
"electron-v26.
|
|
22
|
-
"electron-v26.
|
|
23
|
-
"electron-v26.
|
|
24
|
-
"electron-v26.
|
|
25
|
-
"electron-v26.
|
|
26
|
-
"electron-v26.
|
|
27
|
-
"electron-v26.
|
|
28
|
-
"electron-v26.
|
|
29
|
-
"electron-v26.
|
|
30
|
-
"electron-v26.
|
|
31
|
-
"electron-v26.
|
|
32
|
-
"electron-v26.
|
|
33
|
-
"electron-v26.
|
|
34
|
-
"electron-v26.
|
|
35
|
-
"electron-v26.
|
|
36
|
-
"electron-v26.
|
|
37
|
-
"electron-v26.
|
|
38
|
-
"electron-v26.
|
|
39
|
-
"electron-v26.
|
|
40
|
-
"electron-v26.
|
|
41
|
-
"electron-v26.
|
|
42
|
-
"electron-v26.
|
|
43
|
-
"electron-v26.
|
|
44
|
-
"electron-v26.
|
|
45
|
-
"electron-v26.
|
|
46
|
-
"electron-v26.
|
|
47
|
-
"electron-v26.
|
|
48
|
-
"electron-v26.
|
|
49
|
-
"electron-v26.
|
|
50
|
-
"electron.d.ts": "
|
|
51
|
-
"ffmpeg-v26.
|
|
52
|
-
"ffmpeg-v26.
|
|
53
|
-
"ffmpeg-v26.
|
|
54
|
-
"ffmpeg-v26.
|
|
55
|
-
"ffmpeg-v26.
|
|
56
|
-
"ffmpeg-v26.
|
|
57
|
-
"ffmpeg-v26.
|
|
58
|
-
"ffmpeg-v26.
|
|
59
|
-
"ffmpeg-v26.
|
|
60
|
-
"ffmpeg-v26.
|
|
61
|
-
"hunspell_dictionaries.zip": "
|
|
62
|
-
"libcxx-objects-v26.
|
|
63
|
-
"libcxx-objects-v26.
|
|
64
|
-
"libcxx-objects-v26.
|
|
65
|
-
"libcxx_headers.zip": "
|
|
66
|
-
"libcxxabi_headers.zip": "
|
|
67
|
-
"mksnapshot-v26.
|
|
68
|
-
"mksnapshot-v26.
|
|
69
|
-
"mksnapshot-v26.
|
|
70
|
-
"mksnapshot-v26.
|
|
71
|
-
"mksnapshot-v26.
|
|
72
|
-
"mksnapshot-v26.
|
|
73
|
-
"mksnapshot-v26.
|
|
74
|
-
"mksnapshot-v26.
|
|
75
|
-
"mksnapshot-v26.
|
|
76
|
-
"mksnapshot-v26.
|
|
2
|
+
"chromedriver-v26.2.0-darwin-arm64.zip": "1c3111dda73be54385a149b8f4ce66fad49e7b400669cdd2b7ec0eafe905d1dc",
|
|
3
|
+
"chromedriver-v26.2.0-darwin-x64.zip": "9a08c9044fe11e6d9d8c396491f450dc6a6c2632b311c94e02448ff771b04c0b",
|
|
4
|
+
"chromedriver-v26.2.0-linux-arm64.zip": "922f0ac6cffb0e50503877a4a9dbddfe02ca8a8713ff16d1d0c0de0909339236",
|
|
5
|
+
"chromedriver-v26.2.0-linux-armv7l.zip": "eed6522763d007552a855fe95c2e5fbda1e429f4f462d29d0333061955ddb386",
|
|
6
|
+
"chromedriver-v26.2.0-linux-x64.zip": "48ec56d143e15cc307a258f8fd65b67e0072cb8a0842bf0888f6336c9b2ce53c",
|
|
7
|
+
"chromedriver-v26.2.0-mas-arm64.zip": "3f126ce107af1d461c0d81545ef8150eb3a5e1e5c2981f2f82b5b7e84af70b7b",
|
|
8
|
+
"chromedriver-v26.2.0-mas-x64.zip": "1a13bcf00860469c9dd25e81c12538687fb28b518a0c885abdb6e525aedd210e",
|
|
9
|
+
"chromedriver-v26.2.0-win32-arm64.zip": "d63e6757b964b8d50ca62f278a51bf7c392cae7e72e2a37dd1c8b8efb841e7a5",
|
|
10
|
+
"chromedriver-v26.2.0-win32-ia32.zip": "8278ebb1678b5990145ce2c397484f2cdf209d236686df382c000321a08d11a7",
|
|
11
|
+
"chromedriver-v26.2.0-win32-x64.zip": "881035e76e49cd7eea4ec9e178bd1d5f5cea673eab79f336accb939ab7f205d9",
|
|
12
|
+
"electron-api.json": "799dbe6985742498e9bf099be1182bf1bc4505460656427350fb6af9bf54b1fe",
|
|
13
|
+
"electron-v26.2.0-darwin-arm64-dsym-snapshot.zip": "93b43cc2a1db43907bb381bbeea764c5c868c87a833943bf41b7cb14820938e3",
|
|
14
|
+
"electron-v26.2.0-darwin-arm64-dsym.zip": "12d0f0832f19770b6f32a0c585811bfafdedb6839db447d19c768afb0cac0969",
|
|
15
|
+
"electron-v26.2.0-darwin-arm64-symbols.zip": "d10e7b3db8b0999f731ecf9e76008789d8a768ea1e99a38027f2682b8b69923a",
|
|
16
|
+
"electron-v26.2.0-darwin-arm64.zip": "1bb9f1f9d26b045ffa695ed0e73d5e92b0bbbe7adb9c0565585a5c4cd3bc6720",
|
|
17
|
+
"electron-v26.2.0-darwin-x64-dsym-snapshot.zip": "ba0868063088d48820675c0c16f1792008e70843cc5df715c2ff0381683255d1",
|
|
18
|
+
"electron-v26.2.0-darwin-x64-dsym.zip": "1dabe2109bdfccb76135659c01d36202af8cc30cc1e408d1fddd2cfa258e49e1",
|
|
19
|
+
"electron-v26.2.0-darwin-x64-symbols.zip": "20acb30b35884ff10fa86e6aca2b95ba5655e8f9a44891d938fe78faaa70342b",
|
|
20
|
+
"electron-v26.2.0-darwin-x64.zip": "148c1d94598064ce2ded5a639891af6b2222af87ee5c23b1d66bc9e29d45d90e",
|
|
21
|
+
"electron-v26.2.0-linux-arm64-debug.zip": "8094f4af13626ced6a3d9165e0099ccd8c4379a8f7f86bcf65135b5b661de9ff",
|
|
22
|
+
"electron-v26.2.0-linux-arm64-symbols.zip": "eef4b4547e625551db8d42395f6f8afe1b0718627f6e25120049b664dd9a5758",
|
|
23
|
+
"electron-v26.2.0-linux-arm64.zip": "427b0122b86d199693f36b25e695b1d430b6adcdeeb2d1483c99191c23b636ac",
|
|
24
|
+
"electron-v26.2.0-linux-armv7l-debug.zip": "8094f4af13626ced6a3d9165e0099ccd8c4379a8f7f86bcf65135b5b661de9ff",
|
|
25
|
+
"electron-v26.2.0-linux-armv7l-symbols.zip": "824066d262d9697d102a99646ccf25395ce99c8d60bb10bc112771cb4d8f5cdf",
|
|
26
|
+
"electron-v26.2.0-linux-armv7l.zip": "b68f5fa18a3f53c0c3f0620847aa5a1cc9531f2c3ec6e8a57d63087a39c5e7be",
|
|
27
|
+
"electron-v26.2.0-linux-x64-debug.zip": "79144495351bb7bc087dd9edc8ee36fc334bd76168cb1f08ab801a16626b83a5",
|
|
28
|
+
"electron-v26.2.0-linux-x64-symbols.zip": "bd34cd89c260bdba47af4beaef166c890c0c1682108fed196d7f8071ffc222ad",
|
|
29
|
+
"electron-v26.2.0-linux-x64.zip": "7210684574309df90f90d54c9f013fb690a9edf46c80e264ba67a4b7d50ca856",
|
|
30
|
+
"electron-v26.2.0-mas-arm64-dsym-snapshot.zip": "93b43cc2a1db43907bb381bbeea764c5c868c87a833943bf41b7cb14820938e3",
|
|
31
|
+
"electron-v26.2.0-mas-arm64-dsym.zip": "1a4290ea1c4fd69f91714628b33f38ef2a14402a81dc8e2d6e58e719c9d2ca95",
|
|
32
|
+
"electron-v26.2.0-mas-arm64-symbols.zip": "ca02ebef7d5ae3a29e853cc902502c63dd88b7835ee82b934cc7c4430b96bf73",
|
|
33
|
+
"electron-v26.2.0-mas-arm64.zip": "285049f2e57755f590269ec258c741d069052d0300c4b666309661fbd2e36508",
|
|
34
|
+
"electron-v26.2.0-mas-x64-dsym-snapshot.zip": "51f1a1e7ff462e3e5ef3db8766d41f17d5c1593f5cd85eb21e9b6097c0b90892",
|
|
35
|
+
"electron-v26.2.0-mas-x64-dsym.zip": "56b43bad0ee1bec947ee78796382f606f944272b9acbdee4484e2a9d6c0eea45",
|
|
36
|
+
"electron-v26.2.0-mas-x64-symbols.zip": "55b6bcb7a72fde2385f24a92952a8a14bfa25844a3bebce85a08872401bd037e",
|
|
37
|
+
"electron-v26.2.0-mas-x64.zip": "035da4afca728471e1a667c22ad1be669df15cf32bc4021e90fe0f2d76aeae18",
|
|
38
|
+
"electron-v26.2.0-win32-arm64-pdb.zip": "025574566c659e95976d0fef4b95628edee9442edb54989a0327554f8d22bb3e",
|
|
39
|
+
"electron-v26.2.0-win32-arm64-symbols.zip": "8335f5a5481738fe5316584e8322da1ffd654d285c348015112fdafbef12d485",
|
|
40
|
+
"electron-v26.2.0-win32-arm64-toolchain-profile.zip": "e7b968fc53cc7a10a4ccb5133af045968479685ebb9617f06817f03667fdd425",
|
|
41
|
+
"electron-v26.2.0-win32-arm64.zip": "c539dd7e455dbe0b8c612d78a65498749b21c1646efe8676ecddbf692c115f48",
|
|
42
|
+
"electron-v26.2.0-win32-ia32-pdb.zip": "ad29b2d5b148fb3e8b697053e9f72dc701d8fa475210a327eeba21a5a270e4d9",
|
|
43
|
+
"electron-v26.2.0-win32-ia32-symbols.zip": "047a6f00c0adf6e6509f850c65946f7ff35a4ab8c65a129a3f24489f6cd68d9e",
|
|
44
|
+
"electron-v26.2.0-win32-ia32-toolchain-profile.zip": "e7b968fc53cc7a10a4ccb5133af045968479685ebb9617f06817f03667fdd425",
|
|
45
|
+
"electron-v26.2.0-win32-ia32.zip": "9022c589d05e1431ca1727a73bdab450e9071d5e933dbd86106c5c9ffa9acb6d",
|
|
46
|
+
"electron-v26.2.0-win32-x64-pdb.zip": "b5f61a0a885e5ef03b7f8122fb713fc128cdb2d2e80c679d9062c5b73e9df5d2",
|
|
47
|
+
"electron-v26.2.0-win32-x64-symbols.zip": "daf60437bdc7ebf2329a01f1fdea01c8b3463471633ab8d0e586485ac181f835",
|
|
48
|
+
"electron-v26.2.0-win32-x64-toolchain-profile.zip": "e7b968fc53cc7a10a4ccb5133af045968479685ebb9617f06817f03667fdd425",
|
|
49
|
+
"electron-v26.2.0-win32-x64.zip": "bee71e4fe599db6f7400f33d3d1b60123ee808867e32dee2134fefd32e135fbf",
|
|
50
|
+
"electron.d.ts": "eec72651096f748cfa4fe32d52b891a94132222aa500628c6083599e87e829a1",
|
|
51
|
+
"ffmpeg-v26.2.0-darwin-arm64.zip": "9038582be754a19bdf4fb63c066cbef9ff4881de6c72ee6cef1da651d91d4198",
|
|
52
|
+
"ffmpeg-v26.2.0-darwin-x64.zip": "ed949653c6b2cd2a2331344eaf3e9565c4dc8c610092c6ab22ae0e4e516cb870",
|
|
53
|
+
"ffmpeg-v26.2.0-linux-arm64.zip": "d326b79c9b271c90c96e9a7c20e3742ad145c46779d7c8f6f1592614b5450156",
|
|
54
|
+
"ffmpeg-v26.2.0-linux-armv7l.zip": "f16f1ef2bae1358985b5d7685935a2c181a4279f24c53d8901178e03994b6847",
|
|
55
|
+
"ffmpeg-v26.2.0-linux-x64.zip": "4568708d0ed0f4ac26737cfae460cd5a338cb78b1e05aa2661881c28efa275b2",
|
|
56
|
+
"ffmpeg-v26.2.0-mas-arm64.zip": "5b781d37778f93ab78afbece3621950d0740fdcc4355b80ec2a2fc213a20f073",
|
|
57
|
+
"ffmpeg-v26.2.0-mas-x64.zip": "a6521ada825be38cb8721f315623d1dac85498141cd2fee1d13489b603090dc9",
|
|
58
|
+
"ffmpeg-v26.2.0-win32-arm64.zip": "5e9c77d2109b6592343ef27693801eb91bbc2f7231773eb89ad0ccedf7f919ff",
|
|
59
|
+
"ffmpeg-v26.2.0-win32-ia32.zip": "c7edaca78cf0f320002c9fdee563ef53e7b4ebae1f071a0ca0e51ce742a04854",
|
|
60
|
+
"ffmpeg-v26.2.0-win32-x64.zip": "3d46fbd332eae4bc1dcf6ae5baeb1097b308ef59e23ff8cf2bcc7fe20e789ca6",
|
|
61
|
+
"hunspell_dictionaries.zip": "d887dc2bee9b2ed0aa8b9f89317c592d1f65452f78dbdee90a125c5542b2726e",
|
|
62
|
+
"libcxx-objects-v26.2.0-linux-arm64.zip": "027647a6b645b2fe49eae600b1f0dc2c154366f42dba601daefaed3bfaa4ddfd",
|
|
63
|
+
"libcxx-objects-v26.2.0-linux-armv7l.zip": "91f24ef8103453b5a0223bdbb19d5b033758d30d5ccda6ea6ea2cc6d3b4b0d1d",
|
|
64
|
+
"libcxx-objects-v26.2.0-linux-x64.zip": "c9fb7700f95ee89000ad43ca969d438caa04a36c20d4d63c8cecf250e98d853d",
|
|
65
|
+
"libcxx_headers.zip": "73fc64cc99aa89c243a9fcfbea6c74e7dc7e35a722985e9ccc02556189c5b4e6",
|
|
66
|
+
"libcxxabi_headers.zip": "60669566057d34f2ff63d1c137bc9fda271bfd35d75230445fbc7808cfaa649c",
|
|
67
|
+
"mksnapshot-v26.2.0-darwin-arm64.zip": "c6f75accf1d682df1b5d2cc3ae3660ee09dd726e8e1a7f1e07d393721ba68bf7",
|
|
68
|
+
"mksnapshot-v26.2.0-darwin-x64.zip": "2e36d4c8653dd7ddd7f7a2c001f23e0f2c770d8d9421727c6a6f908cc257ea5a",
|
|
69
|
+
"mksnapshot-v26.2.0-linux-arm64-x64.zip": "35291a26b41bda881713f822ef175df535b74109860adae8edbe35ec8c02f8ad",
|
|
70
|
+
"mksnapshot-v26.2.0-linux-armv7l-x64.zip": "89f957d09b48e216feae25a34acb1f70db1e126fe0a551437f21283c7377559f",
|
|
71
|
+
"mksnapshot-v26.2.0-linux-x64.zip": "3fc4460f3453f5285fe656ada47f27803156e470c343b3fef6ce2fe1e6e78a68",
|
|
72
|
+
"mksnapshot-v26.2.0-mas-arm64.zip": "299228293c7149a39ee4a043c55d0086e34c81c59fd2fcc6245a18ad8285a81b",
|
|
73
|
+
"mksnapshot-v26.2.0-mas-x64.zip": "d9998884b5ad1e2a330e50a35f9efd3b41a05ac13c0c42f7ac64ecfb4d35ee02",
|
|
74
|
+
"mksnapshot-v26.2.0-win32-arm64-x64.zip": "506183280f0ce3ca1a9130ca286cda1eae5b99eff270caaad2ee5a129b01309c",
|
|
75
|
+
"mksnapshot-v26.2.0-win32-ia32.zip": "a49b05918d125ce14a249d740775304cc077faf0595741b5afb65121b58289da",
|
|
76
|
+
"mksnapshot-v26.2.0-win32-x64.zip": "3b893d626b5a48ecf1855a8c144d20af16226e554934c8afbcc3777294d49ec1"
|
|
77
77
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 26.
|
|
1
|
+
// Type definitions for Electron 26.2.0
|
|
2
2
|
// Project: http://electronjs.org/
|
|
3
3
|
// Definitions by: The Electron Team <https://github.com/electron/electron>
|
|
4
4
|
// Definitions: https://github.com/electron/typescript-definitions
|
|
@@ -2313,6 +2313,11 @@ declare namespace Electron {
|
|
|
2313
2313
|
getBackgroundColor(): string;
|
|
2314
2314
|
/**
|
|
2315
2315
|
* The `bounds` of the window as `Object`.
|
|
2316
|
+
*
|
|
2317
|
+
* **Note:** On macOS, the y-coordinate value returned will be at minimum the Tray
|
|
2318
|
+
* height. For example, calling `win.setBounds({ x: 25, y: 20, width: 800, height:
|
|
2319
|
+
* 600 })` with a tray height of 38 means that `win.getBounds()` will return `{ x:
|
|
2320
|
+
* 25, y: 38, width: 800, height: 600 }`.
|
|
2316
2321
|
*/
|
|
2317
2322
|
getBounds(): Rectangle;
|
|
2318
2323
|
/**
|
|
@@ -2792,6 +2797,11 @@ declare namespace Electron {
|
|
|
2792
2797
|
/**
|
|
2793
2798
|
* Resizes and moves the window to the supplied bounds. Any properties that are not
|
|
2794
2799
|
* supplied will default to their current values.
|
|
2800
|
+
*
|
|
2801
|
+
* **Note:** On macOS, the y-coordinate value cannot be smaller than the Tray
|
|
2802
|
+
* height. The tray height has changed over time and depends on the operating
|
|
2803
|
+
* system, but is between 20-40px. Passing a value lower than the tray height will
|
|
2804
|
+
* result in a window that is flush to the tray.
|
|
2795
2805
|
*/
|
|
2796
2806
|
setBounds(bounds: Partial<Rectangle>, animate?: boolean): void;
|
|
2797
2807
|
/**
|
|
@@ -7708,6 +7718,21 @@ declare namespace Electron {
|
|
|
7708
7718
|
url: string;
|
|
7709
7719
|
}
|
|
7710
7720
|
|
|
7721
|
+
interface RenderProcessGoneDetails {
|
|
7722
|
+
|
|
7723
|
+
// Docs: https://electronjs.org/docs/api/structures/render-process-gone-details
|
|
7724
|
+
|
|
7725
|
+
/**
|
|
7726
|
+
* The exit code of the process, unless `reason` is `launch-failed`, in which case
|
|
7727
|
+
* `exitCode` will be a platform-specific launch failure error code.
|
|
7728
|
+
*/
|
|
7729
|
+
exitCode: number;
|
|
7730
|
+
/**
|
|
7731
|
+
* The reason the render process is gone. Possible values:
|
|
7732
|
+
*/
|
|
7733
|
+
reason: ('clean-exit' | 'abnormal-exit' | 'killed' | 'crashed' | 'oom' | 'launch-failed' | 'integrity-failure');
|
|
7734
|
+
}
|
|
7735
|
+
|
|
7711
7736
|
interface ResolvedEndpoint {
|
|
7712
7737
|
|
|
7713
7738
|
// Docs: https://electronjs.org/docs/api/structures/resolved-endpoint
|
|
@@ -8603,12 +8628,12 @@ declare namespace Electron {
|
|
|
8603
8628
|
*/
|
|
8604
8629
|
getCacheSize(): Promise<number>;
|
|
8605
8630
|
/**
|
|
8606
|
-
*
|
|
8631
|
+
* The loaded extension with the given ID.
|
|
8607
8632
|
*
|
|
8608
8633
|
* **Note:** This API cannot be called before the `ready` event of the `app` module
|
|
8609
8634
|
* is emitted.
|
|
8610
8635
|
*/
|
|
8611
|
-
getExtension(extensionId: string): Extension;
|
|
8636
|
+
getExtension(extensionId: string): (Extension) | (null);
|
|
8612
8637
|
/**
|
|
8613
8638
|
* an array of paths to preload scripts that have been registered.
|
|
8614
8639
|
*/
|
|
@@ -12289,7 +12314,7 @@ declare namespace Electron {
|
|
|
12289
12314
|
* Initiates a download of the resource at `url` without navigating. The
|
|
12290
12315
|
* `will-download` event of `session` will be triggered.
|
|
12291
12316
|
*/
|
|
12292
|
-
downloadURL(url: string): void;
|
|
12317
|
+
downloadURL(url: string, options?: DownloadURLOptions): void;
|
|
12293
12318
|
/**
|
|
12294
12319
|
* Enable device emulation with the given parameters.
|
|
12295
12320
|
*/
|
|
@@ -13824,10 +13849,22 @@ declare namespace Electron {
|
|
|
13824
13849
|
addEventListener(event: 'ipc-message', listener: (event: IpcMessageEvent) => void, useCapture?: boolean): this;
|
|
13825
13850
|
removeEventListener(event: 'ipc-message', listener: (event: IpcMessageEvent) => void): this;
|
|
13826
13851
|
/**
|
|
13827
|
-
* Fired when the renderer process is
|
|
13852
|
+
* Fired when the renderer process crashes or is killed.
|
|
13853
|
+
*
|
|
13854
|
+
* **Deprecated:** This event is superceded by the `render-process-gone` event
|
|
13855
|
+
* which contains more information about why the render process disappeared. It
|
|
13856
|
+
* isn't always because it crashed.
|
|
13857
|
+
*
|
|
13858
|
+
* @deprecated
|
|
13828
13859
|
*/
|
|
13829
13860
|
addEventListener(event: 'crashed', listener: (event: DOMEvent) => void, useCapture?: boolean): this;
|
|
13830
13861
|
removeEventListener(event: 'crashed', listener: (event: DOMEvent) => void): this;
|
|
13862
|
+
/**
|
|
13863
|
+
* Fired when the renderer process unexpectedly disappears. This is normally
|
|
13864
|
+
* because it was crashed or killed.
|
|
13865
|
+
*/
|
|
13866
|
+
addEventListener(event: 'render-process-gone', listener: (event: RenderProcessGoneEvent) => void, useCapture?: boolean): this;
|
|
13867
|
+
removeEventListener(event: 'render-process-gone', listener: (event: RenderProcessGoneEvent) => void): this;
|
|
13831
13868
|
/**
|
|
13832
13869
|
* Fired when a plugin process is crashed.
|
|
13833
13870
|
*/
|
|
@@ -13944,7 +13981,7 @@ declare namespace Electron {
|
|
|
13944
13981
|
/**
|
|
13945
13982
|
* Initiates a download of the resource at `url` without navigating.
|
|
13946
13983
|
*/
|
|
13947
|
-
downloadURL(url: string): void;
|
|
13984
|
+
downloadURL(url: string, options?: DownloadURLOptions): void;
|
|
13948
13985
|
/**
|
|
13949
13986
|
* A promise that resolves with the result of the executed code or is rejected if
|
|
13950
13987
|
* the result of the code is a rejected promise.
|
|
@@ -16677,16 +16714,8 @@ declare namespace Electron {
|
|
|
16677
16714
|
execPath?: string;
|
|
16678
16715
|
}
|
|
16679
16716
|
|
|
16680
|
-
interface
|
|
16681
|
-
|
|
16682
|
-
* The reason the render process is gone. Possible values:
|
|
16683
|
-
*/
|
|
16684
|
-
reason: ('clean-exit' | 'abnormal-exit' | 'killed' | 'crashed' | 'oom' | 'launch-failed' | 'integrity-failure');
|
|
16685
|
-
/**
|
|
16686
|
-
* The exit code of the process, unless `reason` is `launch-failed`, in which case
|
|
16687
|
-
* `exitCode` will be a platform-specific launch failure error code.
|
|
16688
|
-
*/
|
|
16689
|
-
exitCode: number;
|
|
16717
|
+
interface RenderProcessGoneEvent extends DOMEvent {
|
|
16718
|
+
details: RenderProcessGoneDetails;
|
|
16690
16719
|
}
|
|
16691
16720
|
|
|
16692
16721
|
interface Request {
|
|
@@ -18140,7 +18169,7 @@ declare namespace Electron {
|
|
|
18140
18169
|
type ReadBookmark = Electron.ReadBookmark;
|
|
18141
18170
|
type RegistrationCompletedDetails = Electron.RegistrationCompletedDetails;
|
|
18142
18171
|
type RelaunchOptions = Electron.RelaunchOptions;
|
|
18143
|
-
type
|
|
18172
|
+
type RenderProcessGoneEvent = Electron.RenderProcessGoneEvent;
|
|
18144
18173
|
type Request = Electron.Request;
|
|
18145
18174
|
type ResizeOptions = Electron.ResizeOptions;
|
|
18146
18175
|
type ResolveHostOptions = Electron.ResolveHostOptions;
|
|
@@ -18247,6 +18276,7 @@ declare namespace Electron {
|
|
|
18247
18276
|
type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
|
|
18248
18277
|
type Rectangle = Electron.Rectangle;
|
|
18249
18278
|
type Referrer = Electron.Referrer;
|
|
18279
|
+
type RenderProcessGoneDetails = Electron.RenderProcessGoneDetails;
|
|
18250
18280
|
type ResolvedEndpoint = Electron.ResolvedEndpoint;
|
|
18251
18281
|
type ResolvedHost = Electron.ResolvedHost;
|
|
18252
18282
|
type ScrubberItem = Electron.ScrubberItem;
|
|
@@ -18466,7 +18496,7 @@ declare namespace Electron {
|
|
|
18466
18496
|
type ReadBookmark = Electron.ReadBookmark;
|
|
18467
18497
|
type RegistrationCompletedDetails = Electron.RegistrationCompletedDetails;
|
|
18468
18498
|
type RelaunchOptions = Electron.RelaunchOptions;
|
|
18469
|
-
type
|
|
18499
|
+
type RenderProcessGoneEvent = Electron.RenderProcessGoneEvent;
|
|
18470
18500
|
type Request = Electron.Request;
|
|
18471
18501
|
type ResizeOptions = Electron.ResizeOptions;
|
|
18472
18502
|
type ResolveHostOptions = Electron.ResolveHostOptions;
|
|
@@ -18573,6 +18603,7 @@ declare namespace Electron {
|
|
|
18573
18603
|
type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
|
|
18574
18604
|
type Rectangle = Electron.Rectangle;
|
|
18575
18605
|
type Referrer = Electron.Referrer;
|
|
18606
|
+
type RenderProcessGoneDetails = Electron.RenderProcessGoneDetails;
|
|
18576
18607
|
type ResolvedEndpoint = Electron.ResolvedEndpoint;
|
|
18577
18608
|
type ResolvedHost = Electron.ResolvedHost;
|
|
18578
18609
|
type ScrubberItem = Electron.ScrubberItem;
|
|
@@ -18726,7 +18757,7 @@ declare namespace Electron {
|
|
|
18726
18757
|
type ReadBookmark = Electron.ReadBookmark;
|
|
18727
18758
|
type RegistrationCompletedDetails = Electron.RegistrationCompletedDetails;
|
|
18728
18759
|
type RelaunchOptions = Electron.RelaunchOptions;
|
|
18729
|
-
type
|
|
18760
|
+
type RenderProcessGoneEvent = Electron.RenderProcessGoneEvent;
|
|
18730
18761
|
type Request = Electron.Request;
|
|
18731
18762
|
type ResizeOptions = Electron.ResizeOptions;
|
|
18732
18763
|
type ResolveHostOptions = Electron.ResolveHostOptions;
|
|
@@ -18833,6 +18864,7 @@ declare namespace Electron {
|
|
|
18833
18864
|
type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
|
|
18834
18865
|
type Rectangle = Electron.Rectangle;
|
|
18835
18866
|
type Referrer = Electron.Referrer;
|
|
18867
|
+
type RenderProcessGoneDetails = Electron.RenderProcessGoneDetails;
|
|
18836
18868
|
type ResolvedEndpoint = Electron.ResolvedEndpoint;
|
|
18837
18869
|
type ResolvedHost = Electron.ResolvedHost;
|
|
18838
18870
|
type ScrubberItem = Electron.ScrubberItem;
|
|
@@ -19067,7 +19099,7 @@ declare namespace Electron {
|
|
|
19067
19099
|
type ReadBookmark = Electron.ReadBookmark;
|
|
19068
19100
|
type RegistrationCompletedDetails = Electron.RegistrationCompletedDetails;
|
|
19069
19101
|
type RelaunchOptions = Electron.RelaunchOptions;
|
|
19070
|
-
type
|
|
19102
|
+
type RenderProcessGoneEvent = Electron.RenderProcessGoneEvent;
|
|
19071
19103
|
type Request = Electron.Request;
|
|
19072
19104
|
type ResizeOptions = Electron.ResizeOptions;
|
|
19073
19105
|
type ResolveHostOptions = Electron.ResolveHostOptions;
|
|
@@ -19174,6 +19206,7 @@ declare namespace Electron {
|
|
|
19174
19206
|
type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
|
|
19175
19207
|
type Rectangle = Electron.Rectangle;
|
|
19176
19208
|
type Referrer = Electron.Referrer;
|
|
19209
|
+
type RenderProcessGoneDetails = Electron.RenderProcessGoneDetails;
|
|
19177
19210
|
type ResolvedEndpoint = Electron.ResolvedEndpoint;
|
|
19178
19211
|
type ResolvedHost = Electron.ResolvedHost;
|
|
19179
19212
|
type ScrubberItem = Electron.ScrubberItem;
|
package/package.json
CHANGED