electron 15.0.0 → 16.0.0-alpha.1
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 +0 -1
- package/checksums.json +78 -78
- package/electron.d.ts +33 -21
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -60,7 +60,6 @@ npm start
|
|
|
60
60
|
- [electronjs.org/community#boilerplates](https://electronjs.org/community#boilerplates) - Sample starter apps created by the community
|
|
61
61
|
- [electron/simple-samples](https://github.com/electron/simple-samples) - Small applications with ideas for taking them further
|
|
62
62
|
- [electron/electron-api-demos](https://github.com/electron/electron-api-demos) - An Electron app that teaches you how to use Electron
|
|
63
|
-
- [hokein/electron-sample-apps](https://github.com/hokein/electron-sample-apps) - Small demo apps for the various Electron APIs
|
|
64
63
|
|
|
65
64
|
## Programmatic usage
|
|
66
65
|
|
package/checksums.json
CHANGED
|
@@ -1,80 +1,80 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-
|
|
3
|
-
"chromedriver-
|
|
4
|
-
"chromedriver-
|
|
5
|
-
"chromedriver-
|
|
6
|
-
"chromedriver-
|
|
7
|
-
"chromedriver-
|
|
8
|
-
"chromedriver-
|
|
9
|
-
"chromedriver-
|
|
10
|
-
"chromedriver-
|
|
11
|
-
"chromedriver-
|
|
12
|
-
"chromedriver-
|
|
13
|
-
"electron-api.json": "
|
|
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
|
-
"ffmpeg-
|
|
62
|
-
"hunspell_dictionaries.zip": "
|
|
63
|
-
"libcxx-objects-
|
|
64
|
-
"libcxx-objects-
|
|
65
|
-
"libcxx-objects-
|
|
66
|
-
"libcxx-objects-
|
|
67
|
-
"libcxx_headers.zip": "
|
|
68
|
-
"libcxxabi_headers.zip": "
|
|
69
|
-
"mksnapshot-
|
|
70
|
-
"mksnapshot-
|
|
71
|
-
"mksnapshot-
|
|
72
|
-
"mksnapshot-
|
|
73
|
-
"mksnapshot-
|
|
74
|
-
"mksnapshot-
|
|
75
|
-
"mksnapshot-
|
|
76
|
-
"mksnapshot-
|
|
77
|
-
"mksnapshot-
|
|
78
|
-
"mksnapshot-
|
|
79
|
-
"mksnapshot-
|
|
2
|
+
"chromedriver-v16.0.0-alpha.1-darwin-arm64.zip": "fe683c4cb4330a3adfc92ef1f3afff48984b380ddc54af68dd6f8e13be11bf83",
|
|
3
|
+
"chromedriver-v16.0.0-alpha.1-darwin-x64.zip": "ce2a9e34e5b39adfc2342d125cc2bce76e1ca273d3495b38f223cf09b077bb88",
|
|
4
|
+
"chromedriver-v16.0.0-alpha.1-linux-arm64.zip": "300dac5849c7e86610f9ab4f97170362bbe0018b421edcb0f72a3a86578e959e",
|
|
5
|
+
"chromedriver-v16.0.0-alpha.1-linux-armv7l.zip": "6b286570758531855d4b1fb9c760f150032797ddd792b7adcb77fa9b0612db2a",
|
|
6
|
+
"chromedriver-v16.0.0-alpha.1-linux-ia32.zip": "872f01f355f70305045b10b50456a2383bc4c08131985899257d51c0b011cc71",
|
|
7
|
+
"chromedriver-v16.0.0-alpha.1-linux-x64.zip": "7affa970b5d6347f578dfd8b5c39c5b62e9038d1dc39cb0e78ad8e641d4f2272",
|
|
8
|
+
"chromedriver-v16.0.0-alpha.1-mas-arm64.zip": "a413bd1dd8b36f1179c4cc270018a760b4b9bc719e9c10a91d460e3dd7d682d6",
|
|
9
|
+
"chromedriver-v16.0.0-alpha.1-mas-x64.zip": "1d139240a8c5d113212cf1cfb84e58816c9037bd43740f9b1c8e9359b2270a5f",
|
|
10
|
+
"chromedriver-v16.0.0-alpha.1-win32-arm64.zip": "107c8413828d0073d4b2c6a7f625dae0974874585298a495954c36a826d78bcd",
|
|
11
|
+
"chromedriver-v16.0.0-alpha.1-win32-ia32.zip": "e8f1aec710f47655c771a6f1b27d68f3bba484c562c94889c42be80c70d4a196",
|
|
12
|
+
"chromedriver-v16.0.0-alpha.1-win32-x64.zip": "2f6f4899e4affccb83b252a61c48b4a3180a75b946d4dcbc74835ca8e18d9c54",
|
|
13
|
+
"electron-api.json": "00924f717c59c419694e0ba88e7c57aa8746eee609a4b0daad444a3a5e75a4d9",
|
|
14
|
+
"electron-v16.0.0-alpha.1-darwin-arm64-dsym.zip": "d74c27fdd2c9e5076cf77fa38e6a773eacc288319876c4e769b2602bd15bca5f",
|
|
15
|
+
"electron-v16.0.0-alpha.1-darwin-arm64-symbols.zip": "7e0c54c4c8854d2819a439c01cb7fc9897b0a666f37d942b12a504b035b2b410",
|
|
16
|
+
"electron-v16.0.0-alpha.1-darwin-arm64.zip": "f92809d2de324456b0e32a74485f5a6bf2a9d1301735b8ec4c98d38708d1e3ef",
|
|
17
|
+
"electron-v16.0.0-alpha.1-darwin-x64-dsym.zip": "941622e1dda6301b3c159ed3f2f097145b48fc28defd59ec55858d9d6065ee20",
|
|
18
|
+
"electron-v16.0.0-alpha.1-darwin-x64-symbols.zip": "63ff7e91565b8090798292237631fa04911aa5e1e1da5323bf16f84140616f4f",
|
|
19
|
+
"electron-v16.0.0-alpha.1-darwin-x64.zip": "c6e32fd9955c0e831d8ba717a74ed23874e68929bca8d3e5d663b315ca622589",
|
|
20
|
+
"electron-v16.0.0-alpha.1-linux-arm64-debug.zip": "ed7348f2d767dce926dffa6ea1f4f3ae0e087dc0b52a3b9892fef6a9494e457f",
|
|
21
|
+
"electron-v16.0.0-alpha.1-linux-arm64-symbols.zip": "50644709db4ee76acfa28d844d257cc1b0b8a459a5c29e49558ca82fec7d00f2",
|
|
22
|
+
"electron-v16.0.0-alpha.1-linux-arm64.zip": "1dc601871921334812c2a0725c4b56afea5c623b0d6601004699704cf97612b4",
|
|
23
|
+
"electron-v16.0.0-alpha.1-linux-armv7l-debug.zip": "ed7348f2d767dce926dffa6ea1f4f3ae0e087dc0b52a3b9892fef6a9494e457f",
|
|
24
|
+
"electron-v16.0.0-alpha.1-linux-armv7l-symbols.zip": "2333067389ffc94b459d68d6510a8eb631ad247217974484ab264e9b8243cba9",
|
|
25
|
+
"electron-v16.0.0-alpha.1-linux-armv7l.zip": "6422ae42aa08e320ce474bf8d08034b5917a9cc9a8357aba290cfec6c1f1d484",
|
|
26
|
+
"electron-v16.0.0-alpha.1-linux-ia32-debug.zip": "ed7348f2d767dce926dffa6ea1f4f3ae0e087dc0b52a3b9892fef6a9494e457f",
|
|
27
|
+
"electron-v16.0.0-alpha.1-linux-ia32-symbols.zip": "22143ef5075d78f15fb5b393eacd0b982422462458be64b8c1aa8a23bc5a7099",
|
|
28
|
+
"electron-v16.0.0-alpha.1-linux-ia32.zip": "3e796611dd0bc977c28a9684af1ed726bf1f14446f6eb78f2e1a7d3aa807f5d8",
|
|
29
|
+
"electron-v16.0.0-alpha.1-linux-x64-debug.zip": "668b52dacc482c65196d74c43a7447a4f03a3890962447769424382474033617",
|
|
30
|
+
"electron-v16.0.0-alpha.1-linux-x64-symbols.zip": "2ff83f10431c86775f9805ab54d3ced7443ff8da8e7ddeb43380ec3927b81a57",
|
|
31
|
+
"electron-v16.0.0-alpha.1-linux-x64.zip": "c222e0aee89d11613676e8367f3c8d118f16e31855c204f6571177cb5c20ede9",
|
|
32
|
+
"electron-v16.0.0-alpha.1-mas-arm64-dsym.zip": "abd81dffee3251be54cacd84dd7df627691fbbc8781a5801879e6fa039943688",
|
|
33
|
+
"electron-v16.0.0-alpha.1-mas-arm64-symbols.zip": "1fdff0cff7135ce295ac3175ca6db7458b272db53191972b3ab7bdf7a1e28266",
|
|
34
|
+
"electron-v16.0.0-alpha.1-mas-arm64.zip": "d0809fd9ea99a280b73a8c09db89b63cee7770235616f08ef5659abb381f070a",
|
|
35
|
+
"electron-v16.0.0-alpha.1-mas-x64-dsym.zip": "c908c0ffbe92cad5d98edcf37573214e97343719bb96256bdc4f8cc432565677",
|
|
36
|
+
"electron-v16.0.0-alpha.1-mas-x64-symbols.zip": "a53528aac260eb793a17eccdc26267515e3f077b9273d121c32822df6615aecf",
|
|
37
|
+
"electron-v16.0.0-alpha.1-mas-x64.zip": "3524aa6affbddbab3faf23036a101c1019875a9006adcffd5a5e87bdce4e355b",
|
|
38
|
+
"electron-v16.0.0-alpha.1-win32-arm64-pdb.zip": "7d76de3109a95d46fc3424fb178b32a39fcab0db14096b65c71fa99f9f87106e",
|
|
39
|
+
"electron-v16.0.0-alpha.1-win32-arm64-symbols.zip": "570830cb017f08fd042305807a55b53f6f6c0f409490a90468e7254592b632a6",
|
|
40
|
+
"electron-v16.0.0-alpha.1-win32-arm64-toolchain-profile.zip": "3b0e3dde77968ef5643bf5a043be2ccd84edd88ccb588505a65ba7e7a6542b9e",
|
|
41
|
+
"electron-v16.0.0-alpha.1-win32-arm64.zip": "695f83176ac37d4a7bc78efa5f4dfedc03fc6e81d99d6402f83f20757d2dd1eb",
|
|
42
|
+
"electron-v16.0.0-alpha.1-win32-ia32-pdb.zip": "d27923ccaad1640c8dc98d658ec7b53a9d4b91e76f7b98864f957c93d8be68b9",
|
|
43
|
+
"electron-v16.0.0-alpha.1-win32-ia32-symbols.zip": "cfc8ccb223f84114e561ac3100f208b487c09d91b28c02596baf4f8685eb62e1",
|
|
44
|
+
"electron-v16.0.0-alpha.1-win32-ia32-toolchain-profile.zip": "3b0e3dde77968ef5643bf5a043be2ccd84edd88ccb588505a65ba7e7a6542b9e",
|
|
45
|
+
"electron-v16.0.0-alpha.1-win32-ia32.zip": "1450953ed166811f946c175e4a8682a6933eb4083dad2488b4d0a15e0b19a152",
|
|
46
|
+
"electron-v16.0.0-alpha.1-win32-x64-pdb.zip": "3c117033bedda0d72853886ad60f530314dff12a5b65ecaf9afe2a51b57bd548",
|
|
47
|
+
"electron-v16.0.0-alpha.1-win32-x64-symbols.zip": "0d5dda0e520eece321e70b0e4fd081de7e88cb1225a541197cfa57d01552b3cb",
|
|
48
|
+
"electron-v16.0.0-alpha.1-win32-x64-toolchain-profile.zip": "3b0e3dde77968ef5643bf5a043be2ccd84edd88ccb588505a65ba7e7a6542b9e",
|
|
49
|
+
"electron-v16.0.0-alpha.1-win32-x64.zip": "dae8cddafc2d6a17c4dc47c0fb24236d92a81cc7c61b5b3da544fd3207925a04",
|
|
50
|
+
"electron.d.ts": "32c2295675a00585ae6d0114289cb1f4f55a55a66fbd10f7e0c99ab75ca284d7",
|
|
51
|
+
"ffmpeg-v16.0.0-alpha.1-darwin-arm64.zip": "67beeed81bd3e0110209dc209da9cbf1fad72147fd22e385a556dc1d83778ee4",
|
|
52
|
+
"ffmpeg-v16.0.0-alpha.1-darwin-x64.zip": "c034c04d55284200e8279ab9ffc0918a8095b95e1b85730c4559160ec71baaf5",
|
|
53
|
+
"ffmpeg-v16.0.0-alpha.1-linux-arm64.zip": "e2d1731c111913e06d0c2eb9f1d3d6bfe187860e8ebf1f07534d9377086e1b52",
|
|
54
|
+
"ffmpeg-v16.0.0-alpha.1-linux-armv7l.zip": "3f6847162054cd591642a42ede3c47534d2643c7e61277cedd40945bc63b6682",
|
|
55
|
+
"ffmpeg-v16.0.0-alpha.1-linux-ia32.zip": "3ea031098a53b4edf6e885b2625cdcbc64a07e6e712fc798cd214170711a58d7",
|
|
56
|
+
"ffmpeg-v16.0.0-alpha.1-linux-x64.zip": "b0a7d05bf32e8f2d123b67bdf4b32d1572491a9ca18346e9ea5a3f2c07558e2b",
|
|
57
|
+
"ffmpeg-v16.0.0-alpha.1-mas-arm64.zip": "67beeed81bd3e0110209dc209da9cbf1fad72147fd22e385a556dc1d83778ee4",
|
|
58
|
+
"ffmpeg-v16.0.0-alpha.1-mas-x64.zip": "c034c04d55284200e8279ab9ffc0918a8095b95e1b85730c4559160ec71baaf5",
|
|
59
|
+
"ffmpeg-v16.0.0-alpha.1-win32-arm64.zip": "e969c746df41f70045623c539ec9c5223a742f51ab5f84a277ca832fed00b92c",
|
|
60
|
+
"ffmpeg-v16.0.0-alpha.1-win32-ia32.zip": "5857ef927af672fa40acca7e6556ad4e6caf0bfc85788589fc91b9fb27328e54",
|
|
61
|
+
"ffmpeg-v16.0.0-alpha.1-win32-x64.zip": "c5f23d81f2d0ee127e71b4253e23da94464b9db6257989ebe961e590b69d918c",
|
|
62
|
+
"hunspell_dictionaries.zip": "344aa180659a47d82f73eb0cabb40f7433e9da8dda6f105a6d59240bfcd2e027",
|
|
63
|
+
"libcxx-objects-v16.0.0-alpha.1-linux-arm64.zip": "f1f9258775fac31870f8a1bc8f08fce307d72cad02faa44a03181a53ac2757e9",
|
|
64
|
+
"libcxx-objects-v16.0.0-alpha.1-linux-armv7l.zip": "e5b70d8b9e161bd50ff581e9a3d419239c249e86bf7a827274abcfeccdaaeedc",
|
|
65
|
+
"libcxx-objects-v16.0.0-alpha.1-linux-ia32.zip": "ec039e3544a8771c496ac9b3fb7387e22ed46edb828172ba088de612be0f156b",
|
|
66
|
+
"libcxx-objects-v16.0.0-alpha.1-linux-x64.zip": "9679623db1eb990c91a6ccd2f0f2b6c818252b746a5e720451699218d751c823",
|
|
67
|
+
"libcxx_headers.zip": "a9a8c321981470708cbee77383e3889e69d1870c8de1ebfe4e2e66eec332ad1f",
|
|
68
|
+
"libcxxabi_headers.zip": "ebf77dd7821f85be1d499f272bafafa334acc6e34276e672c277486ebfd757b7",
|
|
69
|
+
"mksnapshot-v16.0.0-alpha.1-darwin-arm64.zip": "31f23d09823e649927ef7295d0374d61d0c3d2d5fe0f860bae0be62e9bcd0a6b",
|
|
70
|
+
"mksnapshot-v16.0.0-alpha.1-darwin-x64.zip": "95df58c9dcfced0f8a282b1f0b481d00624c40389b7c907a9418ccda03bd0e77",
|
|
71
|
+
"mksnapshot-v16.0.0-alpha.1-linux-arm64-x64.zip": "cd2d01cbddf2e45eb68490c4c22f87604c0d06efdb0aa027e80ce7d76054fbe5",
|
|
72
|
+
"mksnapshot-v16.0.0-alpha.1-linux-armv7l-x64.zip": "bdfd5bb9b8810c0097415fe34928a779381387f04d913604e1f125e1ba85cf79",
|
|
73
|
+
"mksnapshot-v16.0.0-alpha.1-linux-ia32.zip": "6d8eec4cec27e01cb144996c56c89c0b164134fb1c5aa0f6c712111bf20e79a5",
|
|
74
|
+
"mksnapshot-v16.0.0-alpha.1-linux-x64.zip": "17b22bc0ad13e17e9ee1dae584b7f4180bf86da6502012d1b3a1f357f85c73dd",
|
|
75
|
+
"mksnapshot-v16.0.0-alpha.1-mas-arm64.zip": "69e05898e6c44215d7fb7498ff56155276812ea2fbaf2892761bec5d51d4049e",
|
|
76
|
+
"mksnapshot-v16.0.0-alpha.1-mas-x64.zip": "6d322af2b668b162fa31af5c548c29c5dd00e428a3af7fbc871637ab3be05fbd",
|
|
77
|
+
"mksnapshot-v16.0.0-alpha.1-win32-arm64-x64.zip": "4c1903e1997571346f49975774ef4eeb023bfaf72ec163bf2701e33911f0857a",
|
|
78
|
+
"mksnapshot-v16.0.0-alpha.1-win32-ia32.zip": "fee8b350999969fc557f868d6e8f023c6178129c4b2a6587aafd8c59f1a1234f",
|
|
79
|
+
"mksnapshot-v16.0.0-alpha.1-win32-x64.zip": "649d795a714b36f9a94089f168dab9fbccf5e34d67d8aa0ca90acfdefc1e92b1"
|
|
80
80
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron
|
|
1
|
+
// Type definitions for Electron 16.0.0-alpha.1
|
|
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/electron-typescript-definitions
|
|
@@ -165,7 +165,8 @@ declare namespace Electron {
|
|
|
165
165
|
*/
|
|
166
166
|
error: string,
|
|
167
167
|
certificate: Certificate,
|
|
168
|
-
callback: (isTrusted: boolean) => void
|
|
168
|
+
callback: (isTrusted: boolean) => void,
|
|
169
|
+
isMainFrame: boolean) => void): this;
|
|
169
170
|
once(event: 'certificate-error', listener: (event: Event,
|
|
170
171
|
webContents: WebContents,
|
|
171
172
|
url: string,
|
|
@@ -174,7 +175,8 @@ declare namespace Electron {
|
|
|
174
175
|
*/
|
|
175
176
|
error: string,
|
|
176
177
|
certificate: Certificate,
|
|
177
|
-
callback: (isTrusted: boolean) => void
|
|
178
|
+
callback: (isTrusted: boolean) => void,
|
|
179
|
+
isMainFrame: boolean) => void): this;
|
|
178
180
|
addListener(event: 'certificate-error', listener: (event: Event,
|
|
179
181
|
webContents: WebContents,
|
|
180
182
|
url: string,
|
|
@@ -183,7 +185,8 @@ declare namespace Electron {
|
|
|
183
185
|
*/
|
|
184
186
|
error: string,
|
|
185
187
|
certificate: Certificate,
|
|
186
|
-
callback: (isTrusted: boolean) => void
|
|
188
|
+
callback: (isTrusted: boolean) => void,
|
|
189
|
+
isMainFrame: boolean) => void): this;
|
|
187
190
|
removeListener(event: 'certificate-error', listener: (event: Event,
|
|
188
191
|
webContents: WebContents,
|
|
189
192
|
url: string,
|
|
@@ -192,7 +195,8 @@ declare namespace Electron {
|
|
|
192
195
|
*/
|
|
193
196
|
error: string,
|
|
194
197
|
certificate: Certificate,
|
|
195
|
-
callback: (isTrusted: boolean) => void
|
|
198
|
+
callback: (isTrusted: boolean) => void,
|
|
199
|
+
isMainFrame: boolean) => void): this;
|
|
196
200
|
/**
|
|
197
201
|
* Emitted when the child process unexpectedly disappears. This is normally because
|
|
198
202
|
* it was crashed or killed. It does not include renderer processes.
|
|
@@ -2522,8 +2526,8 @@ declare namespace Electron {
|
|
|
2522
2526
|
* and height are within the content view--only that they exist. Sum any extra
|
|
2523
2527
|
* width and height areas you have within the overall content view.
|
|
2524
2528
|
*
|
|
2525
|
-
* The aspect ratio is not respected when window is resized
|
|
2526
|
-
* like `win.setSize`.
|
|
2529
|
+
* The aspect ratio is not respected when window is resized programmatically with
|
|
2530
|
+
* APIs like `win.setSize`.
|
|
2527
2531
|
*/
|
|
2528
2532
|
setAspectRatio(aspectRatio: number, extraSize?: Size): void;
|
|
2529
2533
|
/**
|
|
@@ -3381,7 +3385,7 @@ declare namespace Electron {
|
|
|
3381
3385
|
*
|
|
3382
3386
|
* Returns an Object containing `title` and `url` keys representing the bookmark in
|
|
3383
3387
|
* the clipboard. The `title` and `url` values will be empty strings when the
|
|
3384
|
-
* bookmark is unavailable.
|
|
3388
|
+
* bookmark is unavailable. The `title` value will always be empty on Windows.
|
|
3385
3389
|
*
|
|
3386
3390
|
* @platform darwin,win32
|
|
3387
3391
|
*/
|
|
@@ -3424,7 +3428,7 @@ declare namespace Electron {
|
|
|
3424
3428
|
*/
|
|
3425
3429
|
write(data: Data, type?: 'selection' | 'clipboard'): void;
|
|
3426
3430
|
/**
|
|
3427
|
-
* Writes the `title` and `url` into the clipboard as a bookmark.
|
|
3431
|
+
* Writes the `title` (macOS only) and `url` into the clipboard as a bookmark.
|
|
3428
3432
|
*
|
|
3429
3433
|
* **Note:** Most apps on Windows don't support pasting bookmarks into them so you
|
|
3430
3434
|
* can use `clipboard.write` to write both a bookmark and fallback text to the
|
|
@@ -3747,13 +3751,6 @@ declare namespace Electron {
|
|
|
3747
3751
|
* must be no longer than 39 bytes, and values must be no longer than 20320 bytes.
|
|
3748
3752
|
* Keys with names longer than the maximum will be silently ignored. Key values
|
|
3749
3753
|
* longer than the maximum length will be truncated.
|
|
3750
|
-
*
|
|
3751
|
-
* **Note:** On linux values that are longer than 127 bytes will be chunked into
|
|
3752
|
-
* multiple keys, each 127 bytes in length. E.g. `addExtraParameter('foo',
|
|
3753
|
-
* 'a'.repeat(130))` will result in two chunked keys `foo__1` and `foo__2`, the
|
|
3754
|
-
* first will contain the first 127 bytes and the second will contain the remaining
|
|
3755
|
-
* 3 bytes. On your crash reporting backend you should stitch together keys in
|
|
3756
|
-
* this format.
|
|
3757
3754
|
*/
|
|
3758
3755
|
addExtraParameter(key: string, value: string): void;
|
|
3759
3756
|
/**
|
|
@@ -9369,7 +9366,8 @@ declare namespace Electron {
|
|
|
9369
9366
|
*/
|
|
9370
9367
|
error: string,
|
|
9371
9368
|
certificate: Certificate,
|
|
9372
|
-
callback: (isTrusted: boolean) => void
|
|
9369
|
+
callback: (isTrusted: boolean) => void,
|
|
9370
|
+
isMainFrame: boolean) => void): this;
|
|
9373
9371
|
once(event: 'certificate-error', listener: (event: Event,
|
|
9374
9372
|
url: string,
|
|
9375
9373
|
/**
|
|
@@ -9377,7 +9375,8 @@ declare namespace Electron {
|
|
|
9377
9375
|
*/
|
|
9378
9376
|
error: string,
|
|
9379
9377
|
certificate: Certificate,
|
|
9380
|
-
callback: (isTrusted: boolean) => void
|
|
9378
|
+
callback: (isTrusted: boolean) => void,
|
|
9379
|
+
isMainFrame: boolean) => void): this;
|
|
9381
9380
|
addListener(event: 'certificate-error', listener: (event: Event,
|
|
9382
9381
|
url: string,
|
|
9383
9382
|
/**
|
|
@@ -9385,7 +9384,8 @@ declare namespace Electron {
|
|
|
9385
9384
|
*/
|
|
9386
9385
|
error: string,
|
|
9387
9386
|
certificate: Certificate,
|
|
9388
|
-
callback: (isTrusted: boolean) => void
|
|
9387
|
+
callback: (isTrusted: boolean) => void,
|
|
9388
|
+
isMainFrame: boolean) => void): this;
|
|
9389
9389
|
removeListener(event: 'certificate-error', listener: (event: Event,
|
|
9390
9390
|
url: string,
|
|
9391
9391
|
/**
|
|
@@ -9393,7 +9393,8 @@ declare namespace Electron {
|
|
|
9393
9393
|
*/
|
|
9394
9394
|
error: string,
|
|
9395
9395
|
certificate: Certificate,
|
|
9396
|
-
callback: (isTrusted: boolean) => void
|
|
9396
|
+
callback: (isTrusted: boolean) => void,
|
|
9397
|
+
isMainFrame: boolean) => void): this;
|
|
9397
9398
|
/**
|
|
9398
9399
|
* Emitted when the associated window logs a console message.
|
|
9399
9400
|
*/
|
|
@@ -12926,6 +12927,10 @@ declare namespace Electron {
|
|
|
12926
12927
|
* y coordinate.
|
|
12927
12928
|
*/
|
|
12928
12929
|
y: number;
|
|
12930
|
+
/**
|
|
12931
|
+
* Frame from which the context menu was invoked.
|
|
12932
|
+
*/
|
|
12933
|
+
frame: WebFrameMain;
|
|
12929
12934
|
/**
|
|
12930
12935
|
* URL of the link that encloses the node the context menu was invoked on.
|
|
12931
12936
|
*/
|
|
@@ -14656,7 +14661,14 @@ declare namespace Electron {
|
|
|
14656
14661
|
certificate: Certificate;
|
|
14657
14662
|
validatedCertificate: Certificate;
|
|
14658
14663
|
/**
|
|
14659
|
-
*
|
|
14664
|
+
* `true` if Chromium recognises the root CA as a standard root. If it isn't then
|
|
14665
|
+
* it's probably the case that this certificate was generated by a MITM proxy whose
|
|
14666
|
+
* root has been installed locally (for example, by a corporate proxy). This should
|
|
14667
|
+
* not be trusted if the `verificationResult` is not `OK`.
|
|
14668
|
+
*/
|
|
14669
|
+
isIssuedByKnownRoot: boolean;
|
|
14670
|
+
/**
|
|
14671
|
+
* `OK` if the certificate is trusted, otherwise an error like `CERT_REVOKED`.
|
|
14660
14672
|
*/
|
|
14661
14673
|
verificationResult: string;
|
|
14662
14674
|
/**
|
package/package.json
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"node": ">= 8.6"
|
|
17
17
|
},
|
|
18
18
|
"name": "electron",
|
|
19
|
-
"version": "
|
|
19
|
+
"version": "16.0.0-alpha.1",
|
|
20
20
|
"repository": "https://github.com/electron/electron",
|
|
21
21
|
"description": "Build cross platform desktop apps with JavaScript, HTML, and CSS",
|
|
22
22
|
"license": "MIT",
|