electron 26.0.0-beta.9 → 26.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/checksums.json +75 -75
- package/electron.d.ts +74 -67
- package/package.json +1 -1
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.1.0-darwin-arm64.zip": "760a749a0a49a544633a7a56725eb4db75a6979a09f4df6833ed0e3c468ee2ab",
|
|
3
|
+
"chromedriver-v26.1.0-darwin-x64.zip": "bed3aa5fcf2737281eefc45f6246bea75ad3869307e76338ec1a7dbf677ba812",
|
|
4
|
+
"chromedriver-v26.1.0-linux-arm64.zip": "e22deb30b940d758ddaf2c81f92c48861ec257748de8cc7a0e3289016e53dcc4",
|
|
5
|
+
"chromedriver-v26.1.0-linux-armv7l.zip": "72b1330de69b6eb3b8e2ccf39ab787a2793e23df99aa467fd8a75aacc329b4d0",
|
|
6
|
+
"chromedriver-v26.1.0-linux-x64.zip": "58fc3182046949e8a1e8db735d7467c41bc5b0e9071bb3ad32efec84000a582f",
|
|
7
|
+
"chromedriver-v26.1.0-mas-arm64.zip": "4885d5f3416c4f926ed5eb4f393f5a2321d35032542499817c794a1e8835c707",
|
|
8
|
+
"chromedriver-v26.1.0-mas-x64.zip": "c3e4aaaaeae69c0d7f52f0f550bbb2edafa64521ff9a62a047be8a41bdabf811",
|
|
9
|
+
"chromedriver-v26.1.0-win32-arm64.zip": "099960b516dd851574bc9cc34fb2f36830dc78fa7131f7d1030791ff5444d80d",
|
|
10
|
+
"chromedriver-v26.1.0-win32-ia32.zip": "b9526c31e60380c72735ca473cfba94a3f5641cd3bc208689d7434c9064c3f99",
|
|
11
|
+
"chromedriver-v26.1.0-win32-x64.zip": "1e155eafc8d9f6aba318d107942d7201019dbc5df85f63b3157fa61154d4cf5e",
|
|
12
|
+
"electron-api.json": "0b1e1b6aefe96a69502fac2ec5754272fc98bfb4733c87d7bfa6f0ba270a8be3",
|
|
13
|
+
"electron-v26.1.0-darwin-arm64-dsym-snapshot.zip": "528491a506ec64b70f4ffe8688a144617e0112f8a1bcdc4fbab3b2476c2314d3",
|
|
14
|
+
"electron-v26.1.0-darwin-arm64-dsym.zip": "7b67a45fea5ef4e6233451347585595e52b2e0243bcc63dbe82f27eab3acbc06",
|
|
15
|
+
"electron-v26.1.0-darwin-arm64-symbols.zip": "f54b7f55c686a3dbe6c23f054ad647281a20329789a08915c6a5f85e718b58b4",
|
|
16
|
+
"electron-v26.1.0-darwin-arm64.zip": "f39aafcf480ef581161d3dc0b89a91c556dcaed45927ee0b612368016afe7b89",
|
|
17
|
+
"electron-v26.1.0-darwin-x64-dsym-snapshot.zip": "0488e1a6d6230d5be6b79e98fed4643bf778ddf0d2159384fafdcdb299a3423a",
|
|
18
|
+
"electron-v26.1.0-darwin-x64-dsym.zip": "866638ecd1fe15eb43cf2e0a9303cc94152b39a506f5b850a3067779a1451a47",
|
|
19
|
+
"electron-v26.1.0-darwin-x64-symbols.zip": "ea8796fafad1b621d54a19752978fd95befa2e61a8a576f127ec2b668a23fefe",
|
|
20
|
+
"electron-v26.1.0-darwin-x64.zip": "39a336baca218058011f39c4fa9a4275348ec7f411789262799d23c9669060d9",
|
|
21
|
+
"electron-v26.1.0-linux-arm64-debug.zip": "a5a59baf1d3a8a60edc5552700fe13a749d022f27062abba28e7c4222b8341e6",
|
|
22
|
+
"electron-v26.1.0-linux-arm64-symbols.zip": "d1c73eec720a52e85b81b95edd6fa417ef2d592e539d7d3914d89e86c8de4680",
|
|
23
|
+
"electron-v26.1.0-linux-arm64.zip": "1ed0996a06e97f5c23ceb8ae767873915c432c0aca5ffd4b37ab5fb1002d9d65",
|
|
24
|
+
"electron-v26.1.0-linux-armv7l-debug.zip": "a5a59baf1d3a8a60edc5552700fe13a749d022f27062abba28e7c4222b8341e6",
|
|
25
|
+
"electron-v26.1.0-linux-armv7l-symbols.zip": "630da1024c662f523efbfbc4c37ecd184f886912083fa5950489018c723821cc",
|
|
26
|
+
"electron-v26.1.0-linux-armv7l.zip": "4a4a6587bddce4554657f40fd9d39645ede03a375a1c42455c9b8d556698e5f5",
|
|
27
|
+
"electron-v26.1.0-linux-x64-debug.zip": "09c81d38057cf8a0adfaeba5bad70428aa233ed451d97b1291b5b07a3a8b59bb",
|
|
28
|
+
"electron-v26.1.0-linux-x64-symbols.zip": "a425b742e559ab6d35feaf5ee12b6590197478f1da05f9fbd036487591fbc632",
|
|
29
|
+
"electron-v26.1.0-linux-x64.zip": "de78aed71ce17395675a29dcd20c1370473713eb234143dd0fa3e4c5a39504eb",
|
|
30
|
+
"electron-v26.1.0-mas-arm64-dsym-snapshot.zip": "528491a506ec64b70f4ffe8688a144617e0112f8a1bcdc4fbab3b2476c2314d3",
|
|
31
|
+
"electron-v26.1.0-mas-arm64-dsym.zip": "69863dc20a505733e10a2ec60fa6c37da4bbd1a20ff151f15abe9bbae0a39499",
|
|
32
|
+
"electron-v26.1.0-mas-arm64-symbols.zip": "c2c1cc77ca38eb4cc82d65efbdd73b1dd39ccf597e48b769166794589fbe6a43",
|
|
33
|
+
"electron-v26.1.0-mas-arm64.zip": "649dc9b9f3e49b94e65a92f83295674021abf32836b10cb6e9c07f001ae6811f",
|
|
34
|
+
"electron-v26.1.0-mas-x64-dsym-snapshot.zip": "0df49e7d6893898d1170482d103932ab1c1905f828bbc48cd26510baf49eb7f1",
|
|
35
|
+
"electron-v26.1.0-mas-x64-dsym.zip": "70507fd1b1c21b9344a1a53b0f0a0692f2265475d7a4eb08d1e6a6f0d00e181e",
|
|
36
|
+
"electron-v26.1.0-mas-x64-symbols.zip": "813927b6446d4572a6324c23f1ac52bcdc5f1eff9b931989068e974f0f904575",
|
|
37
|
+
"electron-v26.1.0-mas-x64.zip": "07dd2f2c4fa7bef42d67c05f29dc0390b9b4b507050aa559d142bb661b0d0143",
|
|
38
|
+
"electron-v26.1.0-win32-arm64-pdb.zip": "d9ecdd760f19aac621ec691d8dac4c07514867e46b968097a93a51cb740380f5",
|
|
39
|
+
"electron-v26.1.0-win32-arm64-symbols.zip": "d71c9863df0e9e6059e090aaa8be060b80320cd3f166008eac2127268b358782",
|
|
40
|
+
"electron-v26.1.0-win32-arm64-toolchain-profile.zip": "e7b968fc53cc7a10a4ccb5133af045968479685ebb9617f06817f03667fdd425",
|
|
41
|
+
"electron-v26.1.0-win32-arm64.zip": "c265cb07f5e12b10bb193e8eb45f051ef0dec46474d3b58d5dd7d5a24d49cd18",
|
|
42
|
+
"electron-v26.1.0-win32-ia32-pdb.zip": "86fb1c42c665ee8ba791d28fbf5cc2fb23f7495b2594f486ae04a2d8e628ba7d",
|
|
43
|
+
"electron-v26.1.0-win32-ia32-symbols.zip": "9242a2dd908c78b126b5356ed8eb059b97a3284fe6151a718a9146446f439312",
|
|
44
|
+
"electron-v26.1.0-win32-ia32-toolchain-profile.zip": "e7b968fc53cc7a10a4ccb5133af045968479685ebb9617f06817f03667fdd425",
|
|
45
|
+
"electron-v26.1.0-win32-ia32.zip": "00ab472aa95fc40a80f5bdea4006363c2996e2cc537f66dcffec1667b93529db",
|
|
46
|
+
"electron-v26.1.0-win32-x64-pdb.zip": "d98d2d415b25cefc8690b9fc035da99e34f9a2dde51e92023c78dbe0ff6aa83c",
|
|
47
|
+
"electron-v26.1.0-win32-x64-symbols.zip": "ad2f889fc84baad22a6d8a02e5620bb8516684b310322d3954c3ededafee1034",
|
|
48
|
+
"electron-v26.1.0-win32-x64-toolchain-profile.zip": "e7b968fc53cc7a10a4ccb5133af045968479685ebb9617f06817f03667fdd425",
|
|
49
|
+
"electron-v26.1.0-win32-x64.zip": "7cbbe8673f184bf3c718194c83189b23d50d268abe9b7a96af4093fb2856252b",
|
|
50
|
+
"electron.d.ts": "7ddc4b7052c23d5bba97218f4cbcf36a6c877b6d2ac896a8ba3fe7de3680f28f",
|
|
51
|
+
"ffmpeg-v26.1.0-darwin-arm64.zip": "a349e130a29494da6c3f7386998a19669f11d2caee921e6bec612072750f7a45",
|
|
52
|
+
"ffmpeg-v26.1.0-darwin-x64.zip": "5dc27373f92c70538a63741afc7ae65822ac75f37a3bbb19754e104e5c5d9a6e",
|
|
53
|
+
"ffmpeg-v26.1.0-linux-arm64.zip": "827e2337221ebdca2d3d2b0e93aac44101ffa1281aa9d329d45891e3e5acb25d",
|
|
54
|
+
"ffmpeg-v26.1.0-linux-armv7l.zip": "4c81a689066d75c79a484f5ccca239ff2bb0dbb38492262b461b9d83cc4ad27a",
|
|
55
|
+
"ffmpeg-v26.1.0-linux-x64.zip": "a26b7494711355fada7b34dfc4115cda156b13cf8d3d73f08a62740e39934e74",
|
|
56
|
+
"ffmpeg-v26.1.0-mas-arm64.zip": "49cb7ee5db3ea837685e3a3531059896bece45ac643d44b79169980c21d151ee",
|
|
57
|
+
"ffmpeg-v26.1.0-mas-x64.zip": "bc31dc82e66cc7806abe4b1f22a14aaf2349aef3794eb205b57706e42ae54d62",
|
|
58
|
+
"ffmpeg-v26.1.0-win32-arm64.zip": "a7d829c430aa5be817db8b933d6c982f77306789a010307229b36ad2961da6f7",
|
|
59
|
+
"ffmpeg-v26.1.0-win32-ia32.zip": "a3d63a67864ea42537f36c1f6d34573bd41b8a3f9ace975f9819f537550f8887",
|
|
60
|
+
"ffmpeg-v26.1.0-win32-x64.zip": "f2f96d13e4254475103d05b5849b26202fd7602b0d26068f0ce3e2663a05f2f9",
|
|
61
|
+
"hunspell_dictionaries.zip": "7a46e0cb8456bde51885785439d96d3ff2a436d2ea708127d7d15b39de23c35c",
|
|
62
|
+
"libcxx-objects-v26.1.0-linux-arm64.zip": "0fcd13c34547ad0e534eb158c4d5ad60bd2a5874de4b19a99f087406da2fb9b8",
|
|
63
|
+
"libcxx-objects-v26.1.0-linux-armv7l.zip": "ecced80a59255800fc9490fb590610a3db442680c954ec4bfc662c89b84c881c",
|
|
64
|
+
"libcxx-objects-v26.1.0-linux-x64.zip": "92f29a2af2a96813edf955e6195fb8860f78c1db007d81bf61e84c388ec96581",
|
|
65
|
+
"libcxx_headers.zip": "05db904439f8ce923cd545c81a66b16c391bcfe637b79c3bbe276372aa35ffcd",
|
|
66
|
+
"libcxxabi_headers.zip": "61cf370ce756b69eecd9aa3dc2b484634c35733c3e7417fd7da1a90c3cd1be54",
|
|
67
|
+
"mksnapshot-v26.1.0-darwin-arm64.zip": "f6bfbcbc9378aac1c44113360d72cc408de523aada3f48468d2df1625aeff0f0",
|
|
68
|
+
"mksnapshot-v26.1.0-darwin-x64.zip": "d0a0f6b5526eb49691875f71ba6e5771db2608b635e905fcdf27c23109d45783",
|
|
69
|
+
"mksnapshot-v26.1.0-linux-arm64-x64.zip": "7e3c7b87cdbdd98dedcedaee7633654b8002baf3f341ac3d5c2412d7bb058ed2",
|
|
70
|
+
"mksnapshot-v26.1.0-linux-armv7l-x64.zip": "7992effa075648f9207695ca860c0899d7513a8c13f86a654aae40ec641b4cbb",
|
|
71
|
+
"mksnapshot-v26.1.0-linux-x64.zip": "7138fdcf3e776ae329bebcfe58b818ef674f815a7b3bd96c9be548e404128f91",
|
|
72
|
+
"mksnapshot-v26.1.0-mas-arm64.zip": "8a79216a8d6f79afdb627138aa81c71220aa75d43ab9fe188bb383ec79735ebc",
|
|
73
|
+
"mksnapshot-v26.1.0-mas-x64.zip": "532c9e50f49c7cb63b97334de271e771a97dfb7ba4b72704ad3a5851c12a2428",
|
|
74
|
+
"mksnapshot-v26.1.0-win32-arm64-x64.zip": "25839476e63d6b86527541106e308e9bf11ab642cdcbbc0756162d83e10870fd",
|
|
75
|
+
"mksnapshot-v26.1.0-win32-ia32.zip": "0e3992dcfae1b393eb7aac9cb1acbbc4df7f3a8b184be7ea1432c6a3e15b5662",
|
|
76
|
+
"mksnapshot-v26.1.0-win32-x64.zip": "deffbd3a4972f7df0e5352536e91b2709a14c11546449b8b3ecfa9b2d3539109"
|
|
77
77
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 26.
|
|
1
|
+
// Type definitions for Electron 26.1.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
|
/**
|
|
@@ -5568,12 +5578,12 @@ declare namespace Electron {
|
|
|
5568
5578
|
* are serialized and only the `message` property from the original error is
|
|
5569
5579
|
* provided to the renderer process. Please refer to #24427 for details.
|
|
5570
5580
|
*/
|
|
5571
|
-
handle(channel: string, listener: (event: IpcMainInvokeEvent, ...args: any[]) => (Promise<
|
|
5581
|
+
handle(channel: string, listener: (event: IpcMainInvokeEvent, ...args: any[]) => (Promise<any>) | (any)): void;
|
|
5572
5582
|
/**
|
|
5573
5583
|
* Handles a single `invoke`able IPC message, then removes the listener. See
|
|
5574
5584
|
* `ipcMain.handle(channel, listener)`.
|
|
5575
5585
|
*/
|
|
5576
|
-
handleOnce(channel: string, listener: (event: IpcMainInvokeEvent, ...args: any[]) => (Promise<
|
|
5586
|
+
handleOnce(channel: string, listener: (event: IpcMainInvokeEvent, ...args: any[]) => (Promise<any>) | (any)): void;
|
|
5577
5587
|
/**
|
|
5578
5588
|
* Listens to `channel`, when a new message arrives `listener` would be called with
|
|
5579
5589
|
* `listener(event, args...)`.
|
|
@@ -7107,8 +7117,10 @@ declare namespace Electron {
|
|
|
7107
7117
|
start(type: 'prevent-app-suspension' | 'prevent-display-sleep'): number;
|
|
7108
7118
|
/**
|
|
7109
7119
|
* Stops the specified power save blocker.
|
|
7120
|
+
*
|
|
7121
|
+
* Whether the specified `powerSaveBlocker` has been stopped.
|
|
7110
7122
|
*/
|
|
7111
|
-
stop(id: number):
|
|
7123
|
+
stop(id: number): boolean;
|
|
7112
7124
|
}
|
|
7113
7125
|
|
|
7114
7126
|
interface PrinterInfo {
|
|
@@ -7706,6 +7718,21 @@ declare namespace Electron {
|
|
|
7706
7718
|
url: string;
|
|
7707
7719
|
}
|
|
7708
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
|
+
|
|
7709
7736
|
interface ResolvedEndpoint {
|
|
7710
7737
|
|
|
7711
7738
|
// Docs: https://electronjs.org/docs/api/structures/resolved-endpoint
|
|
@@ -9338,36 +9365,6 @@ declare namespace Electron {
|
|
|
9338
9365
|
* @platform win32
|
|
9339
9366
|
*/
|
|
9340
9367
|
isAeroGlassEnabled(): boolean;
|
|
9341
|
-
/**
|
|
9342
|
-
* Whether the system is in Dark Mode.
|
|
9343
|
-
*
|
|
9344
|
-
* **Deprecated:** Should use the new `nativeTheme.shouldUseDarkColors` API.
|
|
9345
|
-
*
|
|
9346
|
-
* @deprecated
|
|
9347
|
-
* @platform darwin,win32
|
|
9348
|
-
*/
|
|
9349
|
-
isDarkMode(): boolean;
|
|
9350
|
-
/**
|
|
9351
|
-
* `true` if a high contrast theme is active, `false` otherwise.
|
|
9352
|
-
*
|
|
9353
|
-
* **Deprecated:** Should use the new `nativeTheme.shouldUseHighContrastColors`
|
|
9354
|
-
* API.
|
|
9355
|
-
*
|
|
9356
|
-
* @deprecated
|
|
9357
|
-
* @platform darwin,win32
|
|
9358
|
-
*/
|
|
9359
|
-
isHighContrastColorScheme(): boolean;
|
|
9360
|
-
/**
|
|
9361
|
-
* `true` if an inverted color scheme (a high contrast color scheme with light text
|
|
9362
|
-
* and dark backgrounds) is active, `false` otherwise.
|
|
9363
|
-
*
|
|
9364
|
-
* **Deprecated:** Should use the new `nativeTheme.shouldUseInvertedColorScheme`
|
|
9365
|
-
* API.
|
|
9366
|
-
*
|
|
9367
|
-
* @deprecated
|
|
9368
|
-
* @platform win32
|
|
9369
|
-
*/
|
|
9370
|
-
isInvertedColorScheme(): boolean;
|
|
9371
9368
|
/**
|
|
9372
9369
|
* Whether the Swipe between pages setting is on.
|
|
9373
9370
|
*
|
|
@@ -9532,6 +9529,7 @@ declare namespace Electron {
|
|
|
9532
9529
|
*
|
|
9533
9530
|
* This property is only available on macOS 10.14 Mojave or newer.
|
|
9534
9531
|
*
|
|
9532
|
+
* @deprecated
|
|
9535
9533
|
* @platform darwin
|
|
9536
9534
|
*/
|
|
9537
9535
|
appLevelAppearance: ('dark' | 'light' | 'unknown');
|
|
@@ -13851,10 +13849,22 @@ declare namespace Electron {
|
|
|
13851
13849
|
addEventListener(event: 'ipc-message', listener: (event: IpcMessageEvent) => void, useCapture?: boolean): this;
|
|
13852
13850
|
removeEventListener(event: 'ipc-message', listener: (event: IpcMessageEvent) => void): this;
|
|
13853
13851
|
/**
|
|
13854
|
-
* 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
|
|
13855
13859
|
*/
|
|
13856
13860
|
addEventListener(event: 'crashed', listener: (event: DOMEvent) => void, useCapture?: boolean): this;
|
|
13857
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;
|
|
13858
13868
|
/**
|
|
13859
13869
|
* Fired when a plugin process is crashed.
|
|
13860
13870
|
*/
|
|
@@ -14583,16 +14593,16 @@ declare namespace Electron {
|
|
|
14583
14593
|
*/
|
|
14584
14594
|
origin?: string;
|
|
14585
14595
|
/**
|
|
14586
|
-
* The types of storages to clear, can
|
|
14596
|
+
* The types of storages to clear, can be `cookies`, `filesystem`, `indexdb`,
|
|
14587
14597
|
* `localstorage`, `shadercache`, `websql`, `serviceworkers`, `cachestorage`. If
|
|
14588
14598
|
* not specified, clear all storage types.
|
|
14589
14599
|
*/
|
|
14590
|
-
storages?:
|
|
14600
|
+
storages?: Array<'cookies' | 'filesystem' | 'indexdb' | 'localstorage' | 'shadercache' | 'websql' | 'serviceworkers' | 'cachestorage'>;
|
|
14591
14601
|
/**
|
|
14592
|
-
* The types of quotas to clear, can
|
|
14593
|
-
*
|
|
14602
|
+
* The types of quotas to clear, can be `temporary`, `syncable`. If not specified,
|
|
14603
|
+
* clear all quotas.
|
|
14594
14604
|
*/
|
|
14595
|
-
quotas?:
|
|
14605
|
+
quotas?: Array<'temporary' | 'syncable'>;
|
|
14596
14606
|
}
|
|
14597
14607
|
|
|
14598
14608
|
interface ClientRequestConstructorOptions {
|
|
@@ -14854,9 +14864,9 @@ declare namespace Electron {
|
|
|
14854
14864
|
frameCharset: string;
|
|
14855
14865
|
/**
|
|
14856
14866
|
* If the context menu was invoked on an input field, the type of that field.
|
|
14857
|
-
* Possible values
|
|
14867
|
+
* Possible values include `none`, `plainText`, `password`, `other`.
|
|
14858
14868
|
*/
|
|
14859
|
-
inputFieldType:
|
|
14869
|
+
inputFieldType: ('none' | 'plainText' | 'password' | 'other');
|
|
14860
14870
|
/**
|
|
14861
14871
|
* If the context is editable, whether or not spellchecking is enabled.
|
|
14862
14872
|
*/
|
|
@@ -16704,16 +16714,8 @@ declare namespace Electron {
|
|
|
16704
16714
|
execPath?: string;
|
|
16705
16715
|
}
|
|
16706
16716
|
|
|
16707
|
-
interface
|
|
16708
|
-
|
|
16709
|
-
* The reason the render process is gone. Possible values:
|
|
16710
|
-
*/
|
|
16711
|
-
reason: ('clean-exit' | 'abnormal-exit' | 'killed' | 'crashed' | 'oom' | 'launch-failed' | 'integrity-failure');
|
|
16712
|
-
/**
|
|
16713
|
-
* The exit code of the process, unless `reason` is `launch-failed`, in which case
|
|
16714
|
-
* `exitCode` will be a platform-specific launch failure error code.
|
|
16715
|
-
*/
|
|
16716
|
-
exitCode: number;
|
|
16717
|
+
interface RenderProcessGoneEvent extends DOMEvent {
|
|
16718
|
+
details: RenderProcessGoneDetails;
|
|
16717
16719
|
}
|
|
16718
16720
|
|
|
16719
16721
|
interface Request {
|
|
@@ -16747,13 +16749,14 @@ declare namespace Electron {
|
|
|
16747
16749
|
*/
|
|
16748
16750
|
height?: number;
|
|
16749
16751
|
/**
|
|
16750
|
-
* The desired quality of the resize image. Possible values
|
|
16751
|
-
* or `best`. The default is `best`. These values express a desired
|
|
16752
|
-
* tradeoff. They are translated into an algorithm-specific method
|
|
16753
|
-
* the capabilities (CPU, GPU) of the underlying platform. It is
|
|
16754
|
-
* three methods to be mapped to the same algorithm on a given
|
|
16752
|
+
* The desired quality of the resize image. Possible values include `good`,
|
|
16753
|
+
* `better`, or `best`. The default is `best`. These values express a desired
|
|
16754
|
+
* quality/speed tradeoff. They are translated into an algorithm-specific method
|
|
16755
|
+
* that depends on the capabilities (CPU, GPU) of the underlying platform. It is
|
|
16756
|
+
* possible for all three methods to be mapped to the same algorithm on a given
|
|
16757
|
+
* platform.
|
|
16755
16758
|
*/
|
|
16756
|
-
quality?:
|
|
16759
|
+
quality?: ('good' | 'better' | 'best');
|
|
16757
16760
|
}
|
|
16758
16761
|
|
|
16759
16762
|
interface ResolveHostOptions {
|
|
@@ -16996,9 +16999,9 @@ declare namespace Electron {
|
|
|
16996
16999
|
interface SourcesOptions {
|
|
16997
17000
|
/**
|
|
16998
17001
|
* An array of strings that lists the types of desktop sources to be captured,
|
|
16999
|
-
* available types
|
|
17002
|
+
* available types can be `screen` and `window`.
|
|
17000
17003
|
*/
|
|
17001
|
-
types:
|
|
17004
|
+
types: Array<'screen' | 'window'>;
|
|
17002
17005
|
/**
|
|
17003
17006
|
* The size that the media source thumbnail should be scaled to. Default is `150` x
|
|
17004
17007
|
* `150`. Set width or height to 0 when you do not need the thumbnails. This will
|
|
@@ -17371,7 +17374,7 @@ declare namespace Electron {
|
|
|
17371
17374
|
|
|
17372
17375
|
interface USBProtectedClassesHandlerHandlerDetails {
|
|
17373
17376
|
/**
|
|
17374
|
-
* The current list of protected USB classes. Possible class values
|
|
17377
|
+
* The current list of protected USB classes. Possible class values include:
|
|
17375
17378
|
*/
|
|
17376
17379
|
protectedClasses: Array<'audio' | 'audio-video' | 'hid' | 'mass-storage' | 'smart-card' | 'video' | 'wireless'>;
|
|
17377
17380
|
}
|
|
@@ -17960,9 +17963,9 @@ declare namespace Electron {
|
|
|
17960
17963
|
frameCharset: string;
|
|
17961
17964
|
/**
|
|
17962
17965
|
* If the context menu was invoked on an input field, the type of that field.
|
|
17963
|
-
* Possible values
|
|
17966
|
+
* Possible values include `none`, `plainText`, `password`, `other`.
|
|
17964
17967
|
*/
|
|
17965
|
-
inputFieldType:
|
|
17968
|
+
inputFieldType: ('none' | 'plainText' | 'password' | 'other');
|
|
17966
17969
|
/**
|
|
17967
17970
|
* If the context is editable, whether or not spellchecking is enabled.
|
|
17968
17971
|
*/
|
|
@@ -18166,7 +18169,7 @@ declare namespace Electron {
|
|
|
18166
18169
|
type ReadBookmark = Electron.ReadBookmark;
|
|
18167
18170
|
type RegistrationCompletedDetails = Electron.RegistrationCompletedDetails;
|
|
18168
18171
|
type RelaunchOptions = Electron.RelaunchOptions;
|
|
18169
|
-
type
|
|
18172
|
+
type RenderProcessGoneEvent = Electron.RenderProcessGoneEvent;
|
|
18170
18173
|
type Request = Electron.Request;
|
|
18171
18174
|
type ResizeOptions = Electron.ResizeOptions;
|
|
18172
18175
|
type ResolveHostOptions = Electron.ResolveHostOptions;
|
|
@@ -18273,6 +18276,7 @@ declare namespace Electron {
|
|
|
18273
18276
|
type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
|
|
18274
18277
|
type Rectangle = Electron.Rectangle;
|
|
18275
18278
|
type Referrer = Electron.Referrer;
|
|
18279
|
+
type RenderProcessGoneDetails = Electron.RenderProcessGoneDetails;
|
|
18276
18280
|
type ResolvedEndpoint = Electron.ResolvedEndpoint;
|
|
18277
18281
|
type ResolvedHost = Electron.ResolvedHost;
|
|
18278
18282
|
type ScrubberItem = Electron.ScrubberItem;
|
|
@@ -18492,7 +18496,7 @@ declare namespace Electron {
|
|
|
18492
18496
|
type ReadBookmark = Electron.ReadBookmark;
|
|
18493
18497
|
type RegistrationCompletedDetails = Electron.RegistrationCompletedDetails;
|
|
18494
18498
|
type RelaunchOptions = Electron.RelaunchOptions;
|
|
18495
|
-
type
|
|
18499
|
+
type RenderProcessGoneEvent = Electron.RenderProcessGoneEvent;
|
|
18496
18500
|
type Request = Electron.Request;
|
|
18497
18501
|
type ResizeOptions = Electron.ResizeOptions;
|
|
18498
18502
|
type ResolveHostOptions = Electron.ResolveHostOptions;
|
|
@@ -18599,6 +18603,7 @@ declare namespace Electron {
|
|
|
18599
18603
|
type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
|
|
18600
18604
|
type Rectangle = Electron.Rectangle;
|
|
18601
18605
|
type Referrer = Electron.Referrer;
|
|
18606
|
+
type RenderProcessGoneDetails = Electron.RenderProcessGoneDetails;
|
|
18602
18607
|
type ResolvedEndpoint = Electron.ResolvedEndpoint;
|
|
18603
18608
|
type ResolvedHost = Electron.ResolvedHost;
|
|
18604
18609
|
type ScrubberItem = Electron.ScrubberItem;
|
|
@@ -18752,7 +18757,7 @@ declare namespace Electron {
|
|
|
18752
18757
|
type ReadBookmark = Electron.ReadBookmark;
|
|
18753
18758
|
type RegistrationCompletedDetails = Electron.RegistrationCompletedDetails;
|
|
18754
18759
|
type RelaunchOptions = Electron.RelaunchOptions;
|
|
18755
|
-
type
|
|
18760
|
+
type RenderProcessGoneEvent = Electron.RenderProcessGoneEvent;
|
|
18756
18761
|
type Request = Electron.Request;
|
|
18757
18762
|
type ResizeOptions = Electron.ResizeOptions;
|
|
18758
18763
|
type ResolveHostOptions = Electron.ResolveHostOptions;
|
|
@@ -18859,6 +18864,7 @@ declare namespace Electron {
|
|
|
18859
18864
|
type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
|
|
18860
18865
|
type Rectangle = Electron.Rectangle;
|
|
18861
18866
|
type Referrer = Electron.Referrer;
|
|
18867
|
+
type RenderProcessGoneDetails = Electron.RenderProcessGoneDetails;
|
|
18862
18868
|
type ResolvedEndpoint = Electron.ResolvedEndpoint;
|
|
18863
18869
|
type ResolvedHost = Electron.ResolvedHost;
|
|
18864
18870
|
type ScrubberItem = Electron.ScrubberItem;
|
|
@@ -19093,7 +19099,7 @@ declare namespace Electron {
|
|
|
19093
19099
|
type ReadBookmark = Electron.ReadBookmark;
|
|
19094
19100
|
type RegistrationCompletedDetails = Electron.RegistrationCompletedDetails;
|
|
19095
19101
|
type RelaunchOptions = Electron.RelaunchOptions;
|
|
19096
|
-
type
|
|
19102
|
+
type RenderProcessGoneEvent = Electron.RenderProcessGoneEvent;
|
|
19097
19103
|
type Request = Electron.Request;
|
|
19098
19104
|
type ResizeOptions = Electron.ResizeOptions;
|
|
19099
19105
|
type ResolveHostOptions = Electron.ResolveHostOptions;
|
|
@@ -19200,6 +19206,7 @@ declare namespace Electron {
|
|
|
19200
19206
|
type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
|
|
19201
19207
|
type Rectangle = Electron.Rectangle;
|
|
19202
19208
|
type Referrer = Electron.Referrer;
|
|
19209
|
+
type RenderProcessGoneDetails = Electron.RenderProcessGoneDetails;
|
|
19203
19210
|
type ResolvedEndpoint = Electron.ResolvedEndpoint;
|
|
19204
19211
|
type ResolvedHost = Electron.ResolvedHost;
|
|
19205
19212
|
type ScrubberItem = Electron.ScrubberItem;
|
package/package.json
CHANGED