electron 43.2.0 → 43.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 +48 -32
- package/package.json +1 -1
package/checksums.json
CHANGED
|
@@ -1,77 +1,77 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-v43.
|
|
3
|
-
"chromedriver-v43.
|
|
4
|
-
"chromedriver-v43.
|
|
5
|
-
"chromedriver-v43.
|
|
6
|
-
"chromedriver-v43.
|
|
7
|
-
"chromedriver-v43.
|
|
8
|
-
"chromedriver-v43.
|
|
9
|
-
"chromedriver-v43.
|
|
10
|
-
"chromedriver-v43.
|
|
11
|
-
"chromedriver-v43.
|
|
12
|
-
"electron-api.json": "
|
|
13
|
-
"electron-v43.
|
|
14
|
-
"electron-v43.
|
|
15
|
-
"electron-v43.
|
|
16
|
-
"electron-v43.
|
|
17
|
-
"electron-v43.
|
|
18
|
-
"electron-v43.
|
|
19
|
-
"electron-v43.
|
|
20
|
-
"electron-v43.
|
|
21
|
-
"electron-v43.
|
|
22
|
-
"electron-v43.
|
|
23
|
-
"electron-v43.
|
|
24
|
-
"electron-v43.
|
|
25
|
-
"electron-v43.
|
|
26
|
-
"electron-v43.
|
|
27
|
-
"electron-v43.
|
|
28
|
-
"electron-v43.
|
|
29
|
-
"electron-v43.
|
|
30
|
-
"electron-v43.
|
|
31
|
-
"electron-v43.
|
|
32
|
-
"electron-v43.
|
|
33
|
-
"electron-v43.
|
|
34
|
-
"electron-v43.
|
|
35
|
-
"electron-v43.
|
|
36
|
-
"electron-v43.
|
|
37
|
-
"electron-v43.
|
|
38
|
-
"electron-v43.
|
|
39
|
-
"electron-v43.
|
|
40
|
-
"electron-v43.
|
|
41
|
-
"electron-v43.
|
|
42
|
-
"electron-v43.
|
|
43
|
-
"electron-v43.
|
|
44
|
-
"electron-v43.
|
|
45
|
-
"electron-v43.
|
|
46
|
-
"electron-v43.
|
|
47
|
-
"electron-v43.
|
|
48
|
-
"electron-v43.
|
|
49
|
-
"electron-v43.
|
|
50
|
-
"electron.d.ts": "
|
|
51
|
-
"ffmpeg-v43.
|
|
52
|
-
"ffmpeg-v43.
|
|
53
|
-
"ffmpeg-v43.
|
|
54
|
-
"ffmpeg-v43.
|
|
55
|
-
"ffmpeg-v43.
|
|
56
|
-
"ffmpeg-v43.
|
|
57
|
-
"ffmpeg-v43.
|
|
58
|
-
"ffmpeg-v43.
|
|
59
|
-
"ffmpeg-v43.
|
|
60
|
-
"ffmpeg-v43.
|
|
61
|
-
"hunspell_dictionaries.zip": "
|
|
62
|
-
"libcxx-objects-v43.
|
|
63
|
-
"libcxx-objects-v43.
|
|
64
|
-
"libcxx-objects-v43.
|
|
65
|
-
"libcxx_headers.zip": "
|
|
66
|
-
"libcxxabi_headers.zip": "
|
|
67
|
-
"mksnapshot-v43.
|
|
68
|
-
"mksnapshot-v43.
|
|
69
|
-
"mksnapshot-v43.
|
|
70
|
-
"mksnapshot-v43.
|
|
71
|
-
"mksnapshot-v43.
|
|
72
|
-
"mksnapshot-v43.
|
|
73
|
-
"mksnapshot-v43.
|
|
74
|
-
"mksnapshot-v43.
|
|
75
|
-
"mksnapshot-v43.
|
|
76
|
-
"mksnapshot-v43.
|
|
2
|
+
"chromedriver-v43.3.0-darwin-arm64.zip": "1c158a7af0c37a3563df937c1147a28ab0f6c934d9b968dd9221eadce5f2f819",
|
|
3
|
+
"chromedriver-v43.3.0-darwin-x64.zip": "ab2ede2f8384b5de8c37cd6f3cf8ed2345273e4f079fdb4c39fbc2a014fa7f33",
|
|
4
|
+
"chromedriver-v43.3.0-linux-arm64.zip": "397fe091e77ec79790a1a562bf063bf3572a98389f20f7ebff37e846292736d7",
|
|
5
|
+
"chromedriver-v43.3.0-linux-armv7l.zip": "004a9bc0df93902d9c449d637bb27707e9134619c303acd84adf713a4054ac92",
|
|
6
|
+
"chromedriver-v43.3.0-linux-x64.zip": "38f04353088f38e02dba76f16101813966d70e318c5d1d37ac189ea09be1aac5",
|
|
7
|
+
"chromedriver-v43.3.0-mas-arm64.zip": "c0decf43a81c18eccadae8494cf1792c5c4a372e444634715250bd3d4c3b5e00",
|
|
8
|
+
"chromedriver-v43.3.0-mas-x64.zip": "8bbc52872f38de606e514e1a6b4cb1f25bde7bf80873f76abb643e578c50d43d",
|
|
9
|
+
"chromedriver-v43.3.0-win32-arm64.zip": "71eb3274edcec8bd45a7180ad2a4b9b4e2534ba58b40a89daecf54aa7be3555c",
|
|
10
|
+
"chromedriver-v43.3.0-win32-ia32.zip": "a759bf9ebd02322cd5bdc78ad7814942a75ec0ecef37f4bfcf5b14d46abe3b0d",
|
|
11
|
+
"chromedriver-v43.3.0-win32-x64.zip": "cd91c4a9cce75bbef931c9b2e5abc4f83e895e800a2faf9e4b16ea2728fba8f8",
|
|
12
|
+
"electron-api.json": "41dc5479805b03d67bab62c2fd1996a560eeffa877daaa1208baf36dc9ff25f8",
|
|
13
|
+
"electron-v43.3.0-darwin-arm64-dsym-snapshot.zip": "dd147d7514ba610e58c4631dac48591a446718720e3d3c6fe94f114182d32aae",
|
|
14
|
+
"electron-v43.3.0-darwin-arm64-dsym.tar.xz": "b49bc2dfe2d38274556b5172740ee94215cb3d037ff63bb8b7a461901d68501a",
|
|
15
|
+
"electron-v43.3.0-darwin-arm64-symbols.zip": "cbd5e27ccd0d0c29561d8be3906f7cf70946e8230517d34ebee4be55b1ef6b19",
|
|
16
|
+
"electron-v43.3.0-darwin-arm64.zip": "ee939d1564d83d61032b3b3cb23af4e46005a4900c91f0695f7ed793f0ce6e83",
|
|
17
|
+
"electron-v43.3.0-darwin-x64-dsym-snapshot.zip": "43c9bd22eeec7b73d8eff99b29a2eae8ea2d942f681b98505ce846c7c2dba9ca",
|
|
18
|
+
"electron-v43.3.0-darwin-x64-dsym.tar.xz": "bbe66126fe9d4f2542cfaf45f1e0e5fb0f05f3c6ca39e4b5f0c1aea0d28e94e4",
|
|
19
|
+
"electron-v43.3.0-darwin-x64-symbols.zip": "b3d9267c9c8980d7841bc47d43ea06d161ffe7c99ae84af07d0088935c117493",
|
|
20
|
+
"electron-v43.3.0-darwin-x64.zip": "7347bbd5fb529eea64f9c2d148bb1c19222d98946ff234ffe27953a1bbcb9dae",
|
|
21
|
+
"electron-v43.3.0-linux-arm64-debug.zip": "8246d6b7c03b91068afee103a0136a50fda3da7f071273112d972a79a474415c",
|
|
22
|
+
"electron-v43.3.0-linux-arm64-symbols.zip": "29dc82d9144386f412ff90068b5a8933af8854e32175eee0f3c18ced82461151",
|
|
23
|
+
"electron-v43.3.0-linux-arm64.zip": "3e89a62c345d8171bf54f77df5b3d8216c492847eed00ae59cadd78d6f5535f7",
|
|
24
|
+
"electron-v43.3.0-linux-armv7l-debug.zip": "eafaa8acc210854276baa7cea4396e29ecb5d51dadad700e0de30c5411bdc3a2",
|
|
25
|
+
"electron-v43.3.0-linux-armv7l-symbols.zip": "d1ae116a5582ff1ad7651ac4aa8155fc27f7ebd6fab6e6b394424647bc47d972",
|
|
26
|
+
"electron-v43.3.0-linux-armv7l.zip": "d808208eb3179d1d33ac0269b5aada5d5a689cb9758098cb2d6e3576efaa306e",
|
|
27
|
+
"electron-v43.3.0-linux-x64-debug.zip": "88087cf614a47d11657a5488dfffdd0029f582f2dee0f2f71897b8056cd5f2d6",
|
|
28
|
+
"electron-v43.3.0-linux-x64-symbols.zip": "3521a3c48cd3e45c50427f9f49ebd0751f4699169d09c234f8f5bfa068e1abf0",
|
|
29
|
+
"electron-v43.3.0-linux-x64.zip": "f4987e9f045e46b117f0805d6ba4dc524e2abb2c2e33660f175bb39564bd3dae",
|
|
30
|
+
"electron-v43.3.0-mas-arm64-dsym-snapshot.zip": "50bf2affbebf9c0baa1920e91ce8c506ad68c23e4a8e52a2959b265815eaea5d",
|
|
31
|
+
"electron-v43.3.0-mas-arm64-dsym.tar.xz": "c6799a74ca4d53e17f00526848c395c3420dc6396acf80c415dc48955f0d4012",
|
|
32
|
+
"electron-v43.3.0-mas-arm64-symbols.zip": "59aa4976fa810c03e6b1cb2fb7d7e400c70ec11c922c01d2e75e5ebae62b9048",
|
|
33
|
+
"electron-v43.3.0-mas-arm64.zip": "b27feb264a4160f17f5c6ae7fb2faa5d2b56a72876694a2dee11992ba357135c",
|
|
34
|
+
"electron-v43.3.0-mas-x64-dsym-snapshot.zip": "09c742b260630a2e57f013859bedd9dc8006dd0ff11b25ba1f96ee4f9519173c",
|
|
35
|
+
"electron-v43.3.0-mas-x64-dsym.tar.xz": "7059768c58de285626ba97c44055c1a14a1b69d4341bad6c6e940aea5e3e59eb",
|
|
36
|
+
"electron-v43.3.0-mas-x64-symbols.zip": "ec87896b0c59f6d6fe37055fb84549fd1de5b46749a6eeb8d0fa53d9821d9784",
|
|
37
|
+
"electron-v43.3.0-mas-x64.zip": "0e3405ae307fa745db18728c605ca7639f6f2a94441af08e339ad29a627c388c",
|
|
38
|
+
"electron-v43.3.0-win32-arm64-pdb.zip": "ddeb704ec4ba89719a2625f90af0d74fd17060fa3a83b167156bd5c60240e4aa",
|
|
39
|
+
"electron-v43.3.0-win32-arm64-symbols.zip": "385a5e98e8a60c5594152bdaf56da696801a24f688543141c570a02b6f03878b",
|
|
40
|
+
"electron-v43.3.0-win32-arm64-toolchain-profile.zip": "93e0253324919c9cd187a9864291f4452e4632747b8ecc1d9ec7e6d6afbf86e9",
|
|
41
|
+
"electron-v43.3.0-win32-arm64.zip": "b315ea6feef1ee8bedc01c28ae2f89c0631f4521f888dcbecb9bdb28281c37e7",
|
|
42
|
+
"electron-v43.3.0-win32-ia32-pdb.zip": "8220ecc03535e8aa91fe1216886d6f0fba34dd28fd0af95c428a33b9a174d8bc",
|
|
43
|
+
"electron-v43.3.0-win32-ia32-symbols.zip": "fad4fc5a8c6a4fa7f98b8b043c89aab05e926e8376bd09cd8be263f04d71c08c",
|
|
44
|
+
"electron-v43.3.0-win32-ia32-toolchain-profile.zip": "93e0253324919c9cd187a9864291f4452e4632747b8ecc1d9ec7e6d6afbf86e9",
|
|
45
|
+
"electron-v43.3.0-win32-ia32.zip": "2ffc4e320dc8fa25a0ab872723cd19012d8eb3479768ce424f284d1409a5a76d",
|
|
46
|
+
"electron-v43.3.0-win32-x64-pdb.zip": "e357e972aa9e6ccb1657f5baa2b47f0d9b296743039c8fc33d5f6e41fdf6f9c7",
|
|
47
|
+
"electron-v43.3.0-win32-x64-symbols.zip": "745e39862c16215f3a1c5cb6f8852439a092efeece3dc62f01ab03a4fffd193d",
|
|
48
|
+
"electron-v43.3.0-win32-x64-toolchain-profile.zip": "93e0253324919c9cd187a9864291f4452e4632747b8ecc1d9ec7e6d6afbf86e9",
|
|
49
|
+
"electron-v43.3.0-win32-x64.zip": "18528bedc6a9b04bdc5efb7b803cbc3cb0e5ea6415d54046e23d464d89a00da9",
|
|
50
|
+
"electron.d.ts": "9d42a826b20eb2439d9dc85c5d294da3b498cbfdbf1dd29cbbb76a7d4ca94052",
|
|
51
|
+
"ffmpeg-v43.3.0-darwin-arm64.zip": "6914c472dfc138968533550679245e3d47c4fa11b90762cf414cfb003204ed8e",
|
|
52
|
+
"ffmpeg-v43.3.0-darwin-x64.zip": "21d9bbbeeb4945adf8fc332fe8cc417a2ea697f1c7ba54a8014406751247cf7c",
|
|
53
|
+
"ffmpeg-v43.3.0-linux-arm64.zip": "70f389e13a6c1b154861ccaa702198afa253057156bc81159accea0881799cb8",
|
|
54
|
+
"ffmpeg-v43.3.0-linux-armv7l.zip": "001847bd19549781850fd6f69941a54f92356ed26bca02892e9642637215668d",
|
|
55
|
+
"ffmpeg-v43.3.0-linux-x64.zip": "0be0a3ab9e3c08a71e6d989562118556c39b867bb821889cdfc0fb92d872e486",
|
|
56
|
+
"ffmpeg-v43.3.0-mas-arm64.zip": "8d510d254421fcd5a03d78116cd514d0c63b192adf95221f0e145614f6bfcc81",
|
|
57
|
+
"ffmpeg-v43.3.0-mas-x64.zip": "57c05d6e79da434c1ba5d86f6a16a27b837ecb46c49b3f60c2d02c22b3c3d82e",
|
|
58
|
+
"ffmpeg-v43.3.0-win32-arm64.zip": "957746086436f81f8ab83562fe35569a5e08cbf0427bb8ebfc6f8ce80cb9efa3",
|
|
59
|
+
"ffmpeg-v43.3.0-win32-ia32.zip": "f4ee63b519584e465592bb2fb3f3929e155af9936fe88b3ae77e422477023069",
|
|
60
|
+
"ffmpeg-v43.3.0-win32-x64.zip": "68556a799ee2ae0a29339a091497db76f478120907ee82263071188e7f3fbb8c",
|
|
61
|
+
"hunspell_dictionaries.zip": "23293c2168a12b5c62379ea6c08c93de1a5a43dfff233f1de6b409db1e65a0f9",
|
|
62
|
+
"libcxx-objects-v43.3.0-linux-arm64.zip": "45d1b686b925ad48df299ad355e074c54145c7a30401bdd15f586d0399ae1e68",
|
|
63
|
+
"libcxx-objects-v43.3.0-linux-armv7l.zip": "f577683776600cdbba0724d8d751ae4f113d6176257af6ebb8c0c4970dabc4f2",
|
|
64
|
+
"libcxx-objects-v43.3.0-linux-x64.zip": "6ca4e30c4ab1ad642e31af469ddf3012088e8b93e1d0ffc63e8b9111ae852398",
|
|
65
|
+
"libcxx_headers.zip": "0dbb4e789187fd5fe07b5fef6ad81c0a683f8b0c4285255f85013495bea0cbf9",
|
|
66
|
+
"libcxxabi_headers.zip": "30daf8f1ebd6bceb5c58fe9618d0df54c3e06b7647a3181158e9f47a90b85d79",
|
|
67
|
+
"mksnapshot-v43.3.0-darwin-arm64.zip": "0274fff4f49f92d313299156b3a3b7028dc83989f01dbe481d5d2e2d3848d708",
|
|
68
|
+
"mksnapshot-v43.3.0-darwin-x64.zip": "8f0ba3543b8edbb9488bd754c9257dae80a0d840c08efadd01aed07754ffd223",
|
|
69
|
+
"mksnapshot-v43.3.0-linux-arm64-x64.zip": "35f0ba6b9b4e0c1425f49cd510a72e1effb5d6108cc05da7a93356ab3e9d0749",
|
|
70
|
+
"mksnapshot-v43.3.0-linux-armv7l-x64.zip": "f22c056f8eaffa13c01a5c09f09795fde731b202a36629f569d087b0029b406c",
|
|
71
|
+
"mksnapshot-v43.3.0-linux-x64.zip": "6a3a12a046b1d93984d4e13af7a6c9a66f8f889d10b8bd505bf53d65157c86ef",
|
|
72
|
+
"mksnapshot-v43.3.0-mas-arm64.zip": "be0e8722b19fb375e6390e572c27e6e8a478590caa4258bb67a327bdd3073d16",
|
|
73
|
+
"mksnapshot-v43.3.0-mas-x64.zip": "ff110107dcb616520bf154cf9dc680cf0338c72986da9eb27231e99db57becd6",
|
|
74
|
+
"mksnapshot-v43.3.0-win32-arm64-x64.zip": "0768d515509a42104b748b18d728fc06fe71331cda4ee44c0e40dc433f4f1a66",
|
|
75
|
+
"mksnapshot-v43.3.0-win32-ia32.zip": "dadd001e44704667ba5294a46b49e26c0892137a0aa844cf8d6e3ce618f3ff06",
|
|
76
|
+
"mksnapshot-v43.3.0-win32-x64.zip": "c0ecb8d4fde16c4dd5dcd930efccd245dac2c357bfae23fbf547fb7140347386"
|
|
77
77
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 43.
|
|
1
|
+
// Type definitions for Electron 43.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
|
|
@@ -50,7 +50,7 @@ declare namespace Electron {
|
|
|
50
50
|
// Docs: https://electronjs.org/docs/api/app
|
|
51
51
|
|
|
52
52
|
/**
|
|
53
|
-
* Emitted when
|
|
53
|
+
* Emitted when Chromium's accessibility support changes. This event fires when
|
|
54
54
|
* assistive technologies, such as screen readers, are enabled or disabled. See
|
|
55
55
|
* https://www.chromium.org/developers/design-documents/accessibility for more
|
|
56
56
|
* details.
|
|
@@ -59,7 +59,7 @@ declare namespace Electron {
|
|
|
59
59
|
*/
|
|
60
60
|
on(event: 'accessibility-support-changed', listener: (event: Event,
|
|
61
61
|
/**
|
|
62
|
-
* `true` when
|
|
62
|
+
* `true` when Chromium's accessibility support is enabled, `false` otherwise.
|
|
63
63
|
*/
|
|
64
64
|
accessibilitySupportEnabled: boolean) => void): this;
|
|
65
65
|
/**
|
|
@@ -67,7 +67,7 @@ declare namespace Electron {
|
|
|
67
67
|
*/
|
|
68
68
|
off(event: 'accessibility-support-changed', listener: (event: Event,
|
|
69
69
|
/**
|
|
70
|
-
* `true` when
|
|
70
|
+
* `true` when Chromium's accessibility support is enabled, `false` otherwise.
|
|
71
71
|
*/
|
|
72
72
|
accessibilitySupportEnabled: boolean) => void): this;
|
|
73
73
|
/**
|
|
@@ -75,7 +75,7 @@ declare namespace Electron {
|
|
|
75
75
|
*/
|
|
76
76
|
once(event: 'accessibility-support-changed', listener: (event: Event,
|
|
77
77
|
/**
|
|
78
|
-
* `true` when
|
|
78
|
+
* `true` when Chromium's accessibility support is enabled, `false` otherwise.
|
|
79
79
|
*/
|
|
80
80
|
accessibilitySupportEnabled: boolean) => void): this;
|
|
81
81
|
/**
|
|
@@ -83,7 +83,7 @@ declare namespace Electron {
|
|
|
83
83
|
*/
|
|
84
84
|
addListener(event: 'accessibility-support-changed', listener: (event: Event,
|
|
85
85
|
/**
|
|
86
|
-
* `true` when
|
|
86
|
+
* `true` when Chromium's accessibility support is enabled, `false` otherwise.
|
|
87
87
|
*/
|
|
88
88
|
accessibilitySupportEnabled: boolean) => void): this;
|
|
89
89
|
/**
|
|
@@ -91,7 +91,7 @@ declare namespace Electron {
|
|
|
91
91
|
*/
|
|
92
92
|
removeListener(event: 'accessibility-support-changed', listener: (event: Event,
|
|
93
93
|
/**
|
|
94
|
-
* `true` when
|
|
94
|
+
* `true` when Chromium's accessibility support is enabled, `false` otherwise.
|
|
95
95
|
*/
|
|
96
96
|
accessibilitySupportEnabled: boolean) => void): this;
|
|
97
97
|
/**
|
|
@@ -1396,9 +1396,9 @@ declare namespace Electron {
|
|
|
1396
1396
|
*/
|
|
1397
1397
|
invalidateCurrentActivity(): void;
|
|
1398
1398
|
/**
|
|
1399
|
-
* `true` if
|
|
1400
|
-
* will return `true` if the use of assistive technologies, such as screen
|
|
1401
|
-
* has been detected. See
|
|
1399
|
+
* `true` if Chromium's accessibility support is enabled, `false` otherwise. This
|
|
1400
|
+
* API will return `true` if the use of assistive technologies, such as screen
|
|
1401
|
+
* readers, has been detected. See
|
|
1402
1402
|
* https://www.chromium.org/developers/design-documents/accessibility for more
|
|
1403
1403
|
* details.
|
|
1404
1404
|
*
|
|
@@ -1589,7 +1589,7 @@ declare namespace Electron {
|
|
|
1589
1589
|
*/
|
|
1590
1590
|
setAboutPanelOptions(options: AboutPanelOptionsOptions): void;
|
|
1591
1591
|
/**
|
|
1592
|
-
* Manually enables
|
|
1592
|
+
* Manually enables Chromium's accessibility support, allowing to expose
|
|
1593
1593
|
* accessibility switch to users in application settings. See Chromium's
|
|
1594
1594
|
* accessibility docs for more details. Disabled by default.
|
|
1595
1595
|
*
|
|
@@ -1898,10 +1898,10 @@ declare namespace Electron {
|
|
|
1898
1898
|
*/
|
|
1899
1899
|
whenReady(): Promise<void>;
|
|
1900
1900
|
/**
|
|
1901
|
-
* A `boolean` property that's `true` if
|
|
1902
|
-
* `false` otherwise. This property will be `true` if the use of assistive
|
|
1901
|
+
* A `boolean` property that's `true` if Chromium's accessibility support is
|
|
1902
|
+
* enabled, `false` otherwise. This property will be `true` if the use of assistive
|
|
1903
1903
|
* technologies, such as screen readers, has been detected. Setting this property
|
|
1904
|
-
* to `true` manually enables
|
|
1904
|
+
* to `true` manually enables Chromium's accessibility support, allowing developers
|
|
1905
1905
|
* to expose accessibility switch to users in application settings.
|
|
1906
1906
|
*
|
|
1907
1907
|
* See Chromium's accessibility docs for more details. Disabled by default.
|
|
@@ -10182,8 +10182,8 @@ declare namespace Electron {
|
|
|
10182
10182
|
* see Response.
|
|
10183
10183
|
*
|
|
10184
10184
|
* Sends a request, similarly to how `fetch()` works in the renderer, using
|
|
10185
|
-
*
|
|
10186
|
-
* HTTP stack.
|
|
10185
|
+
* Chromium's network stack. This differs from Node's `fetch()`, which uses
|
|
10186
|
+
* Node.js's HTTP stack.
|
|
10187
10187
|
*
|
|
10188
10188
|
* Example:
|
|
10189
10189
|
*
|
|
@@ -12956,8 +12956,8 @@ declare namespace Electron {
|
|
|
12956
12956
|
* see Response.
|
|
12957
12957
|
*
|
|
12958
12958
|
* Sends a request, similarly to how `fetch()` works in the renderer, using
|
|
12959
|
-
*
|
|
12960
|
-
* HTTP stack.
|
|
12959
|
+
* Chromium's network stack. This differs from Node's `fetch()`, which uses
|
|
12960
|
+
* Node.js's HTTP stack.
|
|
12961
12961
|
*
|
|
12962
12962
|
* Example:
|
|
12963
12963
|
*
|
|
@@ -17111,23 +17111,23 @@ declare namespace Electron {
|
|
|
17111
17111
|
* The usage is the same with the `login` event of `app`.
|
|
17112
17112
|
*/
|
|
17113
17113
|
on(event: 'login', listener: (event: Event,
|
|
17114
|
-
authenticationResponseDetails:
|
|
17114
|
+
authenticationResponseDetails: AuthenticationResponseDetails,
|
|
17115
17115
|
authInfo: AuthInfo,
|
|
17116
17116
|
callback: (username?: string, password?: string) => void) => void): this;
|
|
17117
17117
|
off(event: 'login', listener: (event: Event,
|
|
17118
|
-
authenticationResponseDetails:
|
|
17118
|
+
authenticationResponseDetails: AuthenticationResponseDetails,
|
|
17119
17119
|
authInfo: AuthInfo,
|
|
17120
17120
|
callback: (username?: string, password?: string) => void) => void): this;
|
|
17121
17121
|
once(event: 'login', listener: (event: Event,
|
|
17122
|
-
authenticationResponseDetails:
|
|
17122
|
+
authenticationResponseDetails: AuthenticationResponseDetails,
|
|
17123
17123
|
authInfo: AuthInfo,
|
|
17124
17124
|
callback: (username?: string, password?: string) => void) => void): this;
|
|
17125
17125
|
addListener(event: 'login', listener: (event: Event,
|
|
17126
|
-
authenticationResponseDetails:
|
|
17126
|
+
authenticationResponseDetails: AuthenticationResponseDetails,
|
|
17127
17127
|
authInfo: AuthInfo,
|
|
17128
17128
|
callback: (username?: string, password?: string) => void) => void): this;
|
|
17129
17129
|
removeListener(event: 'login', listener: (event: Event,
|
|
17130
|
-
authenticationResponseDetails:
|
|
17130
|
+
authenticationResponseDetails: AuthenticationResponseDetails,
|
|
17131
17131
|
authInfo: AuthInfo,
|
|
17132
17132
|
callback: (username?: string, password?: string) => void) => void): this;
|
|
17133
17133
|
/**
|
|
@@ -20451,6 +20451,18 @@ declare namespace Electron {
|
|
|
20451
20451
|
interface AuthenticationResponseDetails {
|
|
20452
20452
|
url: string;
|
|
20453
20453
|
pid: number;
|
|
20454
|
+
/**
|
|
20455
|
+
* Indicates whether the request is for a navigation.
|
|
20456
|
+
*/
|
|
20457
|
+
isRequestForNavigation: boolean;
|
|
20458
|
+
/**
|
|
20459
|
+
* Indicates whether this is the first authentication attempt.
|
|
20460
|
+
*/
|
|
20461
|
+
firstAuthAttempt: boolean;
|
|
20462
|
+
/**
|
|
20463
|
+
* The headers returned in the response.
|
|
20464
|
+
*/
|
|
20465
|
+
responseHeaders?: Record<string, (string) | (string[])>;
|
|
20454
20466
|
}
|
|
20455
20467
|
|
|
20456
20468
|
interface AuthInfo {
|
|
@@ -22006,10 +22018,6 @@ declare namespace Electron {
|
|
|
22006
22018
|
baseURLForDataURL?: string;
|
|
22007
22019
|
}
|
|
22008
22020
|
|
|
22009
|
-
interface LoginAuthenticationResponseDetails {
|
|
22010
|
-
url: string;
|
|
22011
|
-
}
|
|
22012
|
-
|
|
22013
22021
|
interface LoginItemSettings {
|
|
22014
22022
|
/**
|
|
22015
22023
|
* `true` if the app is set to open at login.
|
|
@@ -23690,6 +23698,15 @@ declare namespace Electron {
|
|
|
23690
23698
|
* The total amount of memory not being used by applications or disk cache.
|
|
23691
23699
|
*/
|
|
23692
23700
|
free: number;
|
|
23701
|
+
/**
|
|
23702
|
+
* The kernel's estimate of the amount of memory available for allocation without
|
|
23703
|
+
* swapping, from `/proc/meminfo` `MemAvailable`. Use this as the memory pressure
|
|
23704
|
+
* signal on Linux; `free` there is `MemFree`, which excludes page cache and other
|
|
23705
|
+
* reclaimable memory.
|
|
23706
|
+
*
|
|
23707
|
+
* @platform linux
|
|
23708
|
+
*/
|
|
23709
|
+
available: number;
|
|
23693
23710
|
/**
|
|
23694
23711
|
* The amount of memory that currently has been paged out to storage. Includes
|
|
23695
23712
|
* memory for file caches, network buffers, and other system services.
|
|
@@ -25043,7 +25060,6 @@ declare namespace Electron {
|
|
|
25043
25060
|
type LoadExtensionOptions = Electron.LoadExtensionOptions;
|
|
25044
25061
|
type LoadFileOptions = Electron.LoadFileOptions;
|
|
25045
25062
|
type LoadURLOptions = Electron.LoadURLOptions;
|
|
25046
|
-
type LoginAuthenticationResponseDetails = Electron.LoginAuthenticationResponseDetails;
|
|
25047
25063
|
type LoginItemSettings = Electron.LoginItemSettings;
|
|
25048
25064
|
type LoginItemSettingsOptions = Electron.LoginItemSettingsOptions;
|
|
25049
25065
|
type MenuItemConstructorOptions = Electron.MenuItemConstructorOptions;
|
|
@@ -25452,7 +25468,6 @@ declare namespace Electron {
|
|
|
25452
25468
|
type LoadExtensionOptions = Electron.LoadExtensionOptions;
|
|
25453
25469
|
type LoadFileOptions = Electron.LoadFileOptions;
|
|
25454
25470
|
type LoadURLOptions = Electron.LoadURLOptions;
|
|
25455
|
-
type LoginAuthenticationResponseDetails = Electron.LoginAuthenticationResponseDetails;
|
|
25456
25471
|
type LoginItemSettings = Electron.LoginItemSettings;
|
|
25457
25472
|
type LoginItemSettingsOptions = Electron.LoginItemSettingsOptions;
|
|
25458
25473
|
type MenuItemConstructorOptions = Electron.MenuItemConstructorOptions;
|
|
@@ -25788,7 +25803,6 @@ declare namespace Electron {
|
|
|
25788
25803
|
type LoadExtensionOptions = Electron.LoadExtensionOptions;
|
|
25789
25804
|
type LoadFileOptions = Electron.LoadFileOptions;
|
|
25790
25805
|
type LoadURLOptions = Electron.LoadURLOptions;
|
|
25791
|
-
type LoginAuthenticationResponseDetails = Electron.LoginAuthenticationResponseDetails;
|
|
25792
25806
|
type LoginItemSettings = Electron.LoginItemSettings;
|
|
25793
25807
|
type LoginItemSettingsOptions = Electron.LoginItemSettingsOptions;
|
|
25794
25808
|
type MenuItemConstructorOptions = Electron.MenuItemConstructorOptions;
|
|
@@ -26123,7 +26137,6 @@ declare namespace Electron {
|
|
|
26123
26137
|
type LoadExtensionOptions = Electron.LoadExtensionOptions;
|
|
26124
26138
|
type LoadFileOptions = Electron.LoadFileOptions;
|
|
26125
26139
|
type LoadURLOptions = Electron.LoadURLOptions;
|
|
26126
|
-
type LoginAuthenticationResponseDetails = Electron.LoginAuthenticationResponseDetails;
|
|
26127
26140
|
type LoginItemSettings = Electron.LoginItemSettings;
|
|
26128
26141
|
type LoginItemSettingsOptions = Electron.LoginItemSettingsOptions;
|
|
26129
26142
|
type MenuItemConstructorOptions = Electron.MenuItemConstructorOptions;
|
|
@@ -26553,7 +26566,6 @@ declare namespace Electron {
|
|
|
26553
26566
|
type LoadExtensionOptions = Electron.LoadExtensionOptions;
|
|
26554
26567
|
type LoadFileOptions = Electron.LoadFileOptions;
|
|
26555
26568
|
type LoadURLOptions = Electron.LoadURLOptions;
|
|
26556
|
-
type LoginAuthenticationResponseDetails = Electron.LoginAuthenticationResponseDetails;
|
|
26557
26569
|
type LoginItemSettings = Electron.LoginItemSettings;
|
|
26558
26570
|
type LoginItemSettingsOptions = Electron.LoginItemSettingsOptions;
|
|
26559
26571
|
type MenuItemConstructorOptions = Electron.MenuItemConstructorOptions;
|
|
@@ -26948,6 +26960,10 @@ declare namespace NodeJS {
|
|
|
26948
26960
|
* to the system.
|
|
26949
26961
|
* * `free` Integer - The total amount of memory not being used by applications or
|
|
26950
26962
|
* disk cache.
|
|
26963
|
+
* * `available` Integer _Linux_ - The kernel's estimate of the amount of memory
|
|
26964
|
+
* available for allocation without swapping, from `/proc/meminfo` `MemAvailable`.
|
|
26965
|
+
* Use this as the memory pressure signal on Linux; `free` there is `MemFree`,
|
|
26966
|
+
* which excludes page cache and other reclaimable memory.
|
|
26951
26967
|
* * `fileBacked` Integer _macOS_ - The amount of memory that currently has been
|
|
26952
26968
|
* paged out to storage. Includes memory for file caches, network buffers, and
|
|
26953
26969
|
* other system services.
|