electron 25.0.0-alpha.4 → 25.0.0-alpha.6
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 +149 -44
- package/package.json +1 -1
package/checksums.json
CHANGED
|
@@ -1,77 +1,77 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-v25.0.0-alpha.
|
|
3
|
-
"chromedriver-v25.0.0-alpha.
|
|
4
|
-
"chromedriver-v25.0.0-alpha.
|
|
5
|
-
"chromedriver-v25.0.0-alpha.
|
|
6
|
-
"chromedriver-v25.0.0-alpha.
|
|
7
|
-
"chromedriver-v25.0.0-alpha.
|
|
8
|
-
"chromedriver-v25.0.0-alpha.
|
|
9
|
-
"chromedriver-v25.0.0-alpha.
|
|
10
|
-
"chromedriver-v25.0.0-alpha.
|
|
11
|
-
"chromedriver-v25.0.0-alpha.
|
|
12
|
-
"electron-api.json": "
|
|
13
|
-
"electron-v25.0.0-alpha.
|
|
14
|
-
"electron-v25.0.0-alpha.
|
|
15
|
-
"electron-v25.0.0-alpha.
|
|
16
|
-
"electron-v25.0.0-alpha.
|
|
17
|
-
"electron-v25.0.0-alpha.
|
|
18
|
-
"electron-v25.0.0-alpha.
|
|
19
|
-
"electron-v25.0.0-alpha.
|
|
20
|
-
"electron-v25.0.0-alpha.
|
|
21
|
-
"electron-v25.0.0-alpha.
|
|
22
|
-
"electron-v25.0.0-alpha.
|
|
23
|
-
"electron-v25.0.0-alpha.
|
|
24
|
-
"electron-v25.0.0-alpha.
|
|
25
|
-
"electron-v25.0.0-alpha.
|
|
26
|
-
"electron-v25.0.0-alpha.
|
|
27
|
-
"electron-v25.0.0-alpha.
|
|
28
|
-
"electron-v25.0.0-alpha.
|
|
29
|
-
"electron-v25.0.0-alpha.
|
|
30
|
-
"electron-v25.0.0-alpha.
|
|
31
|
-
"electron-v25.0.0-alpha.
|
|
32
|
-
"electron-v25.0.0-alpha.
|
|
33
|
-
"electron-v25.0.0-alpha.
|
|
34
|
-
"electron-v25.0.0-alpha.
|
|
35
|
-
"electron-v25.0.0-alpha.
|
|
36
|
-
"electron-v25.0.0-alpha.
|
|
37
|
-
"electron-v25.0.0-alpha.
|
|
38
|
-
"electron-v25.0.0-alpha.
|
|
39
|
-
"electron-v25.0.0-alpha.
|
|
40
|
-
"electron-v25.0.0-alpha.
|
|
41
|
-
"electron-v25.0.0-alpha.
|
|
42
|
-
"electron-v25.0.0-alpha.
|
|
43
|
-
"electron-v25.0.0-alpha.
|
|
44
|
-
"electron-v25.0.0-alpha.
|
|
45
|
-
"electron-v25.0.0-alpha.
|
|
46
|
-
"electron-v25.0.0-alpha.
|
|
47
|
-
"electron-v25.0.0-alpha.
|
|
48
|
-
"electron-v25.0.0-alpha.
|
|
49
|
-
"electron-v25.0.0-alpha.
|
|
50
|
-
"electron.d.ts": "
|
|
51
|
-
"ffmpeg-v25.0.0-alpha.
|
|
52
|
-
"ffmpeg-v25.0.0-alpha.
|
|
53
|
-
"ffmpeg-v25.0.0-alpha.
|
|
54
|
-
"ffmpeg-v25.0.0-alpha.
|
|
55
|
-
"ffmpeg-v25.0.0-alpha.
|
|
56
|
-
"ffmpeg-v25.0.0-alpha.
|
|
57
|
-
"ffmpeg-v25.0.0-alpha.
|
|
58
|
-
"ffmpeg-v25.0.0-alpha.
|
|
59
|
-
"ffmpeg-v25.0.0-alpha.
|
|
60
|
-
"ffmpeg-v25.0.0-alpha.
|
|
61
|
-
"hunspell_dictionaries.zip": "
|
|
62
|
-
"libcxx-objects-v25.0.0-alpha.
|
|
63
|
-
"libcxx-objects-v25.0.0-alpha.
|
|
64
|
-
"libcxx-objects-v25.0.0-alpha.
|
|
65
|
-
"libcxx_headers.zip": "
|
|
66
|
-
"libcxxabi_headers.zip": "
|
|
67
|
-
"mksnapshot-v25.0.0-alpha.
|
|
68
|
-
"mksnapshot-v25.0.0-alpha.
|
|
69
|
-
"mksnapshot-v25.0.0-alpha.
|
|
70
|
-
"mksnapshot-v25.0.0-alpha.
|
|
71
|
-
"mksnapshot-v25.0.0-alpha.
|
|
72
|
-
"mksnapshot-v25.0.0-alpha.
|
|
73
|
-
"mksnapshot-v25.0.0-alpha.
|
|
74
|
-
"mksnapshot-v25.0.0-alpha.
|
|
75
|
-
"mksnapshot-v25.0.0-alpha.
|
|
76
|
-
"mksnapshot-v25.0.0-alpha.
|
|
2
|
+
"chromedriver-v25.0.0-alpha.6-darwin-arm64.zip": "5d7fb23ebce57040cad7b14f5aa973c307a68850bb9810627e4ecdff43dd8ae9",
|
|
3
|
+
"chromedriver-v25.0.0-alpha.6-darwin-x64.zip": "eed9e7949c9e7e6b5b390589c8185c2716ae537c429c094e04f1fff4c619ee98",
|
|
4
|
+
"chromedriver-v25.0.0-alpha.6-linux-arm64.zip": "124d930eb9011fdeb57edbc4880c60814d55e465a7380a4cb334dc37915d0b7a",
|
|
5
|
+
"chromedriver-v25.0.0-alpha.6-linux-armv7l.zip": "0c19683ac263bd021e06ef69d80295ae0e9205e12d5bbc9691a78fd2d1004100",
|
|
6
|
+
"chromedriver-v25.0.0-alpha.6-linux-x64.zip": "b6d8493eeccf996d92503cce3f3100fb964d089be9f4d806e7d97685d827d452",
|
|
7
|
+
"chromedriver-v25.0.0-alpha.6-mas-arm64.zip": "bba2b9cb502810cd93622394b4fd2a483202adf327a9f5e7a3c50a49c95ca07e",
|
|
8
|
+
"chromedriver-v25.0.0-alpha.6-mas-x64.zip": "1547663364067bbccef7d4b2f103fed1a001f97e6dddb40932be4c5d7d72ea5f",
|
|
9
|
+
"chromedriver-v25.0.0-alpha.6-win32-arm64.zip": "377bd8f1b474047ab774dd81202141ceb7b67aeea2762080bfd0461155c4dae5",
|
|
10
|
+
"chromedriver-v25.0.0-alpha.6-win32-ia32.zip": "8e36f5fc6b37b3109bebaa7c42a54b47372be60aa0ca94832b818f212f8a15be",
|
|
11
|
+
"chromedriver-v25.0.0-alpha.6-win32-x64.zip": "2312ccfeae3a159b354d90d679e75b7600b3ace03d953002c1cea9e7e6f1f6c7",
|
|
12
|
+
"electron-api.json": "f5aaa2cd0afe5d40d2aa61b04e02adbf58437c7853f3bb57f1b1cdfacd2713bf",
|
|
13
|
+
"electron-v25.0.0-alpha.6-darwin-arm64-dsym-snapshot.zip": "0ecb0253d0bfeb226411d858a275cfac90e81582d1c361249f2d673348d9b937",
|
|
14
|
+
"electron-v25.0.0-alpha.6-darwin-arm64-dsym.zip": "e406812bed8e95ea374ede2c027c3ede8bf84ddcb745e83df53dbe02a09d72d7",
|
|
15
|
+
"electron-v25.0.0-alpha.6-darwin-arm64-symbols.zip": "d9bb97e60378c41186f9826840209736bd8a81687b8681a808b540c1f6540995",
|
|
16
|
+
"electron-v25.0.0-alpha.6-darwin-arm64.zip": "7fd62b908b7709b10a341734963480deee811f180f9b5c86321b9e773f032e64",
|
|
17
|
+
"electron-v25.0.0-alpha.6-darwin-x64-dsym-snapshot.zip": "5e2188800be69eb7e215e63b303943d5be49c777dc467a560b6fcad8e50743ed",
|
|
18
|
+
"electron-v25.0.0-alpha.6-darwin-x64-dsym.zip": "2d39634c5ee65b62956ab92417a7505d40767b54c9825405e76c5883462083df",
|
|
19
|
+
"electron-v25.0.0-alpha.6-darwin-x64-symbols.zip": "19072f428762620d241af53abbec50fd31c74d2354f4e5f69a57a94ce82f74bb",
|
|
20
|
+
"electron-v25.0.0-alpha.6-darwin-x64.zip": "08b32cb94722770850db3f848af4c0fa171a7f80e25c496a69216c9eb46b396c",
|
|
21
|
+
"electron-v25.0.0-alpha.6-linux-arm64-debug.zip": "ca13f5d119bff04bd1e2efc2010732f1cab32e704a05de52599d3c148b031484",
|
|
22
|
+
"electron-v25.0.0-alpha.6-linux-arm64-symbols.zip": "b45bce8941a9486ab6760b58eddb0346d47a76889bca33e8a492d5d4808c7125",
|
|
23
|
+
"electron-v25.0.0-alpha.6-linux-arm64.zip": "10b7df35c42a76036c173eaa2839f1682ba50c4297ae65d0b70c7b19584e1c87",
|
|
24
|
+
"electron-v25.0.0-alpha.6-linux-armv7l-debug.zip": "ca13f5d119bff04bd1e2efc2010732f1cab32e704a05de52599d3c148b031484",
|
|
25
|
+
"electron-v25.0.0-alpha.6-linux-armv7l-symbols.zip": "b399afd879b06b90eb51f4164e9d67e926173f19ef675c351b4f9f2179527308",
|
|
26
|
+
"electron-v25.0.0-alpha.6-linux-armv7l.zip": "e3fc8e3b2abe385359222456f4dfd35e70a10eb4948e93d0c2ba2f7fe0973b42",
|
|
27
|
+
"electron-v25.0.0-alpha.6-linux-x64-debug.zip": "b63f100fdc0ecc9471f456d1926a05b3d705185a66f9179ca820df46f0a568ac",
|
|
28
|
+
"electron-v25.0.0-alpha.6-linux-x64-symbols.zip": "603bd177306ca42f2e384f8f364a364a0a4b9c974d5d3249be38f1f590de494e",
|
|
29
|
+
"electron-v25.0.0-alpha.6-linux-x64.zip": "261ac6a5d4eaa1587abc5e63feeced99832b5ea8d72fcdd4242a7346582e5c13",
|
|
30
|
+
"electron-v25.0.0-alpha.6-mas-arm64-dsym-snapshot.zip": "0ecb0253d0bfeb226411d858a275cfac90e81582d1c361249f2d673348d9b937",
|
|
31
|
+
"electron-v25.0.0-alpha.6-mas-arm64-dsym.zip": "4175643bec018099b7d0476a73fc2f844a8513153ae010da62c7eb2ebfc5909d",
|
|
32
|
+
"electron-v25.0.0-alpha.6-mas-arm64-symbols.zip": "a97303c94cf8e1b2632f5e5ae5c6bce55c3c23caf54a1ba944c77e8ee154fd8e",
|
|
33
|
+
"electron-v25.0.0-alpha.6-mas-arm64.zip": "0029f8c376035502fb4e11d29b4c98754a455fa6984038668cb4f083d5c9bc00",
|
|
34
|
+
"electron-v25.0.0-alpha.6-mas-x64-dsym-snapshot.zip": "a88916154d0c53829f61b93dc17effe6204755cdea50e694e13517e07de9624a",
|
|
35
|
+
"electron-v25.0.0-alpha.6-mas-x64-dsym.zip": "7a551dbd555a5a2ac16d565816ee3f66fc8da58be0c790550a219d8a970d810d",
|
|
36
|
+
"electron-v25.0.0-alpha.6-mas-x64-symbols.zip": "daf3bae7ee0f30ffb139a465a85ca7dc105a24d8dc7a37461249e8372725776c",
|
|
37
|
+
"electron-v25.0.0-alpha.6-mas-x64.zip": "8a1558e9a277746d15f7980b2b251711b100cb335d75f30aa16ff7a2dc2d84aa",
|
|
38
|
+
"electron-v25.0.0-alpha.6-win32-arm64-pdb.zip": "d96ea87a77a87b4346e268db07718ffba33bd524905bfca3f8c8f7273c9cab99",
|
|
39
|
+
"electron-v25.0.0-alpha.6-win32-arm64-symbols.zip": "2697401387209a84b8de02433fe19c4db4d0f3565b78fe693b21471f2c23c50c",
|
|
40
|
+
"electron-v25.0.0-alpha.6-win32-arm64-toolchain-profile.zip": "e7b968fc53cc7a10a4ccb5133af045968479685ebb9617f06817f03667fdd425",
|
|
41
|
+
"electron-v25.0.0-alpha.6-win32-arm64.zip": "108ef6ca16a36d6e07738a2d023eac2e5e4bf0307a6efa28b37fd07c64362b94",
|
|
42
|
+
"electron-v25.0.0-alpha.6-win32-ia32-pdb.zip": "4ce8a12910e6ffe9f45afb58534ff37779558116e6b4563c6004e1136640e919",
|
|
43
|
+
"electron-v25.0.0-alpha.6-win32-ia32-symbols.zip": "b5e0dac045e1ad5626266d086847b086f183a39253bd3e787ebf3c74fd2d85ec",
|
|
44
|
+
"electron-v25.0.0-alpha.6-win32-ia32-toolchain-profile.zip": "e7b968fc53cc7a10a4ccb5133af045968479685ebb9617f06817f03667fdd425",
|
|
45
|
+
"electron-v25.0.0-alpha.6-win32-ia32.zip": "7cd5b98d995e7e262d06863848afbbbd1acdc53032c1c6fb857be94be0ff7453",
|
|
46
|
+
"electron-v25.0.0-alpha.6-win32-x64-pdb.zip": "09f448dc871ce5d6e9a43d2c7df5c05675333fa5cddf66183b986711c09ae8c4",
|
|
47
|
+
"electron-v25.0.0-alpha.6-win32-x64-symbols.zip": "15c02496ec109999cf5a8ef4b270aa0d9e8c889673cda49e5fbbc791fb4f0fc6",
|
|
48
|
+
"electron-v25.0.0-alpha.6-win32-x64-toolchain-profile.zip": "e7b968fc53cc7a10a4ccb5133af045968479685ebb9617f06817f03667fdd425",
|
|
49
|
+
"electron-v25.0.0-alpha.6-win32-x64.zip": "79b0bab8bc838df7c02104860acf45fcb93c8ef61f95796eee52f629d9a88f7c",
|
|
50
|
+
"electron.d.ts": "046dd57e57e756bdddf8f4d1e8fb1127ee4b950fefb5e84f6a33143d008d7ad3",
|
|
51
|
+
"ffmpeg-v25.0.0-alpha.6-darwin-arm64.zip": "150a3516c588b421fc21e67145a8770671ec16ba467527e38c9acdf407b530aa",
|
|
52
|
+
"ffmpeg-v25.0.0-alpha.6-darwin-x64.zip": "77a83512431196ca492d03e27df1ece3df977a5845d569780777f78fe8999e3c",
|
|
53
|
+
"ffmpeg-v25.0.0-alpha.6-linux-arm64.zip": "729e49d5e40cad3133ccc4121089ac19f597dac030120d5275c1125090d88682",
|
|
54
|
+
"ffmpeg-v25.0.0-alpha.6-linux-armv7l.zip": "c073ece66795d14b61b6d3909aefa7bbbc3fef984d63b9d301109e5c76449d4d",
|
|
55
|
+
"ffmpeg-v25.0.0-alpha.6-linux-x64.zip": "fa6779e2f971c31305c7d7113f7f7a3e27b27727c9851b545cfb8275be61f7c0",
|
|
56
|
+
"ffmpeg-v25.0.0-alpha.6-mas-arm64.zip": "17e0033fcabea1b97dfb6bf9c6375e6257fe9f243e723d8b9c7bc771b60fa97e",
|
|
57
|
+
"ffmpeg-v25.0.0-alpha.6-mas-x64.zip": "efb5efcf1b15d99ae3b9351088a4b4bb547263ac29e44a258880890a785cb848",
|
|
58
|
+
"ffmpeg-v25.0.0-alpha.6-win32-arm64.zip": "f7d7d0ce7503e0f051723de906fbcf0e524cd071acf9ea992dbc3eaea098b37a",
|
|
59
|
+
"ffmpeg-v25.0.0-alpha.6-win32-ia32.zip": "589845a5afd62cc02c24bbc2255cc00841ddb6a3f0846fd484fbd36a5e75c0ba",
|
|
60
|
+
"ffmpeg-v25.0.0-alpha.6-win32-x64.zip": "53fc51395f925d53302916c3fd5649e4651de37da655aae8fe6e9f8bea56b8d5",
|
|
61
|
+
"hunspell_dictionaries.zip": "20b5d7b15d41b513b0be9561af628e039abec661edf43bddcc1f9215128ab113",
|
|
62
|
+
"libcxx-objects-v25.0.0-alpha.6-linux-arm64.zip": "9e24a951e585ed071bde68e099e9ca5e8c71ac5e0a53a71ad6309d0359d51320",
|
|
63
|
+
"libcxx-objects-v25.0.0-alpha.6-linux-armv7l.zip": "6c646cdc269bf56717e86550485d567401bf52af5476dd7026f37020281d4e3f",
|
|
64
|
+
"libcxx-objects-v25.0.0-alpha.6-linux-x64.zip": "0b7744b3980eba31281c76d83776a0b830777759297de849da261749abd7a2ac",
|
|
65
|
+
"libcxx_headers.zip": "06cab58a2a418afcbd90d7330d0cab8aa93c892c8a93bd40bc8e5db78fed10ad",
|
|
66
|
+
"libcxxabi_headers.zip": "c1091e703b775e75d9c86b30fba0dfa166b568e35d8b26e69d84193f4c7e749e",
|
|
67
|
+
"mksnapshot-v25.0.0-alpha.6-darwin-arm64.zip": "88c8cbdce96f06ac6abd6e885a25496c2facd68bd2d440a9477c51b4ff86f16e",
|
|
68
|
+
"mksnapshot-v25.0.0-alpha.6-darwin-x64.zip": "7283f6279526f4f07057594ed3adeed9cee26b1fa9d4c69565af85bb771c6da9",
|
|
69
|
+
"mksnapshot-v25.0.0-alpha.6-linux-arm64-x64.zip": "11ae40ab7aa5fb0451243909d9c3b53851ae409f1af9120e448247f7697376af",
|
|
70
|
+
"mksnapshot-v25.0.0-alpha.6-linux-armv7l-x64.zip": "ede431e31fdbc8a0134d445dec5ce7610822933f728f94d062413d86df51f539",
|
|
71
|
+
"mksnapshot-v25.0.0-alpha.6-linux-x64.zip": "33b982c5e4a20a0b414eb80ee2af705cde49a0d82d207e7b8053700f8f773342",
|
|
72
|
+
"mksnapshot-v25.0.0-alpha.6-mas-arm64.zip": "e21aa5d0370c2f1fa4c4caad74a444cda1af83664d357748e2191e2ea0e295d0",
|
|
73
|
+
"mksnapshot-v25.0.0-alpha.6-mas-x64.zip": "c78faffa8866e3056acba856f4b3bc210d0558df73594976168c1db2667ef300",
|
|
74
|
+
"mksnapshot-v25.0.0-alpha.6-win32-arm64-x64.zip": "873d39d88249a25471510ccd4b9903054b3bd5004e3257c83a49eb12607517da",
|
|
75
|
+
"mksnapshot-v25.0.0-alpha.6-win32-ia32.zip": "2d95fa1624fc488051604da849a66911c6e196ad4c29ae96ab94baf29a1fa555",
|
|
76
|
+
"mksnapshot-v25.0.0-alpha.6-win32-x64.zip": "db87c8fc89157983ae5e5a840eabbe1891bf25f6b75d1e25803adf5a2a62d342"
|
|
77
77
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 25.0.0-alpha.
|
|
1
|
+
// Type definitions for Electron 25.0.0-alpha.6
|
|
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
|
|
@@ -309,9 +309,10 @@ declare namespace Electron {
|
|
|
309
309
|
*/
|
|
310
310
|
error: string) => void): this;
|
|
311
311
|
/**
|
|
312
|
-
* Emitted when
|
|
313
|
-
* that `did-become-active` is emitted every time the app becomes active,
|
|
314
|
-
* when Dock icon is clicked or application is re-launched.
|
|
312
|
+
* Emitted when the application becomes active. This differs from the `activate`
|
|
313
|
+
* event in that `did-become-active` is emitted every time the app becomes active,
|
|
314
|
+
* not only when Dock icon is clicked or application is re-launched. It is also
|
|
315
|
+
* emitted when a user switches to the app via the macOS App Switcher.
|
|
315
316
|
*
|
|
316
317
|
* @platform darwin
|
|
317
318
|
*/
|
|
@@ -319,6 +320,17 @@ declare namespace Electron {
|
|
|
319
320
|
once(event: 'did-become-active', listener: (event: Event) => void): this;
|
|
320
321
|
addListener(event: 'did-become-active', listener: (event: Event) => void): this;
|
|
321
322
|
removeListener(event: 'did-become-active', listener: (event: Event) => void): this;
|
|
323
|
+
/**
|
|
324
|
+
* Emitted when the app is no longer active and doesn’t have focus. This can be
|
|
325
|
+
* triggered, for example, by clicking on another application or by using the macOS
|
|
326
|
+
* App Switcher to switch to another application.
|
|
327
|
+
*
|
|
328
|
+
* @platform darwin
|
|
329
|
+
*/
|
|
330
|
+
on(event: 'did-resign-active', listener: (event: Event) => void): this;
|
|
331
|
+
once(event: 'did-resign-active', listener: (event: Event) => void): this;
|
|
332
|
+
addListener(event: 'did-resign-active', listener: (event: Event) => void): this;
|
|
333
|
+
removeListener(event: 'did-resign-active', listener: (event: Event) => void): this;
|
|
322
334
|
/**
|
|
323
335
|
* Emitted whenever there is a GPU info update.
|
|
324
336
|
*/
|
|
@@ -6636,6 +6648,17 @@ declare namespace Electron {
|
|
|
6636
6648
|
once(event: 'shutdown', listener: Function): this;
|
|
6637
6649
|
addListener(event: 'shutdown', listener: Function): this;
|
|
6638
6650
|
removeListener(event: 'shutdown', listener: Function): this;
|
|
6651
|
+
/**
|
|
6652
|
+
* Notification of a change in the operating system's advertised speed limit for
|
|
6653
|
+
* CPUs, in percent. Values below 100 indicate that the system is impairing
|
|
6654
|
+
* processing power due to thermal management.
|
|
6655
|
+
*
|
|
6656
|
+
* @platform darwin,win32
|
|
6657
|
+
*/
|
|
6658
|
+
on(event: 'speed-limit-change', listener: Function): this;
|
|
6659
|
+
once(event: 'speed-limit-change', listener: Function): this;
|
|
6660
|
+
addListener(event: 'speed-limit-change', listener: Function): this;
|
|
6661
|
+
removeListener(event: 'speed-limit-change', listener: Function): this;
|
|
6639
6662
|
/**
|
|
6640
6663
|
* Emitted when the system is suspending.
|
|
6641
6664
|
*/
|
|
@@ -6643,6 +6666,92 @@ declare namespace Electron {
|
|
|
6643
6666
|
once(event: 'suspend', listener: Function): this;
|
|
6644
6667
|
addListener(event: 'suspend', listener: Function): this;
|
|
6645
6668
|
removeListener(event: 'suspend', listener: Function): this;
|
|
6669
|
+
/**
|
|
6670
|
+
* Emitted when the thermal state of the system changes. Notification of a change
|
|
6671
|
+
* in the thermal status of the system, such as entering a critical temperature
|
|
6672
|
+
* range. Depending on the severity, the system might take steps to reduce said
|
|
6673
|
+
* temperature, for example, throttling the CPU or switching on the fans if
|
|
6674
|
+
* available.
|
|
6675
|
+
*
|
|
6676
|
+
* Apps may react to the new state by reducing expensive computing tasks (e.g.
|
|
6677
|
+
* video encoding), or notifying the user. The same state might be received
|
|
6678
|
+
* repeatedly.
|
|
6679
|
+
*
|
|
6680
|
+
* See
|
|
6681
|
+
*
|
|
6682
|
+
*
|
|
6683
|
+
*
|
|
6684
|
+
*
|
|
6685
|
+
*
|
|
6686
|
+
*
|
|
6687
|
+
*
|
|
6688
|
+
*
|
|
6689
|
+
*
|
|
6690
|
+
*
|
|
6691
|
+
*
|
|
6692
|
+
*
|
|
6693
|
+
*
|
|
6694
|
+
*
|
|
6695
|
+
*
|
|
6696
|
+
*
|
|
6697
|
+
*
|
|
6698
|
+
*
|
|
6699
|
+
*
|
|
6700
|
+
*
|
|
6701
|
+
*
|
|
6702
|
+
*
|
|
6703
|
+
*
|
|
6704
|
+
*
|
|
6705
|
+
*
|
|
6706
|
+
*
|
|
6707
|
+
*
|
|
6708
|
+
*
|
|
6709
|
+
*
|
|
6710
|
+
*
|
|
6711
|
+
*
|
|
6712
|
+
*
|
|
6713
|
+
*
|
|
6714
|
+
*
|
|
6715
|
+
*
|
|
6716
|
+
*
|
|
6717
|
+
*
|
|
6718
|
+
*
|
|
6719
|
+
*
|
|
6720
|
+
*
|
|
6721
|
+
*
|
|
6722
|
+
*
|
|
6723
|
+
*
|
|
6724
|
+
*
|
|
6725
|
+
*
|
|
6726
|
+
*
|
|
6727
|
+
*
|
|
6728
|
+
*
|
|
6729
|
+
*
|
|
6730
|
+
*
|
|
6731
|
+
*
|
|
6732
|
+
*
|
|
6733
|
+
*
|
|
6734
|
+
*
|
|
6735
|
+
*
|
|
6736
|
+
*
|
|
6737
|
+
*
|
|
6738
|
+
*
|
|
6739
|
+
*
|
|
6740
|
+
*
|
|
6741
|
+
*
|
|
6742
|
+
*
|
|
6743
|
+
*
|
|
6744
|
+
*
|
|
6745
|
+
*
|
|
6746
|
+
*
|
|
6747
|
+
* nce/Conceptual/power_efficiency_guidelines_osx/RespondToThermalStateChanges.html
|
|
6748
|
+
*
|
|
6749
|
+
* @platform darwin
|
|
6750
|
+
*/
|
|
6751
|
+
on(event: 'thermal-state-change', listener: Function): this;
|
|
6752
|
+
once(event: 'thermal-state-change', listener: Function): this;
|
|
6753
|
+
addListener(event: 'thermal-state-change', listener: Function): this;
|
|
6754
|
+
removeListener(event: 'thermal-state-change', listener: Function): this;
|
|
6646
6755
|
/**
|
|
6647
6756
|
* Emitted as soon as the systems screen is unlocked.
|
|
6648
6757
|
*
|
|
@@ -6673,7 +6782,14 @@ declare namespace Electron {
|
|
|
6673
6782
|
addListener(event: 'user-did-resign-active', listener: Function): this;
|
|
6674
6783
|
removeListener(event: 'user-did-resign-active', listener: Function): this;
|
|
6675
6784
|
/**
|
|
6676
|
-
* The system's current state. Can be `
|
|
6785
|
+
* The system's current thermal state. Can be `unknown`, `nominal`, `fair`,
|
|
6786
|
+
* `serious`, or `critical`.
|
|
6787
|
+
*
|
|
6788
|
+
* @platform darwin
|
|
6789
|
+
*/
|
|
6790
|
+
getCurrentThermalState(): ('unknown' | 'nominal' | 'fair' | 'serious' | 'critical');
|
|
6791
|
+
/**
|
|
6792
|
+
* The system's current idle state. Can be `active`, `idle`, `locked` or `unknown`.
|
|
6677
6793
|
*
|
|
6678
6794
|
* Calculate the system idle state. `idleThreshold` is the amount of time (in
|
|
6679
6795
|
* seconds) before considered idle. `locked` is available on supported systems
|
|
@@ -8104,13 +8220,17 @@ declare namespace Electron {
|
|
|
8104
8220
|
* the newly added device.
|
|
8105
8221
|
*/
|
|
8106
8222
|
on(event: 'usb-device-added', listener: (event: Event,
|
|
8107
|
-
|
|
8223
|
+
device: USBDevice,
|
|
8224
|
+
webContents: WebContents) => void): this;
|
|
8108
8225
|
once(event: 'usb-device-added', listener: (event: Event,
|
|
8109
|
-
|
|
8226
|
+
device: USBDevice,
|
|
8227
|
+
webContents: WebContents) => void): this;
|
|
8110
8228
|
addListener(event: 'usb-device-added', listener: (event: Event,
|
|
8111
|
-
|
|
8229
|
+
device: USBDevice,
|
|
8230
|
+
webContents: WebContents) => void): this;
|
|
8112
8231
|
removeListener(event: 'usb-device-added', listener: (event: Event,
|
|
8113
|
-
|
|
8232
|
+
device: USBDevice,
|
|
8233
|
+
webContents: WebContents) => void): this;
|
|
8114
8234
|
/**
|
|
8115
8235
|
* Emitted after `navigator.usb.requestDevice` has been called and
|
|
8116
8236
|
* `select-usb-device` has fired if a device has been removed before the callback
|
|
@@ -8119,13 +8239,17 @@ declare namespace Electron {
|
|
|
8119
8239
|
* specified device.
|
|
8120
8240
|
*/
|
|
8121
8241
|
on(event: 'usb-device-removed', listener: (event: Event,
|
|
8122
|
-
|
|
8242
|
+
device: USBDevice,
|
|
8243
|
+
webContents: WebContents) => void): this;
|
|
8123
8244
|
once(event: 'usb-device-removed', listener: (event: Event,
|
|
8124
|
-
|
|
8245
|
+
device: USBDevice,
|
|
8246
|
+
webContents: WebContents) => void): this;
|
|
8125
8247
|
addListener(event: 'usb-device-removed', listener: (event: Event,
|
|
8126
|
-
|
|
8248
|
+
device: USBDevice,
|
|
8249
|
+
webContents: WebContents) => void): this;
|
|
8127
8250
|
removeListener(event: 'usb-device-removed', listener: (event: Event,
|
|
8128
|
-
|
|
8251
|
+
device: USBDevice,
|
|
8252
|
+
webContents: WebContents) => void): this;
|
|
8129
8253
|
/**
|
|
8130
8254
|
* Emitted after `USBDevice.forget()` has been called. This event can be used to
|
|
8131
8255
|
* help maintain persistent storage of permissions when
|
|
@@ -10355,33 +10479,32 @@ declare namespace Electron {
|
|
|
10355
10479
|
// Docs: https://electronjs.org/docs/api/web-contents
|
|
10356
10480
|
|
|
10357
10481
|
/**
|
|
10358
|
-
*
|
|
10359
|
-
*
|
|
10482
|
+
* A WebContents instance with the given TargetID, or `undefined` if there is no
|
|
10483
|
+
* WebContents associated with the given TargetID.
|
|
10360
10484
|
*
|
|
10361
10485
|
* When communicating with the Chrome DevTools Protocol, it can be useful to lookup
|
|
10362
10486
|
* a WebContents instance based on its assigned TargetID.
|
|
10363
10487
|
*/
|
|
10364
|
-
static fromDevToolsTargetId(targetId: string): WebContents;
|
|
10488
|
+
static fromDevToolsTargetId(targetId: string): (WebContents) | (undefined);
|
|
10365
10489
|
/**
|
|
10366
|
-
*
|
|
10367
|
-
*
|
|
10490
|
+
* A WebContents instance with the given WebFrameMain, or `undefined` if there is
|
|
10491
|
+
* no WebContents associated with the given WebFrameMain.
|
|
10368
10492
|
*/
|
|
10369
|
-
static fromFrame(frame: WebFrameMain): WebContents;
|
|
10493
|
+
static fromFrame(frame: WebFrameMain): (WebContents) | (undefined);
|
|
10370
10494
|
/**
|
|
10371
|
-
*
|
|
10372
|
-
*
|
|
10495
|
+
* A WebContents instance with the given ID, or `undefined` if there is no
|
|
10496
|
+
* WebContents associated with the given ID.
|
|
10373
10497
|
*/
|
|
10374
|
-
static fromId(id: number): WebContents;
|
|
10498
|
+
static fromId(id: number): (WebContents) | (undefined);
|
|
10375
10499
|
/**
|
|
10376
10500
|
* An array of all `WebContents` instances. This will contain web contents for all
|
|
10377
10501
|
* windows, webviews, opened devtools, and devtools extension background pages.
|
|
10378
10502
|
*/
|
|
10379
10503
|
static getAllWebContents(): WebContents[];
|
|
10380
10504
|
/**
|
|
10381
|
-
*
|
|
10382
|
-
* `null`.
|
|
10505
|
+
* The web contents that is focused in this application, otherwise returns `null`.
|
|
10383
10506
|
*/
|
|
10384
|
-
static getFocusedWebContents(): WebContents;
|
|
10507
|
+
static getFocusedWebContents(): (WebContents) | (null);
|
|
10385
10508
|
/**
|
|
10386
10509
|
* Emitted when media becomes audible or inaudible.
|
|
10387
10510
|
*/
|
|
@@ -16965,18 +17088,8 @@ declare namespace Electron {
|
|
|
16965
17088
|
total: number;
|
|
16966
17089
|
}
|
|
16967
17090
|
|
|
16968
|
-
interface UsbDeviceAddedDetails {
|
|
16969
|
-
device: USBDevice;
|
|
16970
|
-
frame: WebFrameMain;
|
|
16971
|
-
}
|
|
16972
|
-
|
|
16973
|
-
interface UsbDeviceRemovedDetails {
|
|
16974
|
-
device: USBDevice;
|
|
16975
|
-
frame: WebFrameMain;
|
|
16976
|
-
}
|
|
16977
|
-
|
|
16978
17091
|
interface UsbDeviceRevokedDetails {
|
|
16979
|
-
device: USBDevice
|
|
17092
|
+
device: USBDevice;
|
|
16980
17093
|
/**
|
|
16981
17094
|
* The origin that the device has been revoked from.
|
|
16982
17095
|
*/
|
|
@@ -18085,8 +18198,6 @@ declare namespace Electron {
|
|
|
18085
18198
|
type TraceBufferUsageReturnValue = Electron.TraceBufferUsageReturnValue;
|
|
18086
18199
|
type UpdateTargetUrlEvent = Electron.UpdateTargetUrlEvent;
|
|
18087
18200
|
type UploadProgress = Electron.UploadProgress;
|
|
18088
|
-
type UsbDeviceAddedDetails = Electron.UsbDeviceAddedDetails;
|
|
18089
|
-
type UsbDeviceRemovedDetails = Electron.UsbDeviceRemovedDetails;
|
|
18090
18201
|
type UsbDeviceRevokedDetails = Electron.UsbDeviceRevokedDetails;
|
|
18091
18202
|
type VisibleOnAllWorkspacesOptions = Electron.VisibleOnAllWorkspacesOptions;
|
|
18092
18203
|
type WebContentsAudioStateChangedEventParams = Electron.WebContentsAudioStateChangedEventParams;
|
|
@@ -18410,8 +18521,6 @@ declare namespace Electron {
|
|
|
18410
18521
|
type TraceBufferUsageReturnValue = Electron.TraceBufferUsageReturnValue;
|
|
18411
18522
|
type UpdateTargetUrlEvent = Electron.UpdateTargetUrlEvent;
|
|
18412
18523
|
type UploadProgress = Electron.UploadProgress;
|
|
18413
|
-
type UsbDeviceAddedDetails = Electron.UsbDeviceAddedDetails;
|
|
18414
|
-
type UsbDeviceRemovedDetails = Electron.UsbDeviceRemovedDetails;
|
|
18415
18524
|
type UsbDeviceRevokedDetails = Electron.UsbDeviceRevokedDetails;
|
|
18416
18525
|
type VisibleOnAllWorkspacesOptions = Electron.VisibleOnAllWorkspacesOptions;
|
|
18417
18526
|
type WebContentsAudioStateChangedEventParams = Electron.WebContentsAudioStateChangedEventParams;
|
|
@@ -18669,8 +18778,6 @@ declare namespace Electron {
|
|
|
18669
18778
|
type TraceBufferUsageReturnValue = Electron.TraceBufferUsageReturnValue;
|
|
18670
18779
|
type UpdateTargetUrlEvent = Electron.UpdateTargetUrlEvent;
|
|
18671
18780
|
type UploadProgress = Electron.UploadProgress;
|
|
18672
|
-
type UsbDeviceAddedDetails = Electron.UsbDeviceAddedDetails;
|
|
18673
|
-
type UsbDeviceRemovedDetails = Electron.UsbDeviceRemovedDetails;
|
|
18674
18781
|
type UsbDeviceRevokedDetails = Electron.UsbDeviceRevokedDetails;
|
|
18675
18782
|
type VisibleOnAllWorkspacesOptions = Electron.VisibleOnAllWorkspacesOptions;
|
|
18676
18783
|
type WebContentsAudioStateChangedEventParams = Electron.WebContentsAudioStateChangedEventParams;
|
|
@@ -19009,8 +19116,6 @@ declare namespace Electron {
|
|
|
19009
19116
|
type TraceBufferUsageReturnValue = Electron.TraceBufferUsageReturnValue;
|
|
19010
19117
|
type UpdateTargetUrlEvent = Electron.UpdateTargetUrlEvent;
|
|
19011
19118
|
type UploadProgress = Electron.UploadProgress;
|
|
19012
|
-
type UsbDeviceAddedDetails = Electron.UsbDeviceAddedDetails;
|
|
19013
|
-
type UsbDeviceRemovedDetails = Electron.UsbDeviceRemovedDetails;
|
|
19014
19119
|
type UsbDeviceRevokedDetails = Electron.UsbDeviceRevokedDetails;
|
|
19015
19120
|
type VisibleOnAllWorkspacesOptions = Electron.VisibleOnAllWorkspacesOptions;
|
|
19016
19121
|
type WebContentsAudioStateChangedEventParams = Electron.WebContentsAudioStateChangedEventParams;
|
package/package.json
CHANGED