electron 29.0.1 → 29.1.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/checksums.json +75 -75
- package/electron.d.ts +52 -92
- package/package.json +1 -1
package/checksums.json
CHANGED
|
@@ -1,77 +1,77 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-v29.
|
|
3
|
-
"chromedriver-v29.
|
|
4
|
-
"chromedriver-v29.
|
|
5
|
-
"chromedriver-v29.
|
|
6
|
-
"chromedriver-v29.
|
|
7
|
-
"chromedriver-v29.
|
|
8
|
-
"chromedriver-v29.
|
|
9
|
-
"chromedriver-v29.
|
|
10
|
-
"chromedriver-v29.
|
|
11
|
-
"chromedriver-v29.
|
|
12
|
-
"electron-api.json": "
|
|
13
|
-
"electron-v29.
|
|
14
|
-
"electron-v29.
|
|
15
|
-
"electron-v29.
|
|
16
|
-
"electron-v29.
|
|
17
|
-
"electron-v29.
|
|
18
|
-
"electron-v29.
|
|
19
|
-
"electron-v29.
|
|
20
|
-
"electron-v29.
|
|
21
|
-
"electron-v29.
|
|
22
|
-
"electron-v29.
|
|
23
|
-
"electron-v29.
|
|
24
|
-
"electron-v29.
|
|
25
|
-
"electron-v29.
|
|
26
|
-
"electron-v29.
|
|
27
|
-
"electron-v29.
|
|
28
|
-
"electron-v29.
|
|
29
|
-
"electron-v29.
|
|
30
|
-
"electron-v29.
|
|
31
|
-
"electron-v29.
|
|
32
|
-
"electron-v29.
|
|
33
|
-
"electron-v29.
|
|
34
|
-
"electron-v29.
|
|
35
|
-
"electron-v29.
|
|
36
|
-
"electron-v29.
|
|
37
|
-
"electron-v29.
|
|
38
|
-
"electron-v29.
|
|
39
|
-
"electron-v29.
|
|
40
|
-
"electron-v29.
|
|
41
|
-
"electron-v29.
|
|
42
|
-
"electron-v29.
|
|
43
|
-
"electron-v29.
|
|
44
|
-
"electron-v29.
|
|
45
|
-
"electron-v29.
|
|
46
|
-
"electron-v29.
|
|
47
|
-
"electron-v29.
|
|
48
|
-
"electron-v29.
|
|
49
|
-
"electron-v29.
|
|
50
|
-
"electron.d.ts": "
|
|
51
|
-
"ffmpeg-v29.
|
|
52
|
-
"ffmpeg-v29.
|
|
53
|
-
"ffmpeg-v29.
|
|
54
|
-
"ffmpeg-v29.
|
|
55
|
-
"ffmpeg-v29.
|
|
56
|
-
"ffmpeg-v29.
|
|
57
|
-
"ffmpeg-v29.
|
|
58
|
-
"ffmpeg-v29.
|
|
59
|
-
"ffmpeg-v29.
|
|
60
|
-
"ffmpeg-v29.
|
|
61
|
-
"hunspell_dictionaries.zip": "
|
|
62
|
-
"libcxx-objects-v29.
|
|
63
|
-
"libcxx-objects-v29.
|
|
64
|
-
"libcxx-objects-v29.
|
|
65
|
-
"libcxx_headers.zip": "
|
|
66
|
-
"libcxxabi_headers.zip": "
|
|
67
|
-
"mksnapshot-v29.
|
|
68
|
-
"mksnapshot-v29.
|
|
69
|
-
"mksnapshot-v29.
|
|
70
|
-
"mksnapshot-v29.
|
|
71
|
-
"mksnapshot-v29.
|
|
72
|
-
"mksnapshot-v29.
|
|
73
|
-
"mksnapshot-v29.
|
|
74
|
-
"mksnapshot-v29.
|
|
75
|
-
"mksnapshot-v29.
|
|
76
|
-
"mksnapshot-v29.
|
|
2
|
+
"chromedriver-v29.1.1-darwin-arm64.zip": "1ec7f80b37cbc400c6ad73e7a5967a3f4727027daecac14c86d8c182e047e33c",
|
|
3
|
+
"chromedriver-v29.1.1-darwin-x64.zip": "74ad6a9c785ccd4ab7672a02900e7ada94e815da22a7754e68b86a03628bc869",
|
|
4
|
+
"chromedriver-v29.1.1-linux-arm64.zip": "7dadbb76780d2f422ae6fb8d2bbc6dbfb149a62bb5a3858f802d632431c8eedf",
|
|
5
|
+
"chromedriver-v29.1.1-linux-armv7l.zip": "c1e491a4e1560d15b7e54029cc7d1e94e2354fc4b06e13f9fa9e3df66d2e6e1d",
|
|
6
|
+
"chromedriver-v29.1.1-linux-x64.zip": "95e96d9a4d0614d472c8da033cf5f13dbe2a318aa6b50413f969ae75b03a4c9c",
|
|
7
|
+
"chromedriver-v29.1.1-mas-arm64.zip": "230cb2c8eab2fb26b84fb504e3d74adc1abb90a46d3d37b4999d4865c06f1054",
|
|
8
|
+
"chromedriver-v29.1.1-mas-x64.zip": "f26a71842f0290ac91a0611155392b74c037c4100b01446d05b48362ff0764e5",
|
|
9
|
+
"chromedriver-v29.1.1-win32-arm64.zip": "fad2344ea33604ceae7ae8565bfebcd1164d3b11802ff8a6dac0386884d7e2a8",
|
|
10
|
+
"chromedriver-v29.1.1-win32-ia32.zip": "8f688e31e4f6cb568c0253292c9ae6cacd1820555ffc874101a36897b0745957",
|
|
11
|
+
"chromedriver-v29.1.1-win32-x64.zip": "73f2c0c39898d8a12b1519430c90151e88d8634854746c4c0d43600184988de1",
|
|
12
|
+
"electron-api.json": "2d868cbd765f7614da9dc881de730c16d631ffba2aa6a1ce618b67c8fceb7492",
|
|
13
|
+
"electron-v29.1.1-darwin-arm64-dsym-snapshot.zip": "215c39a349b0c24d1f0f6e98938e12745ce3ce4cf56d2443146772599f5c8a54",
|
|
14
|
+
"electron-v29.1.1-darwin-arm64-dsym.zip": "88601c34aa191b8eeb3e96de403b812dcff01b3c12669a557d6a1a93b11fd0a6",
|
|
15
|
+
"electron-v29.1.1-darwin-arm64-symbols.zip": "03d21777b95c517adef46ac69bb97da68f5bd02f9cc074d980e4d427f44f8330",
|
|
16
|
+
"electron-v29.1.1-darwin-arm64.zip": "584aea22fc600ab6b8c12c939045b6b1aec35ecc1187c3c85678da0af9890f9b",
|
|
17
|
+
"electron-v29.1.1-darwin-x64-dsym-snapshot.zip": "e27b81e7272991cb8cc87b634778e69b45a54d00641eafc834267baf7a2bc6d6",
|
|
18
|
+
"electron-v29.1.1-darwin-x64-dsym.zip": "9e4c4937fd17e8b325c7af26ca5bd1a7cd410b0612d593f18cc4db3e48d90e1c",
|
|
19
|
+
"electron-v29.1.1-darwin-x64-symbols.zip": "087ad7e9ba14b0274d291783d45ebefea597055019e62f6e6c6b1d0cc04a7b81",
|
|
20
|
+
"electron-v29.1.1-darwin-x64.zip": "450e4e4b3e11b31e07225158249fdd96657e157772a1538c8d97cd786e10a58b",
|
|
21
|
+
"electron-v29.1.1-linux-arm64-debug.zip": "3847a838f1d8197477f9d6fc49e77f2e30f65861511a02d514882c154dd2156b",
|
|
22
|
+
"electron-v29.1.1-linux-arm64-symbols.zip": "7df238a34f65da0c0a7ea1606c020d438ced1a57f70af5523cdd8373bd2e7773",
|
|
23
|
+
"electron-v29.1.1-linux-arm64.zip": "0ebdf88157efae50d17a32b18430884c6b9abf6652bd5fc33587db8c991cc18c",
|
|
24
|
+
"electron-v29.1.1-linux-armv7l-debug.zip": "3847a838f1d8197477f9d6fc49e77f2e30f65861511a02d514882c154dd2156b",
|
|
25
|
+
"electron-v29.1.1-linux-armv7l-symbols.zip": "59c356fe65e5e4acb3573ffd92a340bb43d8ead583fdeff9a0daf64873822fe9",
|
|
26
|
+
"electron-v29.1.1-linux-armv7l.zip": "a305ded40a97827d70c9bd574d0335182267d9ce543cbd8b29139e19842a5627",
|
|
27
|
+
"electron-v29.1.1-linux-x64-debug.zip": "0916251b65b9cb14439acfdad4f568ffcd504a46953de32fb74dd9a80e6f4e02",
|
|
28
|
+
"electron-v29.1.1-linux-x64-symbols.zip": "1b65db64961cbbf6c2910c058ba7827ee73a47bb201a6c4e7a72cb4ff8a8bff6",
|
|
29
|
+
"electron-v29.1.1-linux-x64.zip": "608f1a5cccd69e320eaf13b30c32e4dc213f4f046a4f2b000ae9cf530604f32f",
|
|
30
|
+
"electron-v29.1.1-mas-arm64-dsym-snapshot.zip": "6685aef64b5b78ca17c28bd99aca1a6b05fcf7804420babe4f39e9c4b20924b8",
|
|
31
|
+
"electron-v29.1.1-mas-arm64-dsym.zip": "fb4117bf1ca77d7f4e32fc34fcc82dfca262af6088c53d7df2334701f258ba3b",
|
|
32
|
+
"electron-v29.1.1-mas-arm64-symbols.zip": "9c8b4dac13561f967327d9d661528e0c84677fddcab8792771bf64194535e270",
|
|
33
|
+
"electron-v29.1.1-mas-arm64.zip": "e6d3d16b6001da0ab7639b58cb979a5b296c47df807ada286a3f3d72df701be6",
|
|
34
|
+
"electron-v29.1.1-mas-x64-dsym-snapshot.zip": "c07f6f30bad1e2a00c2dc1bafcb4f62e5f55f2f04f6f169f020817e984c4ccbf",
|
|
35
|
+
"electron-v29.1.1-mas-x64-dsym.zip": "23c241f98b92d3c6f9176a3203ca552b3ccd452aa24ed26aa7022c5082b139bf",
|
|
36
|
+
"electron-v29.1.1-mas-x64-symbols.zip": "785fec85b10b361fc22e3e4df24fa732902db7fdc802f3f327e91d7305afaf04",
|
|
37
|
+
"electron-v29.1.1-mas-x64.zip": "f857dbd7e078160be8cb4bc80f967efe54004e5b07254dc0803b209f9d68585a",
|
|
38
|
+
"electron-v29.1.1-win32-arm64-pdb.zip": "8b556f1e59943e8482837b2eb064053f3cfad9a4b67d32133948f5978aab993b",
|
|
39
|
+
"electron-v29.1.1-win32-arm64-symbols.zip": "5edaa38c92ebb2d4d6fa4f1c8819f05ff19d5ed9e66c5af5b4199a09a3894e35",
|
|
40
|
+
"electron-v29.1.1-win32-arm64-toolchain-profile.zip": "c9f31ae6408aa6936b5d683eda601773789185890375cd097e61e924d4fed77a",
|
|
41
|
+
"electron-v29.1.1-win32-arm64.zip": "14a32a6bc1fda9a91eb90294a2a979c76f22025d7dc24d4e4a6e7f2639dc4a06",
|
|
42
|
+
"electron-v29.1.1-win32-ia32-pdb.zip": "6e3380035bfc62860980be9614161a6a592fa8864c02fe460646ee68980ea9f9",
|
|
43
|
+
"electron-v29.1.1-win32-ia32-symbols.zip": "5d2a97bd9e4f07f99dc0dc7cfc7b7077d48d54eb4c12fca7b312162b87fdb6d0",
|
|
44
|
+
"electron-v29.1.1-win32-ia32-toolchain-profile.zip": "c9f31ae6408aa6936b5d683eda601773789185890375cd097e61e924d4fed77a",
|
|
45
|
+
"electron-v29.1.1-win32-ia32.zip": "0b2d5b1a92239767c53c92728ccff703d16b907583649935d2c26cd768964189",
|
|
46
|
+
"electron-v29.1.1-win32-x64-pdb.zip": "118e25c00330d5e7be28c1b37e66d8cb73f79995af994c24859a5e9e28482bd9",
|
|
47
|
+
"electron-v29.1.1-win32-x64-symbols.zip": "355c38db36593621b93e877ec5b77d041cdf9b8f56ba56729a4e6ad0e3b021a0",
|
|
48
|
+
"electron-v29.1.1-win32-x64-toolchain-profile.zip": "c9f31ae6408aa6936b5d683eda601773789185890375cd097e61e924d4fed77a",
|
|
49
|
+
"electron-v29.1.1-win32-x64.zip": "0b3feda0720ae45f0b908752fe417a0d0ae5945833a6e095d15483a65ba73966",
|
|
50
|
+
"electron.d.ts": "d2a4c851953a40644fbf912a1beb7f259b34c51c279a27e4af9da99b8ca307ae",
|
|
51
|
+
"ffmpeg-v29.1.1-darwin-arm64.zip": "859c85655762ce7a7ad6cdf6f1d98ada5fe56e45c23933c6ed67afb57bb3d1b4",
|
|
52
|
+
"ffmpeg-v29.1.1-darwin-x64.zip": "8750e57fb714f718dd99fbf433fda432ca9c4a20d709f55d2a8f6f453c7050a3",
|
|
53
|
+
"ffmpeg-v29.1.1-linux-arm64.zip": "4e2ba537d7c131abbd34168bce2c28cc9ef6262b217d5f4085afccfdf9635da6",
|
|
54
|
+
"ffmpeg-v29.1.1-linux-armv7l.zip": "4aa56ad5d849f4e61af22678a179346b68aec9100282e1b8a43df25d95721677",
|
|
55
|
+
"ffmpeg-v29.1.1-linux-x64.zip": "0558e6e1f78229d303e16d4d8c290794baa9adc619fdd2ddccadb3ea241a1df4",
|
|
56
|
+
"ffmpeg-v29.1.1-mas-arm64.zip": "cfce4c2c13908fce90684be173886519bb32fb620c2bad9d03d730dc4dd5d811",
|
|
57
|
+
"ffmpeg-v29.1.1-mas-x64.zip": "5a36af921fc5523b7b7d3fa256fda4f55d47ee39b63640c6a04abe1808496c6f",
|
|
58
|
+
"ffmpeg-v29.1.1-win32-arm64.zip": "c310e0c887078ebb25dac02c5a975060d42e9ac57b9d4976ebaacfde7bf8eb1c",
|
|
59
|
+
"ffmpeg-v29.1.1-win32-ia32.zip": "51d04bb39558431aad827670468b06767908801f46ac9c9a0b4dd591f210fd7b",
|
|
60
|
+
"ffmpeg-v29.1.1-win32-x64.zip": "4d6bf3b24b13269f510c29495fc4adee02e57d4a87195f235070099b7c1bea25",
|
|
61
|
+
"hunspell_dictionaries.zip": "b3cf4e657fd73a02be6f8b54612cf5f89a31d0d8a23a1a1f299f2b5f35ceb751",
|
|
62
|
+
"libcxx-objects-v29.1.1-linux-arm64.zip": "2bb2c19768c8f2b3717996ac917d0adb7ba133a6a6c0b0954904fc0b0999b712",
|
|
63
|
+
"libcxx-objects-v29.1.1-linux-armv7l.zip": "75a619946e4e72068ec275913ce64e9ca15e4bfa55b4a1cdf54b33ad6ae41baa",
|
|
64
|
+
"libcxx-objects-v29.1.1-linux-x64.zip": "7a25111a1aeb9918b1be699480f06d889686fd03f2743fcf5705ae57a2934b40",
|
|
65
|
+
"libcxx_headers.zip": "381776be23291dd86a02e463523cf9ff918100383ae031e4330ddc9a4e609261",
|
|
66
|
+
"libcxxabi_headers.zip": "e1b3450833f27e856a1a201590421eca06f06cc7a894c3a43ba20b1322b7bf4c",
|
|
67
|
+
"mksnapshot-v29.1.1-darwin-arm64.zip": "d13f0d67fcfa6891a8e0c2dd2c0f2a1490a8f40f5993ba4fe99ad30d8fd2ec57",
|
|
68
|
+
"mksnapshot-v29.1.1-darwin-x64.zip": "9b3c0dfc5cf6bfd934e5f388edf7571af65b5c2244ccd3b345f2180cfa23737f",
|
|
69
|
+
"mksnapshot-v29.1.1-linux-arm64-x64.zip": "709c1a2111aaca228163d8889fdd65afef8100eee1d147e528af680b15b9285e",
|
|
70
|
+
"mksnapshot-v29.1.1-linux-armv7l-x64.zip": "741b222a0ef62278de5737eeb0a1eac8e97dcc0a9da7e1668950ad9de2618b4f",
|
|
71
|
+
"mksnapshot-v29.1.1-linux-x64.zip": "9fc74a87e9f0fb1ca692bb31ccddc5ca1f14531ec7b06f5480bddb7a40a7a967",
|
|
72
|
+
"mksnapshot-v29.1.1-mas-arm64.zip": "08676a1ef191fb1aceb5c8156456090f4ec605b23d86ac186f8f3246ab9ca60a",
|
|
73
|
+
"mksnapshot-v29.1.1-mas-x64.zip": "44c4b956a21b513cab6fbc54ec0d47510662dddabf35bc1471d5f7eaa0e48070",
|
|
74
|
+
"mksnapshot-v29.1.1-win32-arm64-x64.zip": "7547f2df702cfb2de8bcbb32ea356a75ef43e2c6586206835725951c0e9363e2",
|
|
75
|
+
"mksnapshot-v29.1.1-win32-ia32.zip": "94c9a95a76bae1a884e43faa109b5100877ebb6617bb67bca4dd1a444b7184d8",
|
|
76
|
+
"mksnapshot-v29.1.1-win32-x64.zip": "2e7f5d194d0459d848af444e18ef6e9cef5e384fe8421d32716b11f19acdf317"
|
|
77
77
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 29.
|
|
1
|
+
// Type definitions for Electron 29.1.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/typescript-definitions
|
|
@@ -1470,6 +1470,11 @@ declare namespace Electron {
|
|
|
1470
1470
|
* @platform darwin
|
|
1471
1471
|
*/
|
|
1472
1472
|
resignCurrentActivity(): void;
|
|
1473
|
+
/**
|
|
1474
|
+
* Resolves with the proxy information for `url` that will be used when attempting
|
|
1475
|
+
* to make requests using Net in the utility process.
|
|
1476
|
+
*/
|
|
1477
|
+
resolveProxy(url: string): Promise<string>;
|
|
1473
1478
|
/**
|
|
1474
1479
|
* Set the about panel options. This will override the values defined in the app's
|
|
1475
1480
|
* `.plist` file on macOS. See the Apple docs for more details. On Linux, values
|
|
@@ -1639,6 +1644,7 @@ declare namespace Electron {
|
|
|
1639
1644
|
* `sessionData` path before the `ready` event of the `app` module is emitted.
|
|
1640
1645
|
*/
|
|
1641
1646
|
setPath(name: string, path: string): void;
|
|
1647
|
+
setProxy(config: ProxyConfig): void;
|
|
1642
1648
|
/**
|
|
1643
1649
|
* Set the `Secure Keyboard Entry` is enabled in your application.
|
|
1644
1650
|
*
|
|
@@ -8275,6 +8281,30 @@ declare namespace Electron {
|
|
|
8275
8281
|
data: (string) | (Buffer);
|
|
8276
8282
|
}
|
|
8277
8283
|
|
|
8284
|
+
interface ProxyConfig {
|
|
8285
|
+
|
|
8286
|
+
// Docs: https://electronjs.org/docs/api/structures/proxy-config
|
|
8287
|
+
|
|
8288
|
+
/**
|
|
8289
|
+
* The proxy mode. Should be one of `direct`, `auto_detect`, `pac_script`,
|
|
8290
|
+
* `fixed_servers` or `system`. Defaults to `pac_script` proxy mode if `pacScript`
|
|
8291
|
+
* option is specified otherwise defaults to `fixed_servers`.
|
|
8292
|
+
*/
|
|
8293
|
+
mode?: ('direct' | 'auto_detect' | 'pac_script' | 'fixed_servers' | 'system');
|
|
8294
|
+
/**
|
|
8295
|
+
* The URL associated with the PAC file.
|
|
8296
|
+
*/
|
|
8297
|
+
pacScript?: string;
|
|
8298
|
+
/**
|
|
8299
|
+
* Rules indicating which URLs should bypass the proxy settings.
|
|
8300
|
+
*/
|
|
8301
|
+
proxyBypassRules?: string;
|
|
8302
|
+
/**
|
|
8303
|
+
* Rules indicating which proxies to use.
|
|
8304
|
+
*/
|
|
8305
|
+
proxyRules?: string;
|
|
8306
|
+
}
|
|
8307
|
+
|
|
8278
8308
|
interface PushNotifications extends NodeJS.EventEmitter {
|
|
8279
8309
|
|
|
8280
8310
|
// Docs: https://electronjs.org/docs/api/push-notifications
|
|
@@ -9555,60 +9585,11 @@ declare namespace Electron {
|
|
|
9555
9585
|
*
|
|
9556
9586
|
* Sets the proxy settings.
|
|
9557
9587
|
*
|
|
9558
|
-
* When `mode` is unspecified, `pacScript` and `proxyRules` are provided together,
|
|
9559
|
-
* the `proxyRules` option is ignored and `pacScript` configuration is applied.
|
|
9560
|
-
*
|
|
9561
9588
|
* You may need `ses.closeAllConnections` to close currently in flight connections
|
|
9562
9589
|
* to prevent pooled sockets using previous proxy from being reused by future
|
|
9563
9590
|
* requests.
|
|
9564
|
-
*
|
|
9565
|
-
* The `proxyRules` has to follow the rules below:
|
|
9566
|
-
*
|
|
9567
|
-
* For example:
|
|
9568
|
-
*
|
|
9569
|
-
* * `http=foopy:80;ftp=foopy2` - Use HTTP proxy `foopy:80` for `http://` URLs, and
|
|
9570
|
-
* HTTP proxy `foopy2:80` for `ftp://` URLs.
|
|
9571
|
-
* * `foopy:80` - Use HTTP proxy `foopy:80` for all URLs.
|
|
9572
|
-
* * `foopy:80,bar,direct://` - Use HTTP proxy `foopy:80` for all URLs, failing
|
|
9573
|
-
* over to `bar` if `foopy:80` is unavailable, and after that using no proxy.
|
|
9574
|
-
* * `socks4://foopy` - Use SOCKS v4 proxy `foopy:1080` for all URLs.
|
|
9575
|
-
* * `http=foopy,socks5://bar.com` - Use HTTP proxy `foopy` for http URLs, and fail
|
|
9576
|
-
* over to the SOCKS5 proxy `bar.com` if `foopy` is unavailable.
|
|
9577
|
-
* * `http=foopy,direct://` - Use HTTP proxy `foopy` for http URLs, and use no
|
|
9578
|
-
* proxy if `foopy` is unavailable.
|
|
9579
|
-
* * `http=foopy;socks=foopy2` - Use HTTP proxy `foopy` for http URLs, and use
|
|
9580
|
-
* `socks4://foopy2` for all other URLs.
|
|
9581
|
-
*
|
|
9582
|
-
* The `proxyBypassRules` is a comma separated list of rules described below:
|
|
9583
|
-
*
|
|
9584
|
-
* * `[ URL_SCHEME "://" ] HOSTNAME_PATTERN [ ":" <port> ]`
|
|
9585
|
-
*
|
|
9586
|
-
* Match all hostnames that match the pattern HOSTNAME_PATTERN.
|
|
9587
|
-
*
|
|
9588
|
-
* Examples: "foobar.com", "*foobar.com", "*.foobar.com", "*foobar.com:99",
|
|
9589
|
-
* "https://x.*.y.com:99"
|
|
9590
|
-
* * `"." HOSTNAME_SUFFIX_PATTERN [ ":" PORT ]`
|
|
9591
|
-
*
|
|
9592
|
-
* Match a particular domain suffix.
|
|
9593
|
-
*
|
|
9594
|
-
* Examples: ".google.com", ".com", "http://.google.com"
|
|
9595
|
-
* * `[ SCHEME "://" ] IP_LITERAL [ ":" PORT ]`
|
|
9596
|
-
*
|
|
9597
|
-
* Match URLs which are IP address literals.
|
|
9598
|
-
*
|
|
9599
|
-
* Examples: "127.0.1", "[0:0::1]", "[::1]", "http://[::1]:99"
|
|
9600
|
-
* * `IP_LITERAL "/" PREFIX_LENGTH_IN_BITS`
|
|
9601
|
-
*
|
|
9602
|
-
* Match any URL that is to an IP literal that falls between the given range. IP
|
|
9603
|
-
* range is specified using CIDR notation.
|
|
9604
|
-
*
|
|
9605
|
-
* Examples: "192.168.1.1/16", "fefe:13::abc/33".
|
|
9606
|
-
* * `<local>`
|
|
9607
|
-
*
|
|
9608
|
-
* Match local addresses. The meaning of `<local>` is whether the host matches one
|
|
9609
|
-
* of: "127.0.0.1", "::1", "localhost".
|
|
9610
9591
|
*/
|
|
9611
|
-
setProxy(config:
|
|
9592
|
+
setProxy(config: ProxyConfig): Promise<void>;
|
|
9612
9593
|
/**
|
|
9613
9594
|
* By default Electron will download hunspell dictionaries from the Chromium CDN.
|
|
9614
9595
|
* If you want to override this behavior you can use this API to point the
|
|
@@ -9651,7 +9632,7 @@ declare namespace Electron {
|
|
|
9651
9632
|
* connections) will not be terminated, but old sockets in the pool will not be
|
|
9652
9633
|
* reused for new connections.
|
|
9653
9634
|
*/
|
|
9654
|
-
setSSLConfig(config:
|
|
9635
|
+
setSSLConfig(config: Config): void;
|
|
9655
9636
|
/**
|
|
9656
9637
|
* Sets the handler which can be used to override which USB classes are protected.
|
|
9657
9638
|
* The return value for the handler is a string array of USB classes which should
|
|
@@ -15981,23 +15962,25 @@ declare namespace Electron {
|
|
|
15981
15962
|
|
|
15982
15963
|
interface Config {
|
|
15983
15964
|
/**
|
|
15984
|
-
*
|
|
15985
|
-
*
|
|
15986
|
-
* determined based on other specified options.
|
|
15987
|
-
*/
|
|
15988
|
-
mode?: ('direct' | 'auto_detect' | 'pac_script' | 'fixed_servers' | 'system');
|
|
15989
|
-
/**
|
|
15990
|
-
* The URL associated with the PAC file.
|
|
15965
|
+
* Can be `tls1`, `tls1.1`, `tls1.2` or `tls1.3`. The minimum SSL version to allow
|
|
15966
|
+
* when connecting to remote servers. Defaults to `tls1`.
|
|
15991
15967
|
*/
|
|
15992
|
-
|
|
15968
|
+
minVersion?: ('tls1' | 'tls1.1' | 'tls1.2' | 'tls1.3');
|
|
15993
15969
|
/**
|
|
15994
|
-
*
|
|
15970
|
+
* Can be `tls1.2` or `tls1.3`. The maximum SSL version to allow when connecting to
|
|
15971
|
+
* remote servers. Defaults to `tls1.3`.
|
|
15995
15972
|
*/
|
|
15996
|
-
|
|
15973
|
+
maxVersion?: ('tls1.2' | 'tls1.3');
|
|
15997
15974
|
/**
|
|
15998
|
-
*
|
|
15975
|
+
* List of cipher suites which should be explicitly prevented from being used in
|
|
15976
|
+
* addition to those disabled by the net built-in policy. Supported literal forms:
|
|
15977
|
+
* 0xAABB, where AA is `cipher_suite[0]` and BB is `cipher_suite[1]`, as defined in
|
|
15978
|
+
* RFC 2246, Section 7.4.1.2. Unrecognized but parsable cipher suites in this form
|
|
15979
|
+
* will not return an error. Ex: To disable TLS_RSA_WITH_RC4_128_MD5, specify
|
|
15980
|
+
* 0x0004, while to disable TLS_ECDH_ECDSA_WITH_RC4_128_SHA, specify 0xC002. Note
|
|
15981
|
+
* that TLSv1.3 ciphers cannot be disabled using this mechanism.
|
|
15999
15982
|
*/
|
|
16000
|
-
|
|
15983
|
+
disabledCipherSuites?: number[];
|
|
16001
15984
|
}
|
|
16002
15985
|
|
|
16003
15986
|
interface ConfigureHostResolverOptions {
|
|
@@ -18381,29 +18364,6 @@ declare namespace Electron {
|
|
|
18381
18364
|
fetchWindowIcons?: boolean;
|
|
18382
18365
|
}
|
|
18383
18366
|
|
|
18384
|
-
interface SSLConfigConfig {
|
|
18385
|
-
/**
|
|
18386
|
-
* Can be `tls1`, `tls1.1`, `tls1.2` or `tls1.3`. The minimum SSL version to allow
|
|
18387
|
-
* when connecting to remote servers. Defaults to `tls1`.
|
|
18388
|
-
*/
|
|
18389
|
-
minVersion?: ('tls1' | 'tls1.1' | 'tls1.2' | 'tls1.3');
|
|
18390
|
-
/**
|
|
18391
|
-
* Can be `tls1.2` or `tls1.3`. The maximum SSL version to allow when connecting to
|
|
18392
|
-
* remote servers. Defaults to `tls1.3`.
|
|
18393
|
-
*/
|
|
18394
|
-
maxVersion?: ('tls1.2' | 'tls1.3');
|
|
18395
|
-
/**
|
|
18396
|
-
* List of cipher suites which should be explicitly prevented from being used in
|
|
18397
|
-
* addition to those disabled by the net built-in policy. Supported literal forms:
|
|
18398
|
-
* 0xAABB, where AA is `cipher_suite[0]` and BB is `cipher_suite[1]`, as defined in
|
|
18399
|
-
* RFC 2246, Section 7.4.1.2. Unrecognized but parsable cipher suites in this form
|
|
18400
|
-
* will not return an error. Ex: To disable TLS_RSA_WITH_RC4_128_MD5, specify
|
|
18401
|
-
* 0x0004, while to disable TLS_ECDH_ECDSA_WITH_RC4_128_SHA, specify 0xC002. Note
|
|
18402
|
-
* that TLSv1.3 ciphers cannot be disabled using this mechanism.
|
|
18403
|
-
*/
|
|
18404
|
-
disabledCipherSuites?: number[];
|
|
18405
|
-
}
|
|
18406
|
-
|
|
18407
18367
|
interface StartLoggingOptions {
|
|
18408
18368
|
/**
|
|
18409
18369
|
* What kinds of data should be captured. By default, only metadata about requests
|
|
@@ -19545,7 +19505,6 @@ declare namespace Electron {
|
|
|
19545
19505
|
type SerialPortRevokedDetails = Electron.SerialPortRevokedDetails;
|
|
19546
19506
|
type Settings = Electron.Settings;
|
|
19547
19507
|
type SourcesOptions = Electron.SourcesOptions;
|
|
19548
|
-
type SSLConfigConfig = Electron.SSLConfigConfig;
|
|
19549
19508
|
type StartLoggingOptions = Electron.StartLoggingOptions;
|
|
19550
19509
|
type Streams = Electron.Streams;
|
|
19551
19510
|
type SystemMemoryInfo = Electron.SystemMemoryInfo;
|
|
@@ -19636,6 +19595,7 @@ declare namespace Electron {
|
|
|
19636
19595
|
type ProtocolRequest = Electron.ProtocolRequest;
|
|
19637
19596
|
type ProtocolResponse = Electron.ProtocolResponse;
|
|
19638
19597
|
type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
|
|
19598
|
+
type ProxyConfig = Electron.ProxyConfig;
|
|
19639
19599
|
type Rectangle = Electron.Rectangle;
|
|
19640
19600
|
type Referrer = Electron.Referrer;
|
|
19641
19601
|
type RenderProcessGoneDetails = Electron.RenderProcessGoneDetails;
|
|
@@ -19873,7 +19833,6 @@ declare namespace Electron {
|
|
|
19873
19833
|
type SerialPortRevokedDetails = Electron.SerialPortRevokedDetails;
|
|
19874
19834
|
type Settings = Electron.Settings;
|
|
19875
19835
|
type SourcesOptions = Electron.SourcesOptions;
|
|
19876
|
-
type SSLConfigConfig = Electron.SSLConfigConfig;
|
|
19877
19836
|
type StartLoggingOptions = Electron.StartLoggingOptions;
|
|
19878
19837
|
type Streams = Electron.Streams;
|
|
19879
19838
|
type SystemMemoryInfo = Electron.SystemMemoryInfo;
|
|
@@ -19964,6 +19923,7 @@ declare namespace Electron {
|
|
|
19964
19923
|
type ProtocolRequest = Electron.ProtocolRequest;
|
|
19965
19924
|
type ProtocolResponse = Electron.ProtocolResponse;
|
|
19966
19925
|
type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
|
|
19926
|
+
type ProxyConfig = Electron.ProxyConfig;
|
|
19967
19927
|
type Rectangle = Electron.Rectangle;
|
|
19968
19928
|
type Referrer = Electron.Referrer;
|
|
19969
19929
|
type RenderProcessGoneDetails = Electron.RenderProcessGoneDetails;
|
|
@@ -20137,7 +20097,6 @@ declare namespace Electron {
|
|
|
20137
20097
|
type SerialPortRevokedDetails = Electron.SerialPortRevokedDetails;
|
|
20138
20098
|
type Settings = Electron.Settings;
|
|
20139
20099
|
type SourcesOptions = Electron.SourcesOptions;
|
|
20140
|
-
type SSLConfigConfig = Electron.SSLConfigConfig;
|
|
20141
20100
|
type StartLoggingOptions = Electron.StartLoggingOptions;
|
|
20142
20101
|
type Streams = Electron.Streams;
|
|
20143
20102
|
type SystemMemoryInfo = Electron.SystemMemoryInfo;
|
|
@@ -20228,6 +20187,7 @@ declare namespace Electron {
|
|
|
20228
20187
|
type ProtocolRequest = Electron.ProtocolRequest;
|
|
20229
20188
|
type ProtocolResponse = Electron.ProtocolResponse;
|
|
20230
20189
|
type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
|
|
20190
|
+
type ProxyConfig = Electron.ProxyConfig;
|
|
20231
20191
|
type Rectangle = Electron.Rectangle;
|
|
20232
20192
|
type Referrer = Electron.Referrer;
|
|
20233
20193
|
type RenderProcessGoneDetails = Electron.RenderProcessGoneDetails;
|
|
@@ -20396,7 +20356,6 @@ declare namespace Electron {
|
|
|
20396
20356
|
type SerialPortRevokedDetails = Electron.SerialPortRevokedDetails;
|
|
20397
20357
|
type Settings = Electron.Settings;
|
|
20398
20358
|
type SourcesOptions = Electron.SourcesOptions;
|
|
20399
|
-
type SSLConfigConfig = Electron.SSLConfigConfig;
|
|
20400
20359
|
type StartLoggingOptions = Electron.StartLoggingOptions;
|
|
20401
20360
|
type Streams = Electron.Streams;
|
|
20402
20361
|
type SystemMemoryInfo = Electron.SystemMemoryInfo;
|
|
@@ -20487,6 +20446,7 @@ declare namespace Electron {
|
|
|
20487
20446
|
type ProtocolRequest = Electron.ProtocolRequest;
|
|
20488
20447
|
type ProtocolResponse = Electron.ProtocolResponse;
|
|
20489
20448
|
type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
|
|
20449
|
+
type ProxyConfig = Electron.ProxyConfig;
|
|
20490
20450
|
type Rectangle = Electron.Rectangle;
|
|
20491
20451
|
type Referrer = Electron.Referrer;
|
|
20492
20452
|
type RenderProcessGoneDetails = Electron.RenderProcessGoneDetails;
|
|
@@ -20741,7 +20701,6 @@ declare namespace Electron {
|
|
|
20741
20701
|
type SerialPortRevokedDetails = Electron.SerialPortRevokedDetails;
|
|
20742
20702
|
type Settings = Electron.Settings;
|
|
20743
20703
|
type SourcesOptions = Electron.SourcesOptions;
|
|
20744
|
-
type SSLConfigConfig = Electron.SSLConfigConfig;
|
|
20745
20704
|
type StartLoggingOptions = Electron.StartLoggingOptions;
|
|
20746
20705
|
type Streams = Electron.Streams;
|
|
20747
20706
|
type SystemMemoryInfo = Electron.SystemMemoryInfo;
|
|
@@ -20832,6 +20791,7 @@ declare namespace Electron {
|
|
|
20832
20791
|
type ProtocolRequest = Electron.ProtocolRequest;
|
|
20833
20792
|
type ProtocolResponse = Electron.ProtocolResponse;
|
|
20834
20793
|
type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
|
|
20794
|
+
type ProxyConfig = Electron.ProxyConfig;
|
|
20835
20795
|
type Rectangle = Electron.Rectangle;
|
|
20836
20796
|
type Referrer = Electron.Referrer;
|
|
20837
20797
|
type RenderProcessGoneDetails = Electron.RenderProcessGoneDetails;
|
package/package.json
CHANGED