electron 31.2.1 → 32.0.0-alpha.10
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 +102 -15
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[](https://electronjs.org)
|
|
2
2
|
|
|
3
|
-
[](https://github.com/electron/electron/actions/workflows/build.yml)
|
|
4
4
|
[](https://ci.appveyor.com/project/electron-bot/electron-ljo26/branch/main)
|
|
5
5
|
[](https://discord.gg/electronjs)
|
|
6
6
|
|
package/checksums.json
CHANGED
|
@@ -1,77 +1,77 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-
|
|
3
|
-
"chromedriver-
|
|
4
|
-
"chromedriver-
|
|
5
|
-
"chromedriver-
|
|
6
|
-
"chromedriver-
|
|
7
|
-
"chromedriver-
|
|
8
|
-
"chromedriver-
|
|
9
|
-
"chromedriver-
|
|
10
|
-
"chromedriver-
|
|
11
|
-
"chromedriver-
|
|
12
|
-
"electron-api.json": "
|
|
13
|
-
"electron-
|
|
14
|
-
"electron-
|
|
15
|
-
"electron-
|
|
16
|
-
"electron-
|
|
17
|
-
"electron-
|
|
18
|
-
"electron-
|
|
19
|
-
"electron-
|
|
20
|
-
"electron-
|
|
21
|
-
"electron-
|
|
22
|
-
"electron-
|
|
23
|
-
"electron-
|
|
24
|
-
"electron-
|
|
25
|
-
"electron-
|
|
26
|
-
"electron-
|
|
27
|
-
"electron-
|
|
28
|
-
"electron-
|
|
29
|
-
"electron-
|
|
30
|
-
"electron-
|
|
31
|
-
"electron-
|
|
32
|
-
"electron-
|
|
33
|
-
"electron-
|
|
34
|
-
"electron-
|
|
35
|
-
"electron-
|
|
36
|
-
"electron-
|
|
37
|
-
"electron-
|
|
38
|
-
"electron-
|
|
39
|
-
"electron-
|
|
40
|
-
"electron-
|
|
41
|
-
"electron-
|
|
42
|
-
"electron-
|
|
43
|
-
"electron-
|
|
44
|
-
"electron-
|
|
45
|
-
"electron-
|
|
46
|
-
"electron-
|
|
47
|
-
"electron-
|
|
48
|
-
"electron-
|
|
49
|
-
"electron-
|
|
50
|
-
"electron.d.ts": "
|
|
51
|
-
"ffmpeg-
|
|
52
|
-
"ffmpeg-
|
|
53
|
-
"ffmpeg-
|
|
54
|
-
"ffmpeg-
|
|
55
|
-
"ffmpeg-
|
|
56
|
-
"ffmpeg-
|
|
57
|
-
"ffmpeg-
|
|
58
|
-
"ffmpeg-
|
|
59
|
-
"ffmpeg-
|
|
60
|
-
"ffmpeg-
|
|
61
|
-
"hunspell_dictionaries.zip": "
|
|
62
|
-
"libcxx-objects-
|
|
63
|
-
"libcxx-objects-
|
|
64
|
-
"libcxx-objects-
|
|
65
|
-
"libcxx_headers.zip": "
|
|
66
|
-
"libcxxabi_headers.zip": "
|
|
67
|
-
"mksnapshot-
|
|
68
|
-
"mksnapshot-
|
|
69
|
-
"mksnapshot-
|
|
70
|
-
"mksnapshot-
|
|
71
|
-
"mksnapshot-
|
|
72
|
-
"mksnapshot-
|
|
73
|
-
"mksnapshot-
|
|
74
|
-
"mksnapshot-
|
|
75
|
-
"mksnapshot-
|
|
76
|
-
"mksnapshot-
|
|
2
|
+
"chromedriver-v32.0.0-alpha.10-darwin-arm64.zip": "230512780c4ccb7fc2e8e320fb4c9bc4b7844eb1258f97e988d38e7ca92ce534",
|
|
3
|
+
"chromedriver-v32.0.0-alpha.10-darwin-x64.zip": "c4194641b2568724a602524a42665e4add17a4f47e0be50eb0d30481502925da",
|
|
4
|
+
"chromedriver-v32.0.0-alpha.10-linux-arm64.zip": "5cb32456b8648452ba99bd79208ab212a0b9a1c7ed83f457d1463d35962e8463",
|
|
5
|
+
"chromedriver-v32.0.0-alpha.10-linux-armv7l.zip": "5ca1b154579c7ebc655cd13c2ebfe7d8045d55f8ee7aef46dc51200bd7a013ec",
|
|
6
|
+
"chromedriver-v32.0.0-alpha.10-linux-x64.zip": "04c894364c0e91153ea859b5cd32bd9539a840504f0070e0f886e4803aa10d51",
|
|
7
|
+
"chromedriver-v32.0.0-alpha.10-mas-arm64.zip": "687addde3b03610758e938a40cec0835996ea79074e12291b7727e62ce2f669b",
|
|
8
|
+
"chromedriver-v32.0.0-alpha.10-mas-x64.zip": "8d8e45f85f4a71e0c974716d0570ffba8653c53cdbd63cfefca2780ab61374d2",
|
|
9
|
+
"chromedriver-v32.0.0-alpha.10-win32-arm64.zip": "77eb8ef663a339d177ce089597b6c5f6bcca712a1860d190fb3d3ad6005d72af",
|
|
10
|
+
"chromedriver-v32.0.0-alpha.10-win32-ia32.zip": "ab97ae331868ffa5df0b3797d09fb9538bd7384df0b70668f3386c562dd77761",
|
|
11
|
+
"chromedriver-v32.0.0-alpha.10-win32-x64.zip": "91ba57b6df450b37f8c30d3b083124ee9ba1d37b6dba19fcdc7808afa3ea2232",
|
|
12
|
+
"electron-api.json": "cb4f992a3fb5cb10513fb1d7bacc8b6b8b683041dd0964e58faf929f660da535",
|
|
13
|
+
"electron-v32.0.0-alpha.10-darwin-arm64-dsym-snapshot.zip": "3fb96005c6644b7a232e9fdffb7256d31d2e812f79c1b1f4c653898528191e9a",
|
|
14
|
+
"electron-v32.0.0-alpha.10-darwin-arm64-dsym.zip": "0fa0bbc40ac002271e6b28877b2cecdac19a7764c854ee41a948a1dc7ff57104",
|
|
15
|
+
"electron-v32.0.0-alpha.10-darwin-arm64-symbols.zip": "b0066d0849a1e94d9b08ea9f4d4b50d8452fd2da35f6537eaaeae2faa74e97dd",
|
|
16
|
+
"electron-v32.0.0-alpha.10-darwin-arm64.zip": "1acfef736a65abd6411a4dd31fe3e46e3ae96f4f9c209cffe207a06f2ca7cab2",
|
|
17
|
+
"electron-v32.0.0-alpha.10-darwin-x64-dsym-snapshot.zip": "e0e3886bf2124e85b13f25586ebbd714335d174ec6f908a606b02923980b7d56",
|
|
18
|
+
"electron-v32.0.0-alpha.10-darwin-x64-dsym.zip": "0c3ee003ea1860e6dcd9160d0ac5c608aa7df25b8638ccb28686ff9b2de5b447",
|
|
19
|
+
"electron-v32.0.0-alpha.10-darwin-x64-symbols.zip": "ca7ef62da717a929a0195704e14765f1478f3b67951b8a07bdec9ab5547c95a8",
|
|
20
|
+
"electron-v32.0.0-alpha.10-darwin-x64.zip": "60bbd394a7c8ed5a273e79184baafb31c96c54857e9fc8ac00d03c2ce4f4b362",
|
|
21
|
+
"electron-v32.0.0-alpha.10-linux-arm64-debug.zip": "6e32afae48411d6798a5b035e6fb408acedf7efa2dbb3d6fbe6e2250231b3139",
|
|
22
|
+
"electron-v32.0.0-alpha.10-linux-arm64-symbols.zip": "0301017b51a0c3b12e72923d1837ef7b6882226a0208c40d872d2e1fa8345fbf",
|
|
23
|
+
"electron-v32.0.0-alpha.10-linux-arm64.zip": "5dd0ea772a4deaf24ec177f084f4c08a02cf5c48eff02d08df499759b2c0afaf",
|
|
24
|
+
"electron-v32.0.0-alpha.10-linux-armv7l-debug.zip": "6e32afae48411d6798a5b035e6fb408acedf7efa2dbb3d6fbe6e2250231b3139",
|
|
25
|
+
"electron-v32.0.0-alpha.10-linux-armv7l-symbols.zip": "87a2a8ee09650cea1c06789d14d2a850e06cf67a627b2cc802edbb5513d1f15d",
|
|
26
|
+
"electron-v32.0.0-alpha.10-linux-armv7l.zip": "0156e3153071dd1e56369bbcc0baa98a68f522983bb9e176ede9670a5363b999",
|
|
27
|
+
"electron-v32.0.0-alpha.10-linux-x64-debug.zip": "55faf86330c1190ee1e0d71b7cc7c7839da38fedef99ab7e92664ff853d20643",
|
|
28
|
+
"electron-v32.0.0-alpha.10-linux-x64-symbols.zip": "f22b794e403c032cc24cf9f922149944bfe221fde412e1a4da476a2b31bde1f7",
|
|
29
|
+
"electron-v32.0.0-alpha.10-linux-x64.zip": "3edf453594921bac5840a799c642e7ef8d269cf13a3170b6740bb7f2a4858c22",
|
|
30
|
+
"electron-v32.0.0-alpha.10-mas-arm64-dsym-snapshot.zip": "a66380e221020c2948500f515406835f1e4330ee77c1609f2db11f81a46c3cca",
|
|
31
|
+
"electron-v32.0.0-alpha.10-mas-arm64-dsym.zip": "02446d61118ac7080f3e5ef510a23aecc972d6baa795ef23719957d08a2025c8",
|
|
32
|
+
"electron-v32.0.0-alpha.10-mas-arm64-symbols.zip": "fcb1f24d0a30358c90952ca2ffeaf222012bbd3ea63e10cdd8e1e4dc5b21f3a0",
|
|
33
|
+
"electron-v32.0.0-alpha.10-mas-arm64.zip": "096bbf14b2bcfe55e56954df4484d42690e4c7235218e86ec53fb6bbefe6d2ff",
|
|
34
|
+
"electron-v32.0.0-alpha.10-mas-x64-dsym-snapshot.zip": "dc9e1f51e6401235cd32a438ff772f32816272747db8d8d32a5a5071d92853a9",
|
|
35
|
+
"electron-v32.0.0-alpha.10-mas-x64-dsym.zip": "3d0bd9925efe6fb449123de2313c0618ea53bd316095c1658e178d63c94406c6",
|
|
36
|
+
"electron-v32.0.0-alpha.10-mas-x64-symbols.zip": "2ac20833d95c4a19fca7c707942845c1dc439a22a3581aa074ee40c2cf837e1e",
|
|
37
|
+
"electron-v32.0.0-alpha.10-mas-x64.zip": "9cbb311e333002eb05978e803c1bff46276c8ba28caaf63e42c617f1b52ee7fa",
|
|
38
|
+
"electron-v32.0.0-alpha.10-win32-arm64-pdb.zip": "a0fc1ba7680526b948b73225dadbf27cd3997b20dc55bb5f0131de60d86acfa2",
|
|
39
|
+
"electron-v32.0.0-alpha.10-win32-arm64-symbols.zip": "33fd2a16bed611f72da69f45f1788e3aa69899e121fac3a070ccdf0ac68c7cc9",
|
|
40
|
+
"electron-v32.0.0-alpha.10-win32-arm64-toolchain-profile.zip": "7351fa5cb892853a7d4b67d8858d0f9cc6506c554a2e42c9ad7e8d5e29ae2743",
|
|
41
|
+
"electron-v32.0.0-alpha.10-win32-arm64.zip": "fdbd14c96b3abaf46dbaed88db885dba6db161aabfc8d8d362c9b85ee763fba6",
|
|
42
|
+
"electron-v32.0.0-alpha.10-win32-ia32-pdb.zip": "1def5199301b5f07b0f210696b45f40f90c388c9321a5af3ad0f155c65368a48",
|
|
43
|
+
"electron-v32.0.0-alpha.10-win32-ia32-symbols.zip": "6f354541b7f5b5017826e0185b890deb4632c87f8dfb316b17f1e796254d7284",
|
|
44
|
+
"electron-v32.0.0-alpha.10-win32-ia32-toolchain-profile.zip": "7351fa5cb892853a7d4b67d8858d0f9cc6506c554a2e42c9ad7e8d5e29ae2743",
|
|
45
|
+
"electron-v32.0.0-alpha.10-win32-ia32.zip": "b319920b8ed1b1f0aeb9ea7920e83c0732e2e21bec19a9b3c5b9a308b786f64b",
|
|
46
|
+
"electron-v32.0.0-alpha.10-win32-x64-pdb.zip": "6acf77c1fc51a2eea447ad4a2ac06560e5565a542693250efd3f88948784ec45",
|
|
47
|
+
"electron-v32.0.0-alpha.10-win32-x64-symbols.zip": "089ca3ed2c923922b660fda0f4175fd1c5d8fc4c47aad639d48e42d651831f8c",
|
|
48
|
+
"electron-v32.0.0-alpha.10-win32-x64-toolchain-profile.zip": "7351fa5cb892853a7d4b67d8858d0f9cc6506c554a2e42c9ad7e8d5e29ae2743",
|
|
49
|
+
"electron-v32.0.0-alpha.10-win32-x64.zip": "00dfd2d5cc52cc7ed3dd23907054d02baf5b7d346d420acfcf7c308e459a0a89",
|
|
50
|
+
"electron.d.ts": "5309a23ad7c4f1d45246b4e9358ce8e55d6ce81b6599ca38d57c8ddb23589d0b",
|
|
51
|
+
"ffmpeg-v32.0.0-alpha.10-darwin-arm64.zip": "8e09270a0e72c73c3f2a98efc9a2c23e72ee6c354ee94fbca1a6a4384cd579c4",
|
|
52
|
+
"ffmpeg-v32.0.0-alpha.10-darwin-x64.zip": "29543733f9b465c5e0d447591b32505705097690bc1e3a66f59c9c4fcb3c4caf",
|
|
53
|
+
"ffmpeg-v32.0.0-alpha.10-linux-arm64.zip": "e6ba3444a7ad0821e757ff9f972116008f91620b7a1c8f256507a2e345327614",
|
|
54
|
+
"ffmpeg-v32.0.0-alpha.10-linux-armv7l.zip": "550c848d5278a0fa91cb6a845bda2ca9bba4fc9609dc9787fa95f3ed5f995d73",
|
|
55
|
+
"ffmpeg-v32.0.0-alpha.10-linux-x64.zip": "3e6a64313194399336d900885bbd36ba714d0d312cb4d7317e95926ee8e33012",
|
|
56
|
+
"ffmpeg-v32.0.0-alpha.10-mas-arm64.zip": "8e09270a0e72c73c3f2a98efc9a2c23e72ee6c354ee94fbca1a6a4384cd579c4",
|
|
57
|
+
"ffmpeg-v32.0.0-alpha.10-mas-x64.zip": "29543733f9b465c5e0d447591b32505705097690bc1e3a66f59c9c4fcb3c4caf",
|
|
58
|
+
"ffmpeg-v32.0.0-alpha.10-win32-arm64.zip": "56c86a1788759e5b0701b07f56e5f32645b95b6d3dec850f3732179f226e898d",
|
|
59
|
+
"ffmpeg-v32.0.0-alpha.10-win32-ia32.zip": "6b5fa9873499cdda54845e3fd2e257e2423a286a86048cc48964531f9637a08b",
|
|
60
|
+
"ffmpeg-v32.0.0-alpha.10-win32-x64.zip": "9340e9dd4daa0f2d78ff228eb4f1f41c9af7a229933a91b0322ed73089f8fffa",
|
|
61
|
+
"hunspell_dictionaries.zip": "c29a70d7f26d01c258fd1d1cb330df61939f181c12b7ce9f81649ff27900d454",
|
|
62
|
+
"libcxx-objects-v32.0.0-alpha.10-linux-arm64.zip": "7423cd729bf4a2de8f1a0c5d2f11a983bf20f1c25a1f17a4b15cda677f354aa5",
|
|
63
|
+
"libcxx-objects-v32.0.0-alpha.10-linux-armv7l.zip": "76415b0cac335c3f6c50402f8c339dbf66b28c8e4784580ce8ba4b305754b8d1",
|
|
64
|
+
"libcxx-objects-v32.0.0-alpha.10-linux-x64.zip": "c399d09f2e7879f143bbb1069d3e57834f4df9216e70f30704f31ecdde3db757",
|
|
65
|
+
"libcxx_headers.zip": "136cbda189aa6215320582a2f93db6128fcf822b95f21c24c415a64c6d72567d",
|
|
66
|
+
"libcxxabi_headers.zip": "0aec0856fb49449addb006094df80834e852aafff60bf0173c55591a85ca31e6",
|
|
67
|
+
"mksnapshot-v32.0.0-alpha.10-darwin-arm64.zip": "86bcc8aac732c6f37a87e57b71ae35f8a77fb2192829aa69571201a2f03b5db1",
|
|
68
|
+
"mksnapshot-v32.0.0-alpha.10-darwin-x64.zip": "f9527d576a307b675fb1d5b8cd51cef47f815f8a705ecdadf520606a04fc1025",
|
|
69
|
+
"mksnapshot-v32.0.0-alpha.10-linux-arm64-x64.zip": "5cd803bc638656021f3fb34477c4897d42fdf75dd104a86022eec7939b4076cd",
|
|
70
|
+
"mksnapshot-v32.0.0-alpha.10-linux-armv7l-x64.zip": "ea136cde7ff7a8354f8a948298a63a7ae597fc966185f21fdc052f42445c0e4e",
|
|
71
|
+
"mksnapshot-v32.0.0-alpha.10-linux-x64.zip": "951dbe8dc45be3681d70cb9d7e746100ff758d1d4cf6f7b82323b847ba06a0e3",
|
|
72
|
+
"mksnapshot-v32.0.0-alpha.10-mas-arm64.zip": "013612d610c1ff1c5c868b01c4e54b9f5bff6990ee3d7cfcb4276c596219b69c",
|
|
73
|
+
"mksnapshot-v32.0.0-alpha.10-mas-x64.zip": "a1247c4945e3a80072392d001da6b4060b69814e6dc47cd5f870498e80062878",
|
|
74
|
+
"mksnapshot-v32.0.0-alpha.10-win32-arm64-x64.zip": "290037afe5e28a7b958ad2a850ef4d19b1ca9e0c7be0bc0540d8eb1b68f0c5da",
|
|
75
|
+
"mksnapshot-v32.0.0-alpha.10-win32-ia32.zip": "44bdcd5d9d5dc146037cf094429bef398beb3923f31c2b90309d4362c441625a",
|
|
76
|
+
"mksnapshot-v32.0.0-alpha.10-win32-x64.zip": "2b547bb142882f911cf2c954c520d8a2258d73e85a4522e95d71e0d5fe546a5c"
|
|
77
77
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron
|
|
1
|
+
// Type definitions for Electron 32.0.0-alpha.10
|
|
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
|
|
@@ -6820,6 +6820,10 @@ declare namespace Electron {
|
|
|
6820
6820
|
|
|
6821
6821
|
// Docs: https://electronjs.org/docs/api/structures/cpu-usage
|
|
6822
6822
|
|
|
6823
|
+
/**
|
|
6824
|
+
* Total seconds of CPU time used since process startup.
|
|
6825
|
+
*/
|
|
6826
|
+
cumulativeCPUUsage?: number;
|
|
6823
6827
|
/**
|
|
6824
6828
|
* The number of average idle CPU wakeups per second since the last call to
|
|
6825
6829
|
* getCPUUsage. First call returns 0. Will always return 0 on Windows.
|
|
@@ -7628,6 +7632,14 @@ declare namespace Electron {
|
|
|
7628
7632
|
* The Content-Disposition field from the response header.
|
|
7629
7633
|
*/
|
|
7630
7634
|
getContentDisposition(): string;
|
|
7635
|
+
/**
|
|
7636
|
+
* The current download speed in bytes per second.
|
|
7637
|
+
*/
|
|
7638
|
+
getCurrentBytesPerSecond(): number;
|
|
7639
|
+
/**
|
|
7640
|
+
* Number of seconds since the UNIX epoch when the download ended.
|
|
7641
|
+
*/
|
|
7642
|
+
getEndTime(): number;
|
|
7631
7643
|
/**
|
|
7632
7644
|
* ETag header value.
|
|
7633
7645
|
*/
|
|
@@ -7648,6 +7660,10 @@ declare namespace Electron {
|
|
|
7648
7660
|
* The files mime type.
|
|
7649
7661
|
*/
|
|
7650
7662
|
getMimeType(): string;
|
|
7663
|
+
/**
|
|
7664
|
+
* The download completion in percent.
|
|
7665
|
+
*/
|
|
7666
|
+
getPercentComplete(): number;
|
|
7651
7667
|
/**
|
|
7652
7668
|
* The received bytes of the download item.
|
|
7653
7669
|
*/
|
|
@@ -8776,7 +8792,7 @@ declare namespace Electron {
|
|
|
8776
8792
|
visible: boolean;
|
|
8777
8793
|
}
|
|
8778
8794
|
|
|
8779
|
-
class MessageChannelMain
|
|
8795
|
+
class MessageChannelMain {
|
|
8780
8796
|
|
|
8781
8797
|
// Docs: https://electronjs.org/docs/api/message-channel-main
|
|
8782
8798
|
|
|
@@ -9128,10 +9144,26 @@ declare namespace Electron {
|
|
|
9128
9144
|
themeSource: ('system' | 'light' | 'dark');
|
|
9129
9145
|
}
|
|
9130
9146
|
|
|
9131
|
-
class NavigationHistory
|
|
9147
|
+
class NavigationHistory {
|
|
9132
9148
|
|
|
9133
9149
|
// Docs: https://electronjs.org/docs/api/navigation-history
|
|
9134
9150
|
|
|
9151
|
+
/**
|
|
9152
|
+
* Whether the browser can go back to previous web page.
|
|
9153
|
+
*/
|
|
9154
|
+
canGoBack(): boolean;
|
|
9155
|
+
/**
|
|
9156
|
+
* Whether the browser can go forward to next web page.
|
|
9157
|
+
*/
|
|
9158
|
+
canGoForward(): boolean;
|
|
9159
|
+
/**
|
|
9160
|
+
* Whether the web page can go to the specified `offset` from the current entry.
|
|
9161
|
+
*/
|
|
9162
|
+
canGoToOffset(offset: number): boolean;
|
|
9163
|
+
/**
|
|
9164
|
+
* Clears the navigation history.
|
|
9165
|
+
*/
|
|
9166
|
+
clear(): void;
|
|
9135
9167
|
/**
|
|
9136
9168
|
* The index of the current page, from which we would go back/forward or reload.
|
|
9137
9169
|
*/
|
|
@@ -9144,6 +9176,22 @@ declare namespace Electron {
|
|
|
9144
9176
|
* will be returned.
|
|
9145
9177
|
*/
|
|
9146
9178
|
getEntryAtIndex(index: number): EntryAtIndex;
|
|
9179
|
+
/**
|
|
9180
|
+
* Makes the browser go back a web page.
|
|
9181
|
+
*/
|
|
9182
|
+
goBack(): void;
|
|
9183
|
+
/**
|
|
9184
|
+
* Makes the browser go forward a web page.
|
|
9185
|
+
*/
|
|
9186
|
+
goForward(): void;
|
|
9187
|
+
/**
|
|
9188
|
+
* Navigates browser to the specified absolute web page index.
|
|
9189
|
+
*/
|
|
9190
|
+
goToIndex(index: number): void;
|
|
9191
|
+
/**
|
|
9192
|
+
* Navigates to the specified offset from the current entry.
|
|
9193
|
+
*/
|
|
9194
|
+
goToOffset(offset: number): void;
|
|
9147
9195
|
/**
|
|
9148
9196
|
* History length.
|
|
9149
9197
|
*/
|
|
@@ -10605,7 +10653,7 @@ declare namespace Electron {
|
|
|
10605
10653
|
endpoints: ResolvedEndpoint[];
|
|
10606
10654
|
}
|
|
10607
10655
|
|
|
10608
|
-
interface SafeStorage
|
|
10656
|
+
interface SafeStorage {
|
|
10609
10657
|
|
|
10610
10658
|
// Docs: https://electronjs.org/docs/api/safe-storage
|
|
10611
10659
|
|
|
@@ -11915,7 +11963,7 @@ declare namespace Electron {
|
|
|
11915
11963
|
url: string;
|
|
11916
11964
|
}
|
|
11917
11965
|
|
|
11918
|
-
class ShareMenu
|
|
11966
|
+
class ShareMenu {
|
|
11919
11967
|
|
|
11920
11968
|
// Docs: https://electronjs.org/docs/api/share-menu
|
|
11921
11969
|
|
|
@@ -12560,7 +12608,7 @@ declare namespace Electron {
|
|
|
12560
12608
|
label: string;
|
|
12561
12609
|
}
|
|
12562
12610
|
|
|
12563
|
-
class TouchBarColorPicker
|
|
12611
|
+
class TouchBarColorPicker {
|
|
12564
12612
|
|
|
12565
12613
|
// Docs: https://electronjs.org/docs/api/touch-bar-color-picker
|
|
12566
12614
|
|
|
@@ -12580,7 +12628,7 @@ declare namespace Electron {
|
|
|
12580
12628
|
selectedColor: string;
|
|
12581
12629
|
}
|
|
12582
12630
|
|
|
12583
|
-
class TouchBarGroup
|
|
12631
|
+
class TouchBarGroup {
|
|
12584
12632
|
|
|
12585
12633
|
// Docs: https://electronjs.org/docs/api/touch-bar-group
|
|
12586
12634
|
|
|
@@ -12590,7 +12638,7 @@ declare namespace Electron {
|
|
|
12590
12638
|
constructor(options: TouchBarGroupConstructorOptions);
|
|
12591
12639
|
}
|
|
12592
12640
|
|
|
12593
|
-
class TouchBarLabel
|
|
12641
|
+
class TouchBarLabel {
|
|
12594
12642
|
|
|
12595
12643
|
// Docs: https://electronjs.org/docs/api/touch-bar-label
|
|
12596
12644
|
|
|
@@ -12615,7 +12663,7 @@ declare namespace Electron {
|
|
|
12615
12663
|
textColor: string;
|
|
12616
12664
|
}
|
|
12617
12665
|
|
|
12618
|
-
class TouchBarOtherItemsProxy
|
|
12666
|
+
class TouchBarOtherItemsProxy {
|
|
12619
12667
|
|
|
12620
12668
|
// Docs: https://electronjs.org/docs/api/touch-bar-other-items-proxy
|
|
12621
12669
|
|
|
@@ -12625,7 +12673,7 @@ declare namespace Electron {
|
|
|
12625
12673
|
constructor();
|
|
12626
12674
|
}
|
|
12627
12675
|
|
|
12628
|
-
class TouchBarPopover
|
|
12676
|
+
class TouchBarPopover {
|
|
12629
12677
|
|
|
12630
12678
|
// Docs: https://electronjs.org/docs/api/touch-bar-popover
|
|
12631
12679
|
|
|
@@ -12645,7 +12693,7 @@ declare namespace Electron {
|
|
|
12645
12693
|
label: string;
|
|
12646
12694
|
}
|
|
12647
12695
|
|
|
12648
|
-
class TouchBarScrubber
|
|
12696
|
+
class TouchBarScrubber {
|
|
12649
12697
|
|
|
12650
12698
|
// Docs: https://electronjs.org/docs/api/touch-bar-scrubber
|
|
12651
12699
|
|
|
@@ -12701,7 +12749,7 @@ declare namespace Electron {
|
|
|
12701
12749
|
showArrowButtons: boolean;
|
|
12702
12750
|
}
|
|
12703
12751
|
|
|
12704
|
-
class TouchBarSegmentedControl
|
|
12752
|
+
class TouchBarSegmentedControl {
|
|
12705
12753
|
|
|
12706
12754
|
// Docs: https://electronjs.org/docs/api/touch-bar-segmented-control
|
|
12707
12755
|
|
|
@@ -12733,7 +12781,7 @@ declare namespace Electron {
|
|
|
12733
12781
|
selectedIndex: number;
|
|
12734
12782
|
}
|
|
12735
12783
|
|
|
12736
|
-
class TouchBarSlider
|
|
12784
|
+
class TouchBarSlider {
|
|
12737
12785
|
|
|
12738
12786
|
// Docs: https://electronjs.org/docs/api/touch-bar-slider
|
|
12739
12787
|
|
|
@@ -12763,7 +12811,7 @@ declare namespace Electron {
|
|
|
12763
12811
|
value: number;
|
|
12764
12812
|
}
|
|
12765
12813
|
|
|
12766
|
-
class TouchBarSpacer
|
|
12814
|
+
class TouchBarSpacer {
|
|
12767
12815
|
|
|
12768
12816
|
// Docs: https://electronjs.org/docs/api/touch-bar-spacer
|
|
12769
12817
|
|
|
@@ -15777,14 +15825,28 @@ declare namespace Electron {
|
|
|
15777
15825
|
beginFrameSubscription(callback: (image: NativeImage, dirtyRect: Rectangle) => void): void;
|
|
15778
15826
|
/**
|
|
15779
15827
|
* Whether the browser can go back to previous web page.
|
|
15828
|
+
*
|
|
15829
|
+
* **Deprecated:** Should use the new `contents.navigationHistory.canGoBack` API.
|
|
15830
|
+
*
|
|
15831
|
+
* @deprecated
|
|
15780
15832
|
*/
|
|
15781
15833
|
canGoBack(): boolean;
|
|
15782
15834
|
/**
|
|
15783
15835
|
* Whether the browser can go forward to next web page.
|
|
15836
|
+
*
|
|
15837
|
+
* **Deprecated:** Should use the new `contents.navigationHistory.canGoForward`
|
|
15838
|
+
* API.
|
|
15839
|
+
*
|
|
15840
|
+
* @deprecated
|
|
15784
15841
|
*/
|
|
15785
15842
|
canGoForward(): boolean;
|
|
15786
15843
|
/**
|
|
15787
15844
|
* Whether the web page can go to `offset`.
|
|
15845
|
+
*
|
|
15846
|
+
* **Deprecated:** Should use the new `contents.navigationHistory.canGoToOffset`
|
|
15847
|
+
* API.
|
|
15848
|
+
*
|
|
15849
|
+
* @deprecated
|
|
15788
15850
|
*/
|
|
15789
15851
|
canGoToOffset(offset: number): boolean;
|
|
15790
15852
|
/**
|
|
@@ -15802,6 +15864,10 @@ declare namespace Electron {
|
|
|
15802
15864
|
centerSelection(): void;
|
|
15803
15865
|
/**
|
|
15804
15866
|
* Clears the navigation history.
|
|
15867
|
+
*
|
|
15868
|
+
* **Deprecated:** Should use the new `contents.navigationHistory.clear` API.
|
|
15869
|
+
*
|
|
15870
|
+
* @deprecated
|
|
15805
15871
|
*/
|
|
15806
15872
|
clearHistory(): void;
|
|
15807
15873
|
/**
|
|
@@ -15972,18 +16038,34 @@ declare namespace Electron {
|
|
|
15972
16038
|
getZoomLevel(): number;
|
|
15973
16039
|
/**
|
|
15974
16040
|
* Makes the browser go back a web page.
|
|
16041
|
+
*
|
|
16042
|
+
* **Deprecated:** Should use the new `contents.navigationHistory.goBack` API.
|
|
16043
|
+
*
|
|
16044
|
+
* @deprecated
|
|
15975
16045
|
*/
|
|
15976
16046
|
goBack(): void;
|
|
15977
16047
|
/**
|
|
15978
16048
|
* Makes the browser go forward a web page.
|
|
16049
|
+
*
|
|
16050
|
+
* **Deprecated:** Should use the new `contents.navigationHistory.goForward` API.
|
|
16051
|
+
*
|
|
16052
|
+
* @deprecated
|
|
15979
16053
|
*/
|
|
15980
16054
|
goForward(): void;
|
|
15981
16055
|
/**
|
|
15982
16056
|
* Navigates browser to the specified absolute web page index.
|
|
16057
|
+
*
|
|
16058
|
+
* **Deprecated:** Should use the new `contents.navigationHistory.goToIndex` API.
|
|
16059
|
+
*
|
|
16060
|
+
* @deprecated
|
|
15983
16061
|
*/
|
|
15984
16062
|
goToIndex(index: number): void;
|
|
15985
16063
|
/**
|
|
15986
16064
|
* Navigates to the specified offset from the "current entry".
|
|
16065
|
+
*
|
|
16066
|
+
* **Deprecated:** Should use the new `contents.navigationHistory.goToOffset` API.
|
|
16067
|
+
*
|
|
16068
|
+
* @deprecated
|
|
15987
16069
|
*/
|
|
15988
16070
|
goToOffset(offset: number): void;
|
|
15989
16071
|
/**
|
|
@@ -17265,7 +17347,7 @@ declare namespace Electron {
|
|
|
17265
17347
|
url?: string;
|
|
17266
17348
|
}
|
|
17267
17349
|
|
|
17268
|
-
interface WebUtils
|
|
17350
|
+
interface WebUtils {
|
|
17269
17351
|
|
|
17270
17352
|
// Docs: https://electronjs.org/docs/api/web-utils
|
|
17271
17353
|
|
|
@@ -23366,6 +23448,11 @@ declare namespace NodeJS {
|
|
|
23366
23448
|
once(event: 'loaded', listener: Function): this;
|
|
23367
23449
|
addListener(event: 'loaded', listener: Function): this;
|
|
23368
23450
|
removeListener(event: 'loaded', listener: Function): this;
|
|
23451
|
+
on(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
23452
|
+
off(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
23453
|
+
once(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
23454
|
+
addListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
23455
|
+
removeListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
23369
23456
|
/**
|
|
23370
23457
|
* Causes the main thread of the current process crash.
|
|
23371
23458
|
*/
|
package/package.json
CHANGED