electron 28.2.9 → 28.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/checksums.json +75 -75
- package/electron.d.ts +56 -92
- package/package.json +1 -1
package/checksums.json
CHANGED
|
@@ -1,77 +1,77 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-v28.
|
|
3
|
-
"chromedriver-v28.
|
|
4
|
-
"chromedriver-v28.
|
|
5
|
-
"chromedriver-v28.
|
|
6
|
-
"chromedriver-v28.
|
|
7
|
-
"chromedriver-v28.
|
|
8
|
-
"chromedriver-v28.
|
|
9
|
-
"chromedriver-v28.
|
|
10
|
-
"chromedriver-v28.
|
|
11
|
-
"chromedriver-v28.
|
|
12
|
-
"electron-api.json": "
|
|
13
|
-
"electron-v28.
|
|
14
|
-
"electron-v28.
|
|
15
|
-
"electron-v28.
|
|
16
|
-
"electron-v28.
|
|
17
|
-
"electron-v28.
|
|
18
|
-
"electron-v28.
|
|
19
|
-
"electron-v28.
|
|
20
|
-
"electron-v28.
|
|
21
|
-
"electron-v28.
|
|
22
|
-
"electron-v28.
|
|
23
|
-
"electron-v28.
|
|
24
|
-
"electron-v28.
|
|
25
|
-
"electron-v28.
|
|
26
|
-
"electron-v28.
|
|
27
|
-
"electron-v28.
|
|
28
|
-
"electron-v28.
|
|
29
|
-
"electron-v28.
|
|
30
|
-
"electron-v28.
|
|
31
|
-
"electron-v28.
|
|
32
|
-
"electron-v28.
|
|
33
|
-
"electron-v28.
|
|
34
|
-
"electron-v28.
|
|
35
|
-
"electron-v28.
|
|
36
|
-
"electron-v28.
|
|
37
|
-
"electron-v28.
|
|
38
|
-
"electron-v28.
|
|
39
|
-
"electron-v28.
|
|
40
|
-
"electron-v28.
|
|
41
|
-
"electron-v28.
|
|
42
|
-
"electron-v28.
|
|
43
|
-
"electron-v28.
|
|
44
|
-
"electron-v28.
|
|
45
|
-
"electron-v28.
|
|
46
|
-
"electron-v28.
|
|
47
|
-
"electron-v28.
|
|
48
|
-
"electron-v28.
|
|
49
|
-
"electron-v28.
|
|
50
|
-
"electron.d.ts": "
|
|
51
|
-
"ffmpeg-v28.
|
|
52
|
-
"ffmpeg-v28.
|
|
53
|
-
"ffmpeg-v28.
|
|
54
|
-
"ffmpeg-v28.
|
|
55
|
-
"ffmpeg-v28.
|
|
56
|
-
"ffmpeg-v28.
|
|
57
|
-
"ffmpeg-v28.
|
|
58
|
-
"ffmpeg-v28.
|
|
59
|
-
"ffmpeg-v28.
|
|
60
|
-
"ffmpeg-v28.
|
|
61
|
-
"hunspell_dictionaries.zip": "
|
|
62
|
-
"libcxx-objects-v28.
|
|
63
|
-
"libcxx-objects-v28.
|
|
64
|
-
"libcxx-objects-v28.
|
|
65
|
-
"libcxx_headers.zip": "
|
|
66
|
-
"libcxxabi_headers.zip": "
|
|
67
|
-
"mksnapshot-v28.
|
|
68
|
-
"mksnapshot-v28.
|
|
69
|
-
"mksnapshot-v28.
|
|
70
|
-
"mksnapshot-v28.
|
|
71
|
-
"mksnapshot-v28.
|
|
72
|
-
"mksnapshot-v28.
|
|
73
|
-
"mksnapshot-v28.
|
|
74
|
-
"mksnapshot-v28.
|
|
75
|
-
"mksnapshot-v28.
|
|
76
|
-
"mksnapshot-v28.
|
|
2
|
+
"chromedriver-v28.3.0-darwin-arm64.zip": "89678d6839d7525e0cd3cf979cf5aa644e7f776c547b98181025f9a0ff1a9648",
|
|
3
|
+
"chromedriver-v28.3.0-darwin-x64.zip": "f6eaa943886d05c1bda6150b6154d3971343e0b13ccdae9de78f497735cc02b7",
|
|
4
|
+
"chromedriver-v28.3.0-linux-arm64.zip": "6b10fbb8b17ee915c00e6ca8f64fe29a7d59f9add7107711b8e85918264c3f4e",
|
|
5
|
+
"chromedriver-v28.3.0-linux-armv7l.zip": "8154032cd235d3232e80590e9614c5945e136deefda47b3d0d6f19d2f2c75087",
|
|
6
|
+
"chromedriver-v28.3.0-linux-x64.zip": "ac15389b3bc3b18d5be3ba7ab8687d99cd29f82ef8870f6b1054cb66bda8218a",
|
|
7
|
+
"chromedriver-v28.3.0-mas-arm64.zip": "d4e1309801ea6d7c2483971d70fa68ac4b471a01381d788dcafce8a6920fb19c",
|
|
8
|
+
"chromedriver-v28.3.0-mas-x64.zip": "01f18342a30519bc310670ad076e9769f5e1c7345ebe1490b9bd4c718d24e813",
|
|
9
|
+
"chromedriver-v28.3.0-win32-arm64.zip": "cbc3a344a993c21e12aebb926251c06756fa9b0c23fee3911d2ad6af88a68cac",
|
|
10
|
+
"chromedriver-v28.3.0-win32-ia32.zip": "4c58c054a0b32203d597d51c45285cb57763d0767cc36fb0849f222b7e7cccf9",
|
|
11
|
+
"chromedriver-v28.3.0-win32-x64.zip": "9c6aa153b00b440003640aefa0c2c2aa47bf86a0c93754c86051f033047dbf66",
|
|
12
|
+
"electron-api.json": "193f5406e65ade5e24cff547ffd9a355e1a8d3366c304c0b9f2e759b80cb9aa9",
|
|
13
|
+
"electron-v28.3.0-darwin-arm64-dsym-snapshot.zip": "f3ce7d2e0bd813e46e37f1bac8d2d4968f141be1708790a97d346dc2df544d95",
|
|
14
|
+
"electron-v28.3.0-darwin-arm64-dsym.zip": "c09bf14ecb283b49567aa93a1516d6047966ec038663283819b614b9db34520f",
|
|
15
|
+
"electron-v28.3.0-darwin-arm64-symbols.zip": "c2343cd5f3d1ae265767ecd50a7328ef0c7739fe1964a50abcba5c6b4ccf86c6",
|
|
16
|
+
"electron-v28.3.0-darwin-arm64.zip": "a0eb07c006b593be8f76f7f6ad7cb8ac619ec173d341ad4c3ca5e52b38dab8b8",
|
|
17
|
+
"electron-v28.3.0-darwin-x64-dsym-snapshot.zip": "a99b3c9d9e0462ef2286a92c3e9937a8d0e887a3f62910a41a8e66cb9220b562",
|
|
18
|
+
"electron-v28.3.0-darwin-x64-dsym.zip": "677d2bcb8e62b2af6c92f5ffe7f79d6f41451b79914502a30104c6b5eb3e2e38",
|
|
19
|
+
"electron-v28.3.0-darwin-x64-symbols.zip": "bddf6353e7d2d32afbbddf249c2e978e200a8882e91b5955ba0ca678c19b65b3",
|
|
20
|
+
"electron-v28.3.0-darwin-x64.zip": "7d6a0f6a7ec606d1caa0e63a99e4c6103a3fedb6e05735f81a03aa8da099a420",
|
|
21
|
+
"electron-v28.3.0-linux-arm64-debug.zip": "134b3b885a071010d8f82f98c011a534322f1a11491505b0c0de452c71edbff1",
|
|
22
|
+
"electron-v28.3.0-linux-arm64-symbols.zip": "c1d7130aeef0013fb050af25053e1b0d20df161258be9d469627e0a15b92edb8",
|
|
23
|
+
"electron-v28.3.0-linux-arm64.zip": "9ec29245bcbbd0007029b4a3f7976b209968dbaa6443406afbf208b1a5abf094",
|
|
24
|
+
"electron-v28.3.0-linux-armv7l-debug.zip": "134b3b885a071010d8f82f98c011a534322f1a11491505b0c0de452c71edbff1",
|
|
25
|
+
"electron-v28.3.0-linux-armv7l-symbols.zip": "dd59ce42da90abeffc90764ac2026580f3ceac7ec91116bff30813fe6d7aebdc",
|
|
26
|
+
"electron-v28.3.0-linux-armv7l.zip": "aa74e7240929ebfa817d03e025e117f7a0600c99e6ad9bc339eaf22b0144a71c",
|
|
27
|
+
"electron-v28.3.0-linux-x64-debug.zip": "903d93b93f9164db34fe3510f77d4ef70389f0f37b1eaaaf2181a076c4e45621",
|
|
28
|
+
"electron-v28.3.0-linux-x64-symbols.zip": "2a217ab7dde5d42c410cd8a3a391b588f672b118e021ead7342a66583778a1c7",
|
|
29
|
+
"electron-v28.3.0-linux-x64.zip": "e5003391ffc5161f6d9987ed29fa97532142544326f15fbf90ee43daabeba639",
|
|
30
|
+
"electron-v28.3.0-mas-arm64-dsym-snapshot.zip": "0ac54e78dc10b033a52a3108cc61782edf103fd5a9414f686f9ce348eed96b72",
|
|
31
|
+
"electron-v28.3.0-mas-arm64-dsym.zip": "96d38afe415220ba1ea7dbe60feedbbca3c9806a61ff55d56a39395e7154058a",
|
|
32
|
+
"electron-v28.3.0-mas-arm64-symbols.zip": "615020adc2e62352eefd9fb296b161f8ad604fce141ff6f2b0095ff69166ca53",
|
|
33
|
+
"electron-v28.3.0-mas-arm64.zip": "5c09d9d06affaba88f829a8f4f2ecee99c3d46d35b4420ee67c3bdc1cabd6337",
|
|
34
|
+
"electron-v28.3.0-mas-x64-dsym-snapshot.zip": "0d4426451d3bc069d3d87f0913e0008c3e3563c433270260723baabfbd0de5fb",
|
|
35
|
+
"electron-v28.3.0-mas-x64-dsym.zip": "7378d907d3b5dde7faa6e44d1119e79d49f06724da39025594d537166e8e9412",
|
|
36
|
+
"electron-v28.3.0-mas-x64-symbols.zip": "2bc22b8b5b03eb719581f6c8d63be00faad0c6edd768f29899b7f885c1a4c802",
|
|
37
|
+
"electron-v28.3.0-mas-x64.zip": "93652c0ea19f218f9f7e6af5f3a9edd8b94427cfeb400ded576c01664311f900",
|
|
38
|
+
"electron-v28.3.0-win32-arm64-pdb.zip": "0fc450ad8771256d004d7d900f198e1526e2c7a7777838e00f5304162a376238",
|
|
39
|
+
"electron-v28.3.0-win32-arm64-symbols.zip": "c48bef928da07c0ff78b1244e86586b625f5c1ef3538b7383e03d4a382f0c935",
|
|
40
|
+
"electron-v28.3.0-win32-arm64-toolchain-profile.zip": "c9f31ae6408aa6936b5d683eda601773789185890375cd097e61e924d4fed77a",
|
|
41
|
+
"electron-v28.3.0-win32-arm64.zip": "ea1e68dcbf87a9c06d5de8bce6862d781400f2bc00f4f7c96f03d431e84fddb5",
|
|
42
|
+
"electron-v28.3.0-win32-ia32-pdb.zip": "e101acd15d24bfcc4091e226dabd1620ed8c530b86eddd5e76a3b74c0cce97d2",
|
|
43
|
+
"electron-v28.3.0-win32-ia32-symbols.zip": "96761e8ac9a43eba6589f9f4e6fff894940bab074a14dcc7c62a010e04ed87f4",
|
|
44
|
+
"electron-v28.3.0-win32-ia32-toolchain-profile.zip": "c9f31ae6408aa6936b5d683eda601773789185890375cd097e61e924d4fed77a",
|
|
45
|
+
"electron-v28.3.0-win32-ia32.zip": "0ae912c432f7844952d577efc129fd64416b393eb7e0b6082e0f3a2523a24d1a",
|
|
46
|
+
"electron-v28.3.0-win32-x64-pdb.zip": "b09624a7d48cdcafc4308967a5c18f6ce3db002f806e1a3ab838e39ab9a1c30b",
|
|
47
|
+
"electron-v28.3.0-win32-x64-symbols.zip": "1fb34a5298da10220b6d11655929c14dee5dc2fb32e001d09d773121a753512a",
|
|
48
|
+
"electron-v28.3.0-win32-x64-toolchain-profile.zip": "c9f31ae6408aa6936b5d683eda601773789185890375cd097e61e924d4fed77a",
|
|
49
|
+
"electron-v28.3.0-win32-x64.zip": "4b9e9b085b94bc2b45a7bb1b64616f79894784816bc6df7878e431474ecdaa02",
|
|
50
|
+
"electron.d.ts": "111cc849f0ca87d3b2ef472274c4a1c07126d5fbae61c155a20503d642751a3b",
|
|
51
|
+
"ffmpeg-v28.3.0-darwin-arm64.zip": "2e1cd42bcbdabb29604f585156b4946230097cc639a009570d621aeb78fe5396",
|
|
52
|
+
"ffmpeg-v28.3.0-darwin-x64.zip": "090a063ecbb939ed22c43a78cfa74713b5e1ed583bedc13e7ec0275a542a4bab",
|
|
53
|
+
"ffmpeg-v28.3.0-linux-arm64.zip": "8e108e533811febcc51f377ac8604d506663453e41c02dc818517e1ea9a4e8d5",
|
|
54
|
+
"ffmpeg-v28.3.0-linux-armv7l.zip": "51ecd03435f56a2ced31b1c9dbf281955ba82a814ca0214a4292bdc711e5a45c",
|
|
55
|
+
"ffmpeg-v28.3.0-linux-x64.zip": "acc9dc3765f68b7563045e2d0df11bbef6b41be0a1c34bbf9fa778f36eefb42f",
|
|
56
|
+
"ffmpeg-v28.3.0-mas-arm64.zip": "e001f45674fa672b65dc653e03097a504d5561b2c7e02aa82f476d6869328ea4",
|
|
57
|
+
"ffmpeg-v28.3.0-mas-x64.zip": "e26c8d96c7100f60c89c1f1f5b9b698f6d7a6f0e12990b95976567365328e924",
|
|
58
|
+
"ffmpeg-v28.3.0-win32-arm64.zip": "edce3fd0008dc0c7bdbca3eaf7390c2711bd4d3cd0b9bc886d70c990cacf8a2a",
|
|
59
|
+
"ffmpeg-v28.3.0-win32-ia32.zip": "4db66cdad5a8f1cf4e368ef521a79b1cc2b16112b543bb6db26a351fede447f0",
|
|
60
|
+
"ffmpeg-v28.3.0-win32-x64.zip": "4072e4ebaf1f3e056b49b7395e65316eec37c236eef25deef37d39fb799e4bc7",
|
|
61
|
+
"hunspell_dictionaries.zip": "231b170e31969acb7c551d09847261d4df1842842c013e45fe1766b3da212fb1",
|
|
62
|
+
"libcxx-objects-v28.3.0-linux-arm64.zip": "ffa5170f238f48be3e19b93ed56096b0f925f5e0dbae0fa7699d918a72739816",
|
|
63
|
+
"libcxx-objects-v28.3.0-linux-armv7l.zip": "8d7701869b68bd6d22c98062e0239466cece914eb5e6cee6fdf757bf16038b1e",
|
|
64
|
+
"libcxx-objects-v28.3.0-linux-x64.zip": "f264af5989c7e9cf2409009d5eceed67428757149dd7410f551cd0f0f10212d8",
|
|
65
|
+
"libcxx_headers.zip": "979a3616e172d1e317169f24b55f1c2098f7619ea8089e81617761a40366cf93",
|
|
66
|
+
"libcxxabi_headers.zip": "4361c88b7c75ae0b15a0e2b546b869b6dd834f14cde44dbf21209ca043641971",
|
|
67
|
+
"mksnapshot-v28.3.0-darwin-arm64.zip": "4accfbbe262d3703e054990e306364b4c92b10ec4bed759ef175cd3a3b36e5d2",
|
|
68
|
+
"mksnapshot-v28.3.0-darwin-x64.zip": "16b883fb591cc0b8e083fc794fc954cc00173fdb215fb52223b17593d65f0a90",
|
|
69
|
+
"mksnapshot-v28.3.0-linux-arm64-x64.zip": "85cd93d1cbf9d5129400936f3313a56a4ff5b3b76afed9a0df5b4f19663ad0eb",
|
|
70
|
+
"mksnapshot-v28.3.0-linux-armv7l-x64.zip": "2088eff4c4d13add8ab7f4be50c1ff147ce6255285a9b785fcd0e47e69e346ac",
|
|
71
|
+
"mksnapshot-v28.3.0-linux-x64.zip": "192b26aa96833e327a72ca078e3b214f8e71e513e735907dc9a75840fb8f675c",
|
|
72
|
+
"mksnapshot-v28.3.0-mas-arm64.zip": "14f19e46db88e6276b0cc9135ea9117d30217101aaff8b0419eb3c2cd683d0d1",
|
|
73
|
+
"mksnapshot-v28.3.0-mas-x64.zip": "57d006e5abbd72f50c8bbfdfd44065adcf391f70013a14fb99c0c6d6e2ad61ed",
|
|
74
|
+
"mksnapshot-v28.3.0-win32-arm64-x64.zip": "a18e6e6da9f1f0d5dd210a7c3be68fc41ac3f37a2bc25a13850cfe4ab34069af",
|
|
75
|
+
"mksnapshot-v28.3.0-win32-ia32.zip": "3e04be6bb0619b0a9e8c1705a6d23e6308b9acffa3bfe6789c2961df5411402d",
|
|
76
|
+
"mksnapshot-v28.3.0-win32-x64.zip": "c116721cedae9303717d2de44eff23eabb2eda48d3966feb8687f675dca39ac6"
|
|
77
77
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 28.
|
|
1
|
+
// Type definitions for Electron 28.3.0
|
|
2
2
|
// Project: http://electronjs.org/
|
|
3
3
|
// Definitions by: The Electron Team <https://github.com/electron/electron>
|
|
4
4
|
// Definitions: https://github.com/electron/typescript-definitions
|
|
@@ -1534,6 +1534,11 @@ declare namespace Electron {
|
|
|
1534
1534
|
* @platform darwin
|
|
1535
1535
|
*/
|
|
1536
1536
|
resignCurrentActivity(): void;
|
|
1537
|
+
/**
|
|
1538
|
+
* Resolves with the proxy information for `url` that will be used when attempting
|
|
1539
|
+
* to make requests using Net in the utility process.
|
|
1540
|
+
*/
|
|
1541
|
+
resolveProxy(url: string): Promise<string>;
|
|
1537
1542
|
/**
|
|
1538
1543
|
* Set the about panel options. This will override the values defined in the app's
|
|
1539
1544
|
* `.plist` file on macOS. See the Apple docs for more details. On Linux, values
|
|
@@ -1698,6 +1703,7 @@ declare namespace Electron {
|
|
|
1698
1703
|
* `sessionData` path before the `ready` event of the `app` module is emitted.
|
|
1699
1704
|
*/
|
|
1700
1705
|
setPath(name: string, path: string): void;
|
|
1706
|
+
setProxy(config: ProxyConfig): void;
|
|
1701
1707
|
/**
|
|
1702
1708
|
* Set the `Secure Keyboard Entry` is enabled in your application.
|
|
1703
1709
|
*
|
|
@@ -8334,6 +8340,30 @@ declare namespace Electron {
|
|
|
8334
8340
|
data: (string) | (Buffer);
|
|
8335
8341
|
}
|
|
8336
8342
|
|
|
8343
|
+
interface ProxyConfig {
|
|
8344
|
+
|
|
8345
|
+
// Docs: https://electronjs.org/docs/api/structures/proxy-config
|
|
8346
|
+
|
|
8347
|
+
/**
|
|
8348
|
+
* The proxy mode. Should be one of `direct`, `auto_detect`, `pac_script`,
|
|
8349
|
+
* `fixed_servers` or `system`. Defaults to `pac_script` proxy mode if `pacScript`
|
|
8350
|
+
* option is specified otherwise defaults to `fixed_servers`.
|
|
8351
|
+
*/
|
|
8352
|
+
mode?: ('direct' | 'auto_detect' | 'pac_script' | 'fixed_servers' | 'system');
|
|
8353
|
+
/**
|
|
8354
|
+
* The URL associated with the PAC file.
|
|
8355
|
+
*/
|
|
8356
|
+
pacScript?: string;
|
|
8357
|
+
/**
|
|
8358
|
+
* Rules indicating which URLs should bypass the proxy settings.
|
|
8359
|
+
*/
|
|
8360
|
+
proxyBypassRules?: string;
|
|
8361
|
+
/**
|
|
8362
|
+
* Rules indicating which proxies to use.
|
|
8363
|
+
*/
|
|
8364
|
+
proxyRules?: string;
|
|
8365
|
+
}
|
|
8366
|
+
|
|
8337
8367
|
interface PushNotifications extends NodeJS.EventEmitter {
|
|
8338
8368
|
|
|
8339
8369
|
// Docs: https://electronjs.org/docs/api/push-notifications
|
|
@@ -9614,60 +9644,11 @@ declare namespace Electron {
|
|
|
9614
9644
|
*
|
|
9615
9645
|
* Sets the proxy settings.
|
|
9616
9646
|
*
|
|
9617
|
-
* When `mode` is unspecified, `pacScript` and `proxyRules` are provided together,
|
|
9618
|
-
* the `proxyRules` option is ignored and `pacScript` configuration is applied.
|
|
9619
|
-
*
|
|
9620
9647
|
* You may need `ses.closeAllConnections` to close currently in flight connections
|
|
9621
9648
|
* to prevent pooled sockets using previous proxy from being reused by future
|
|
9622
9649
|
* requests.
|
|
9623
|
-
*
|
|
9624
|
-
* The `proxyRules` has to follow the rules below:
|
|
9625
|
-
*
|
|
9626
|
-
* For example:
|
|
9627
|
-
*
|
|
9628
|
-
* * `http=foopy:80;ftp=foopy2` - Use HTTP proxy `foopy:80` for `http://` URLs, and
|
|
9629
|
-
* HTTP proxy `foopy2:80` for `ftp://` URLs.
|
|
9630
|
-
* * `foopy:80` - Use HTTP proxy `foopy:80` for all URLs.
|
|
9631
|
-
* * `foopy:80,bar,direct://` - Use HTTP proxy `foopy:80` for all URLs, failing
|
|
9632
|
-
* over to `bar` if `foopy:80` is unavailable, and after that using no proxy.
|
|
9633
|
-
* * `socks4://foopy` - Use SOCKS v4 proxy `foopy:1080` for all URLs.
|
|
9634
|
-
* * `http=foopy,socks5://bar.com` - Use HTTP proxy `foopy` for http URLs, and fail
|
|
9635
|
-
* over to the SOCKS5 proxy `bar.com` if `foopy` is unavailable.
|
|
9636
|
-
* * `http=foopy,direct://` - Use HTTP proxy `foopy` for http URLs, and use no
|
|
9637
|
-
* proxy if `foopy` is unavailable.
|
|
9638
|
-
* * `http=foopy;socks=foopy2` - Use HTTP proxy `foopy` for http URLs, and use
|
|
9639
|
-
* `socks4://foopy2` for all other URLs.
|
|
9640
|
-
*
|
|
9641
|
-
* The `proxyBypassRules` is a comma separated list of rules described below:
|
|
9642
|
-
*
|
|
9643
|
-
* * `[ URL_SCHEME "://" ] HOSTNAME_PATTERN [ ":" <port> ]`
|
|
9644
|
-
*
|
|
9645
|
-
* Match all hostnames that match the pattern HOSTNAME_PATTERN.
|
|
9646
|
-
*
|
|
9647
|
-
* Examples: "foobar.com", "*foobar.com", "*.foobar.com", "*foobar.com:99",
|
|
9648
|
-
* "https://x.*.y.com:99"
|
|
9649
|
-
* * `"." HOSTNAME_SUFFIX_PATTERN [ ":" PORT ]`
|
|
9650
|
-
*
|
|
9651
|
-
* Match a particular domain suffix.
|
|
9652
|
-
*
|
|
9653
|
-
* Examples: ".google.com", ".com", "http://.google.com"
|
|
9654
|
-
* * `[ SCHEME "://" ] IP_LITERAL [ ":" PORT ]`
|
|
9655
|
-
*
|
|
9656
|
-
* Match URLs which are IP address literals.
|
|
9657
|
-
*
|
|
9658
|
-
* Examples: "127.0.1", "[0:0::1]", "[::1]", "http://[::1]:99"
|
|
9659
|
-
* * `IP_LITERAL "/" PREFIX_LENGTH_IN_BITS`
|
|
9660
|
-
*
|
|
9661
|
-
* Match any URL that is to an IP literal that falls between the given range. IP
|
|
9662
|
-
* range is specified using CIDR notation.
|
|
9663
|
-
*
|
|
9664
|
-
* Examples: "192.168.1.1/16", "fefe:13::abc/33".
|
|
9665
|
-
* * `<local>`
|
|
9666
|
-
*
|
|
9667
|
-
* Match local addresses. The meaning of `<local>` is whether the host matches one
|
|
9668
|
-
* of: "127.0.0.1", "::1", "localhost".
|
|
9669
9650
|
*/
|
|
9670
|
-
setProxy(config:
|
|
9651
|
+
setProxy(config: ProxyConfig): Promise<void>;
|
|
9671
9652
|
/**
|
|
9672
9653
|
* By default Electron will download hunspell dictionaries from the Chromium CDN.
|
|
9673
9654
|
* If you want to override this behavior you can use this API to point the
|
|
@@ -9710,7 +9691,7 @@ declare namespace Electron {
|
|
|
9710
9691
|
* connections) will not be terminated, but old sockets in the pool will not be
|
|
9711
9692
|
* reused for new connections.
|
|
9712
9693
|
*/
|
|
9713
|
-
setSSLConfig(config:
|
|
9694
|
+
setSSLConfig(config: Config): void;
|
|
9714
9695
|
/**
|
|
9715
9696
|
* Sets the handler which can be used to override which USB classes are protected.
|
|
9716
9697
|
* The return value for the handler is a string array of USB classes which should
|
|
@@ -15986,6 +15967,10 @@ declare namespace Electron {
|
|
|
15986
15967
|
* specified as http or https.
|
|
15987
15968
|
*/
|
|
15988
15969
|
url?: string;
|
|
15970
|
+
/**
|
|
15971
|
+
* Headers to be sent with the request.
|
|
15972
|
+
*/
|
|
15973
|
+
headers?: Record<string, (string) | (string[])>;
|
|
15989
15974
|
/**
|
|
15990
15975
|
* The `Session` instance with which the request is associated.
|
|
15991
15976
|
*/
|
|
@@ -16070,23 +16055,25 @@ declare namespace Electron {
|
|
|
16070
16055
|
|
|
16071
16056
|
interface Config {
|
|
16072
16057
|
/**
|
|
16073
|
-
*
|
|
16074
|
-
*
|
|
16075
|
-
* determined based on other specified options.
|
|
16076
|
-
*/
|
|
16077
|
-
mode?: ('direct' | 'auto_detect' | 'pac_script' | 'fixed_servers' | 'system');
|
|
16078
|
-
/**
|
|
16079
|
-
* The URL associated with the PAC file.
|
|
16058
|
+
* Can be `tls1`, `tls1.1`, `tls1.2` or `tls1.3`. The minimum SSL version to allow
|
|
16059
|
+
* when connecting to remote servers. Defaults to `tls1`.
|
|
16080
16060
|
*/
|
|
16081
|
-
|
|
16061
|
+
minVersion?: ('tls1' | 'tls1.1' | 'tls1.2' | 'tls1.3');
|
|
16082
16062
|
/**
|
|
16083
|
-
*
|
|
16063
|
+
* Can be `tls1.2` or `tls1.3`. The maximum SSL version to allow when connecting to
|
|
16064
|
+
* remote servers. Defaults to `tls1.3`.
|
|
16084
16065
|
*/
|
|
16085
|
-
|
|
16066
|
+
maxVersion?: ('tls1.2' | 'tls1.3');
|
|
16086
16067
|
/**
|
|
16087
|
-
*
|
|
16068
|
+
* List of cipher suites which should be explicitly prevented from being used in
|
|
16069
|
+
* addition to those disabled by the net built-in policy. Supported literal forms:
|
|
16070
|
+
* 0xAABB, where AA is `cipher_suite[0]` and BB is `cipher_suite[1]`, as defined in
|
|
16071
|
+
* RFC 2246, Section 7.4.1.2. Unrecognized but parsable cipher suites in this form
|
|
16072
|
+
* will not return an error. Ex: To disable TLS_RSA_WITH_RC4_128_MD5, specify
|
|
16073
|
+
* 0x0004, while to disable TLS_ECDH_ECDSA_WITH_RC4_128_SHA, specify 0xC002. Note
|
|
16074
|
+
* that TLSv1.3 ciphers cannot be disabled using this mechanism.
|
|
16088
16075
|
*/
|
|
16089
|
-
|
|
16076
|
+
disabledCipherSuites?: number[];
|
|
16090
16077
|
}
|
|
16091
16078
|
|
|
16092
16079
|
interface ConfigureHostResolverOptions {
|
|
@@ -18423,29 +18410,6 @@ declare namespace Electron {
|
|
|
18423
18410
|
fetchWindowIcons?: boolean;
|
|
18424
18411
|
}
|
|
18425
18412
|
|
|
18426
|
-
interface SSLConfigConfig {
|
|
18427
|
-
/**
|
|
18428
|
-
* Can be `tls1`, `tls1.1`, `tls1.2` or `tls1.3`. The minimum SSL version to allow
|
|
18429
|
-
* when connecting to remote servers. Defaults to `tls1`.
|
|
18430
|
-
*/
|
|
18431
|
-
minVersion?: ('tls1' | 'tls1.1' | 'tls1.2' | 'tls1.3');
|
|
18432
|
-
/**
|
|
18433
|
-
* Can be `tls1.2` or `tls1.3`. The maximum SSL version to allow when connecting to
|
|
18434
|
-
* remote servers. Defaults to `tls1.3`.
|
|
18435
|
-
*/
|
|
18436
|
-
maxVersion?: ('tls1.2' | 'tls1.3');
|
|
18437
|
-
/**
|
|
18438
|
-
* List of cipher suites which should be explicitly prevented from being used in
|
|
18439
|
-
* addition to those disabled by the net built-in policy. Supported literal forms:
|
|
18440
|
-
* 0xAABB, where AA is `cipher_suite[0]` and BB is `cipher_suite[1]`, as defined in
|
|
18441
|
-
* RFC 2246, Section 7.4.1.2. Unrecognized but parsable cipher suites in this form
|
|
18442
|
-
* will not return an error. Ex: To disable TLS_RSA_WITH_RC4_128_MD5, specify
|
|
18443
|
-
* 0x0004, while to disable TLS_ECDH_ECDSA_WITH_RC4_128_SHA, specify 0xC002. Note
|
|
18444
|
-
* that TLSv1.3 ciphers cannot be disabled using this mechanism.
|
|
18445
|
-
*/
|
|
18446
|
-
disabledCipherSuites?: number[];
|
|
18447
|
-
}
|
|
18448
|
-
|
|
18449
18413
|
interface StartLoggingOptions {
|
|
18450
18414
|
/**
|
|
18451
18415
|
* What kinds of data should be captured. By default, only metadata about requests
|
|
@@ -19587,7 +19551,6 @@ declare namespace Electron {
|
|
|
19587
19551
|
type SerialPortRevokedDetails = Electron.SerialPortRevokedDetails;
|
|
19588
19552
|
type Settings = Electron.Settings;
|
|
19589
19553
|
type SourcesOptions = Electron.SourcesOptions;
|
|
19590
|
-
type SSLConfigConfig = Electron.SSLConfigConfig;
|
|
19591
19554
|
type StartLoggingOptions = Electron.StartLoggingOptions;
|
|
19592
19555
|
type Streams = Electron.Streams;
|
|
19593
19556
|
type SystemMemoryInfo = Electron.SystemMemoryInfo;
|
|
@@ -19678,6 +19641,7 @@ declare namespace Electron {
|
|
|
19678
19641
|
type ProtocolRequest = Electron.ProtocolRequest;
|
|
19679
19642
|
type ProtocolResponse = Electron.ProtocolResponse;
|
|
19680
19643
|
type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
|
|
19644
|
+
type ProxyConfig = Electron.ProxyConfig;
|
|
19681
19645
|
type Rectangle = Electron.Rectangle;
|
|
19682
19646
|
type Referrer = Electron.Referrer;
|
|
19683
19647
|
type RenderProcessGoneDetails = Electron.RenderProcessGoneDetails;
|
|
@@ -19915,7 +19879,6 @@ declare namespace Electron {
|
|
|
19915
19879
|
type SerialPortRevokedDetails = Electron.SerialPortRevokedDetails;
|
|
19916
19880
|
type Settings = Electron.Settings;
|
|
19917
19881
|
type SourcesOptions = Electron.SourcesOptions;
|
|
19918
|
-
type SSLConfigConfig = Electron.SSLConfigConfig;
|
|
19919
19882
|
type StartLoggingOptions = Electron.StartLoggingOptions;
|
|
19920
19883
|
type Streams = Electron.Streams;
|
|
19921
19884
|
type SystemMemoryInfo = Electron.SystemMemoryInfo;
|
|
@@ -20006,6 +19969,7 @@ declare namespace Electron {
|
|
|
20006
19969
|
type ProtocolRequest = Electron.ProtocolRequest;
|
|
20007
19970
|
type ProtocolResponse = Electron.ProtocolResponse;
|
|
20008
19971
|
type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
|
|
19972
|
+
type ProxyConfig = Electron.ProxyConfig;
|
|
20009
19973
|
type Rectangle = Electron.Rectangle;
|
|
20010
19974
|
type Referrer = Electron.Referrer;
|
|
20011
19975
|
type RenderProcessGoneDetails = Electron.RenderProcessGoneDetails;
|
|
@@ -20177,7 +20141,6 @@ declare namespace Electron {
|
|
|
20177
20141
|
type SerialPortRevokedDetails = Electron.SerialPortRevokedDetails;
|
|
20178
20142
|
type Settings = Electron.Settings;
|
|
20179
20143
|
type SourcesOptions = Electron.SourcesOptions;
|
|
20180
|
-
type SSLConfigConfig = Electron.SSLConfigConfig;
|
|
20181
20144
|
type StartLoggingOptions = Electron.StartLoggingOptions;
|
|
20182
20145
|
type Streams = Electron.Streams;
|
|
20183
20146
|
type SystemMemoryInfo = Electron.SystemMemoryInfo;
|
|
@@ -20268,6 +20231,7 @@ declare namespace Electron {
|
|
|
20268
20231
|
type ProtocolRequest = Electron.ProtocolRequest;
|
|
20269
20232
|
type ProtocolResponse = Electron.ProtocolResponse;
|
|
20270
20233
|
type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
|
|
20234
|
+
type ProxyConfig = Electron.ProxyConfig;
|
|
20271
20235
|
type Rectangle = Electron.Rectangle;
|
|
20272
20236
|
type Referrer = Electron.Referrer;
|
|
20273
20237
|
type RenderProcessGoneDetails = Electron.RenderProcessGoneDetails;
|
|
@@ -20436,7 +20400,6 @@ declare namespace Electron {
|
|
|
20436
20400
|
type SerialPortRevokedDetails = Electron.SerialPortRevokedDetails;
|
|
20437
20401
|
type Settings = Electron.Settings;
|
|
20438
20402
|
type SourcesOptions = Electron.SourcesOptions;
|
|
20439
|
-
type SSLConfigConfig = Electron.SSLConfigConfig;
|
|
20440
20403
|
type StartLoggingOptions = Electron.StartLoggingOptions;
|
|
20441
20404
|
type Streams = Electron.Streams;
|
|
20442
20405
|
type SystemMemoryInfo = Electron.SystemMemoryInfo;
|
|
@@ -20527,6 +20490,7 @@ declare namespace Electron {
|
|
|
20527
20490
|
type ProtocolRequest = Electron.ProtocolRequest;
|
|
20528
20491
|
type ProtocolResponse = Electron.ProtocolResponse;
|
|
20529
20492
|
type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
|
|
20493
|
+
type ProxyConfig = Electron.ProxyConfig;
|
|
20530
20494
|
type Rectangle = Electron.Rectangle;
|
|
20531
20495
|
type Referrer = Electron.Referrer;
|
|
20532
20496
|
type RenderProcessGoneDetails = Electron.RenderProcessGoneDetails;
|
|
@@ -20779,7 +20743,6 @@ declare namespace Electron {
|
|
|
20779
20743
|
type SerialPortRevokedDetails = Electron.SerialPortRevokedDetails;
|
|
20780
20744
|
type Settings = Electron.Settings;
|
|
20781
20745
|
type SourcesOptions = Electron.SourcesOptions;
|
|
20782
|
-
type SSLConfigConfig = Electron.SSLConfigConfig;
|
|
20783
20746
|
type StartLoggingOptions = Electron.StartLoggingOptions;
|
|
20784
20747
|
type Streams = Electron.Streams;
|
|
20785
20748
|
type SystemMemoryInfo = Electron.SystemMemoryInfo;
|
|
@@ -20870,6 +20833,7 @@ declare namespace Electron {
|
|
|
20870
20833
|
type ProtocolRequest = Electron.ProtocolRequest;
|
|
20871
20834
|
type ProtocolResponse = Electron.ProtocolResponse;
|
|
20872
20835
|
type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
|
|
20836
|
+
type ProxyConfig = Electron.ProxyConfig;
|
|
20873
20837
|
type Rectangle = Electron.Rectangle;
|
|
20874
20838
|
type Referrer = Electron.Referrer;
|
|
20875
20839
|
type RenderProcessGoneDetails = Electron.RenderProcessGoneDetails;
|
package/package.json
CHANGED