electron 44.0.0-alpha.6 → 44.0.0-alpha.8
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 +3 -4
- package/checksums.json +61 -61
- package/electron.d.ts +114 -144
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -39,10 +39,9 @@ Each Electron release provides binaries for macOS, Windows, and Linux.
|
|
|
39
39
|
|
|
40
40
|
* macOS (Ventura and up): Electron provides 64-bit Intel and Apple Silicon / ARM binaries for macOS.
|
|
41
41
|
* Windows (Windows 10 and up): Electron provides `x64` (`amd64`) and `arm64` binaries for Windows.
|
|
42
|
-
* Linux:
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
* Debian 10 and newer
|
|
42
|
+
* Linux: Electron provides `x64` (`amd64`) and `arm64` binaries for Linux. Electron supports major Linux distributions (e.g., Ubuntu, Fedora, Debian) in versions that are still supported by both Chromium and the distro maker (without requiring a paid subscription). The prebuilt binaries are built on Ubuntu.
|
|
43
|
+
|
|
44
|
+
In general, Electron tries to [align with Chromium on platform support](https://support.google.com/chrome/answer/95346).
|
|
46
45
|
|
|
47
46
|
## Electron Fiddle
|
|
48
47
|
|
package/checksums.json
CHANGED
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-v44.0.0-alpha.
|
|
3
|
-
"chromedriver-v44.0.0-alpha.
|
|
4
|
-
"chromedriver-v44.0.0-alpha.
|
|
5
|
-
"chromedriver-v44.0.0-alpha.
|
|
6
|
-
"chromedriver-v44.0.0-alpha.
|
|
7
|
-
"chromedriver-v44.0.0-alpha.
|
|
8
|
-
"chromedriver-v44.0.0-alpha.
|
|
9
|
-
"chromedriver-v44.0.0-alpha.
|
|
10
|
-
"electron-api.json": "
|
|
11
|
-
"electron-v44.0.0-alpha.
|
|
12
|
-
"electron-v44.0.0-alpha.
|
|
13
|
-
"electron-v44.0.0-alpha.
|
|
14
|
-
"electron-v44.0.0-alpha.
|
|
15
|
-
"electron-v44.0.0-alpha.
|
|
16
|
-
"electron-v44.0.0-alpha.
|
|
17
|
-
"electron-v44.0.0-alpha.
|
|
18
|
-
"electron-v44.0.0-alpha.
|
|
19
|
-
"electron-v44.0.0-alpha.
|
|
20
|
-
"electron-v44.0.0-alpha.
|
|
21
|
-
"electron-v44.0.0-alpha.
|
|
22
|
-
"electron-v44.0.0-alpha.
|
|
23
|
-
"electron-v44.0.0-alpha.
|
|
24
|
-
"electron-v44.0.0-alpha.
|
|
25
|
-
"electron-v44.0.0-alpha.
|
|
26
|
-
"electron-v44.0.0-alpha.
|
|
27
|
-
"electron-v44.0.0-alpha.
|
|
28
|
-
"electron-v44.0.0-alpha.
|
|
29
|
-
"electron-v44.0.0-alpha.
|
|
30
|
-
"electron-v44.0.0-alpha.
|
|
31
|
-
"electron-v44.0.0-alpha.
|
|
32
|
-
"electron-v44.0.0-alpha.
|
|
33
|
-
"electron-v44.0.0-alpha.
|
|
34
|
-
"electron-v44.0.0-alpha.
|
|
35
|
-
"electron-v44.0.0-alpha.
|
|
36
|
-
"electron-v44.0.0-alpha.
|
|
37
|
-
"electron-v44.0.0-alpha.
|
|
38
|
-
"electron-v44.0.0-alpha.
|
|
39
|
-
"electron-v44.0.0-alpha.
|
|
40
|
-
"electron-v44.0.0-alpha.
|
|
41
|
-
"electron.d.ts": "
|
|
42
|
-
"ffmpeg-v44.0.0-alpha.
|
|
43
|
-
"ffmpeg-v44.0.0-alpha.
|
|
44
|
-
"ffmpeg-v44.0.0-alpha.
|
|
45
|
-
"ffmpeg-v44.0.0-alpha.
|
|
46
|
-
"ffmpeg-v44.0.0-alpha.
|
|
47
|
-
"ffmpeg-v44.0.0-alpha.
|
|
48
|
-
"ffmpeg-v44.0.0-alpha.
|
|
49
|
-
"ffmpeg-v44.0.0-alpha.
|
|
50
|
-
"hunspell_dictionaries.zip": "
|
|
51
|
-
"libcxx-objects-v44.0.0-alpha.
|
|
52
|
-
"libcxx-objects-v44.0.0-alpha.
|
|
53
|
-
"libcxx_headers.zip": "
|
|
54
|
-
"libcxxabi_headers.zip": "
|
|
55
|
-
"mksnapshot-v44.0.0-alpha.
|
|
56
|
-
"mksnapshot-v44.0.0-alpha.
|
|
57
|
-
"mksnapshot-v44.0.0-alpha.
|
|
58
|
-
"mksnapshot-v44.0.0-alpha.
|
|
59
|
-
"mksnapshot-v44.0.0-alpha.
|
|
60
|
-
"mksnapshot-v44.0.0-alpha.
|
|
61
|
-
"mksnapshot-v44.0.0-alpha.
|
|
62
|
-
"mksnapshot-v44.0.0-alpha.
|
|
2
|
+
"chromedriver-v44.0.0-alpha.8-darwin-arm64.zip": "27d056c8abf32db31e18b76e2af4b1a985990b1ff0d1a02d864f416b6e6bbe4f",
|
|
3
|
+
"chromedriver-v44.0.0-alpha.8-darwin-x64.zip": "a3cbc7d89e2cc57e462e65c7643b543defe76c0cb0a31e7b45a158b99fd9bd26",
|
|
4
|
+
"chromedriver-v44.0.0-alpha.8-linux-arm64.zip": "ad6121ce5bb7bb314ab38ca47f73637ae0274b733d583fc54658ada80c5052d2",
|
|
5
|
+
"chromedriver-v44.0.0-alpha.8-linux-x64.zip": "f1e51eb74796f1b9befbdb547e8bcaf5d9aed6fd4fb25d2cdf5dcdcae5b74918",
|
|
6
|
+
"chromedriver-v44.0.0-alpha.8-mas-arm64.zip": "74055cffca7bbeabc4eedf2793d19c8d0cbf256c57e4a1eab2bf44df40939ae3",
|
|
7
|
+
"chromedriver-v44.0.0-alpha.8-mas-x64.zip": "fe805f161c59a544de0d511c76f7934ddaf749b4f80a26d17b857b355c3e870c",
|
|
8
|
+
"chromedriver-v44.0.0-alpha.8-win32-arm64.zip": "25d5477dd2454e6dcf8c65d65607226caa4f34dd909ec10d6b8ea5444baa29fa",
|
|
9
|
+
"chromedriver-v44.0.0-alpha.8-win32-x64.zip": "1d6361a1f6249d0664d0bfe28fb39c8ea887328298176e1c0614edac69c320a1",
|
|
10
|
+
"electron-api.json": "87c2b8c96f777567e2d6b819e026319b6407861af8ee72b181f38cdc67ae1620",
|
|
11
|
+
"electron-v44.0.0-alpha.8-darwin-arm64-dsym-snapshot.zip": "ee7a943453873a2907c955169f9275f32b38d28f51a12ecb938b4b8e86d79795",
|
|
12
|
+
"electron-v44.0.0-alpha.8-darwin-arm64-dsym.tar.xz": "21554e4939df6509a668ac406aacf73ee0dd72676bf6f4781d9cb83244ba85b3",
|
|
13
|
+
"electron-v44.0.0-alpha.8-darwin-arm64-symbols.zip": "fac2e6fa12139c43d169dcbc4d65fb04b5d290d4bdb07b2e88cad25fe300873f",
|
|
14
|
+
"electron-v44.0.0-alpha.8-darwin-arm64.zip": "5fe2f100f95133b85dd39ab64912525e2d610b603fd70fc6b4bb3bbc1350294f",
|
|
15
|
+
"electron-v44.0.0-alpha.8-darwin-x64-dsym-snapshot.zip": "919f56313fe4518a1d8fecefb44b8f3448288f2e16a835ecab500c00bf66223e",
|
|
16
|
+
"electron-v44.0.0-alpha.8-darwin-x64-dsym.tar.xz": "cf42d89daf16f6b799d7b5bb051428973007b91bf845d2c5521abd61c6c8d56c",
|
|
17
|
+
"electron-v44.0.0-alpha.8-darwin-x64-symbols.zip": "7151567da3bf0ff72d179f777966d358943b311ef1f5d2501b94b78c2336df3b",
|
|
18
|
+
"electron-v44.0.0-alpha.8-darwin-x64.zip": "f0aa9eabddbebf6169df313424e70cfbce46ed0d18b42220c67729ce10312c30",
|
|
19
|
+
"electron-v44.0.0-alpha.8-linux-arm64-debug.zip": "e3aae740bad6ab48ac2a3be4644d6d64909cd8502d1e19afdd326091380fc89f",
|
|
20
|
+
"electron-v44.0.0-alpha.8-linux-arm64-symbols.zip": "e3caca254b99eddd974b5a6e9d31d99c0a3c9961b09047525e93b4b8a6334787",
|
|
21
|
+
"electron-v44.0.0-alpha.8-linux-arm64.zip": "546b664b40117b6c8bda31b7140a9739f777906ea3f76ee290ba8faad8755dab",
|
|
22
|
+
"electron-v44.0.0-alpha.8-linux-x64-debug.zip": "457177a2307e61fadffb3619d384909f36b412483125e5769a472131df47ef61",
|
|
23
|
+
"electron-v44.0.0-alpha.8-linux-x64-symbols.zip": "4b2c480401556836110cd539a7020d8520f671e0004b524ac2cbc6ff526b2566",
|
|
24
|
+
"electron-v44.0.0-alpha.8-linux-x64.zip": "85e326a3bbce6e5b09230874b301fdc1146ee83ea65a5034559c5294c9600457",
|
|
25
|
+
"electron-v44.0.0-alpha.8-mas-arm64-dsym-snapshot.zip": "cc18e69502da971dfe367527d8d1b070fff98f56eac5b6c99c5821690c776e9d",
|
|
26
|
+
"electron-v44.0.0-alpha.8-mas-arm64-dsym.tar.xz": "5979dbd15fdde1a28ed4a595a2952e392d30aea0f0bd4365ab4f25d2b5dae537",
|
|
27
|
+
"electron-v44.0.0-alpha.8-mas-arm64-symbols.zip": "ccfe2aba277d3d91c7cccbf740009a41e43b5e04621384aaceaaa3407095e7ca",
|
|
28
|
+
"electron-v44.0.0-alpha.8-mas-arm64.zip": "3e13886b9c40d1df5a11a207d07a4e76838461ff74b8325f978587fb1f440b30",
|
|
29
|
+
"electron-v44.0.0-alpha.8-mas-x64-dsym-snapshot.zip": "ebb5054bd1ede5db94b2a51fe054b6d88a82bfc67aceee88430796fc75f54302",
|
|
30
|
+
"electron-v44.0.0-alpha.8-mas-x64-dsym.tar.xz": "6a32afc5a6b898761b1df24510eb5b4abfc7501b4eb9e6cd4872bd892a5e6045",
|
|
31
|
+
"electron-v44.0.0-alpha.8-mas-x64-symbols.zip": "33e9535067a1d23c0aab5313cb0f7dd6cf7d747d823d78524569b27c08ecec37",
|
|
32
|
+
"electron-v44.0.0-alpha.8-mas-x64.zip": "559ee3af1e4534eaa8e04e5cec526961a236aca1416ed95aebf6bdfa59b20bdc",
|
|
33
|
+
"electron-v44.0.0-alpha.8-win32-arm64-pdb.zip": "3fdcfbff9e3bdc045e73cb2eb124234945a848b69f20fa7a024d6afccbef5ec7",
|
|
34
|
+
"electron-v44.0.0-alpha.8-win32-arm64-symbols.zip": "25780fe58204bc8bba4f4891a6dd7c1022a4f51045f875ba85cdb132c2d3083b",
|
|
35
|
+
"electron-v44.0.0-alpha.8-win32-arm64-toolchain-profile.zip": "93e0253324919c9cd187a9864291f4452e4632747b8ecc1d9ec7e6d6afbf86e9",
|
|
36
|
+
"electron-v44.0.0-alpha.8-win32-arm64.zip": "06f230f1a5cb337984230ef7aa102d26f482a3f7af2c6e699cc85c566ffd187b",
|
|
37
|
+
"electron-v44.0.0-alpha.8-win32-x64-pdb.zip": "f31a6af7c7826669877212adbdbebd7e6aacccf23d266da960a8f9b57eb8a7bd",
|
|
38
|
+
"electron-v44.0.0-alpha.8-win32-x64-symbols.zip": "26edc5e02a92b1999a49e5f7304df3e0c78dabd7edfadbee27b2057a8c2e2000",
|
|
39
|
+
"electron-v44.0.0-alpha.8-win32-x64-toolchain-profile.zip": "93e0253324919c9cd187a9864291f4452e4632747b8ecc1d9ec7e6d6afbf86e9",
|
|
40
|
+
"electron-v44.0.0-alpha.8-win32-x64.zip": "1857a6b83cd8d0d99159a989e526bb0b41e5e7786626a179dc70dc124a42bd77",
|
|
41
|
+
"electron.d.ts": "c6c4d566762a5a74591c656978f740471b0cf997f7c5fb2ab15e65438d682253",
|
|
42
|
+
"ffmpeg-v44.0.0-alpha.8-darwin-arm64.zip": "a3f25d333840bbdae0d696ca5c454b8874a71a7d4df958cc17f7738f5d84c058",
|
|
43
|
+
"ffmpeg-v44.0.0-alpha.8-darwin-x64.zip": "7f3d04aa8704f2dcd97f134bccbcd16c738874100aa6a7f23ffdb8e8fd61fa48",
|
|
44
|
+
"ffmpeg-v44.0.0-alpha.8-linux-arm64.zip": "da453aa8631c2d24112ea9c01c0fbf82bf300f385e282e5f37c1655c6cef6236",
|
|
45
|
+
"ffmpeg-v44.0.0-alpha.8-linux-x64.zip": "752e6bff6a30cff96e24bfc3bc66eb41dfda2b85326227b90b34f6dad341ba2f",
|
|
46
|
+
"ffmpeg-v44.0.0-alpha.8-mas-arm64.zip": "aa03a4f8f8dd7180cc1a3ebed6b234c9df2f9be7053a33994fe0000dfaa4cecf",
|
|
47
|
+
"ffmpeg-v44.0.0-alpha.8-mas-x64.zip": "aedfa6ec55ead6251c61180b7b456074a78feadcc3ae27fe29b312a4ef61475e",
|
|
48
|
+
"ffmpeg-v44.0.0-alpha.8-win32-arm64.zip": "53bbe24bc7c5b2d093b5aaa908af815a38b84005183f63665c6f5ae64624fd6c",
|
|
49
|
+
"ffmpeg-v44.0.0-alpha.8-win32-x64.zip": "5aff2b7b518bc4d6d6c4f7dc4e798f9e1e1c1d2a0a9c81f7b035705ba3b22e66",
|
|
50
|
+
"hunspell_dictionaries.zip": "8cad9e21e51840642a1b11425f7b6025ee23b65fbab50635e916bf769be33002",
|
|
51
|
+
"libcxx-objects-v44.0.0-alpha.8-linux-arm64.zip": "f1eb847e12aa4feaf5bb18794e85dc9da8754872c649ee216747663449a7a4d8",
|
|
52
|
+
"libcxx-objects-v44.0.0-alpha.8-linux-x64.zip": "61023162542e0ffa40f78924b691a671d035aec0646738390cb844c3c487f150",
|
|
53
|
+
"libcxx_headers.zip": "9a909adf1fa420a6a4fe3b52bccdf4ab95ab80b8e71bbef3a3cbba47b0fd476e",
|
|
54
|
+
"libcxxabi_headers.zip": "be2f8fe6fea9b0bad2659dfe73aeaf40e8cc1bf25338d6cfb7b5e87c03bd2627",
|
|
55
|
+
"mksnapshot-v44.0.0-alpha.8-darwin-arm64.zip": "9ab1bd20a314f1405436bc7ec3248046579956a9d458e7d01ee6976c1ce127a1",
|
|
56
|
+
"mksnapshot-v44.0.0-alpha.8-darwin-x64.zip": "3d282b382a8349a6b09dab3a72d9ced7381b23cea13532e2330379793ba1a64a",
|
|
57
|
+
"mksnapshot-v44.0.0-alpha.8-linux-arm64-x64.zip": "6892703eb8db3073e8b53f770383e3e8f9b8cb36893adfa88e31e5b7f253a20c",
|
|
58
|
+
"mksnapshot-v44.0.0-alpha.8-linux-x64.zip": "37f2b2ac0485c822a7216893509d93779ba807a6c8529e692c223097d9b48c8a",
|
|
59
|
+
"mksnapshot-v44.0.0-alpha.8-mas-arm64.zip": "7938bce09e503cd8f0a080549ca89c53c78cbf28314929e4862768eeecaa7e8b",
|
|
60
|
+
"mksnapshot-v44.0.0-alpha.8-mas-x64.zip": "b4f4db85713fd46e147fc1425cf5d5bcadc62cb6229e4ecbeffb49daf74e5764",
|
|
61
|
+
"mksnapshot-v44.0.0-alpha.8-win32-arm64-x64.zip": "70b10ec56ca820cc260f869b46da2a9a834b5a18976760decf5920c766a17faa",
|
|
62
|
+
"mksnapshot-v44.0.0-alpha.8-win32-x64.zip": "843a609549550e2a29a3c4a05c987b067edf76ea2ec3aba50d6071942341e0a4"
|
|
63
63
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 44.0.0-alpha.
|
|
1
|
+
// Type definitions for Electron 44.0.0-alpha.8
|
|
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
|
/**
|
|
@@ -1403,9 +1403,9 @@ declare namespace Electron {
|
|
|
1403
1403
|
*/
|
|
1404
1404
|
invalidateCurrentActivity(): void;
|
|
1405
1405
|
/**
|
|
1406
|
-
* `true` if
|
|
1407
|
-
* will return `true` if the use of assistive technologies, such as screen
|
|
1408
|
-
* has been detected. See
|
|
1406
|
+
* `true` if Chromium's accessibility support is enabled, `false` otherwise. This
|
|
1407
|
+
* API will return `true` if the use of assistive technologies, such as screen
|
|
1408
|
+
* readers, has been detected. See
|
|
1409
1409
|
* https://www.chromium.org/developers/design-documents/accessibility for more
|
|
1410
1410
|
* details.
|
|
1411
1411
|
*
|
|
@@ -1590,7 +1590,7 @@ declare namespace Electron {
|
|
|
1590
1590
|
*/
|
|
1591
1591
|
setAboutPanelOptions(options: AboutPanelOptionsOptions): void;
|
|
1592
1592
|
/**
|
|
1593
|
-
* Manually enables
|
|
1593
|
+
* Manually enables Chromium's accessibility support, allowing to expose
|
|
1594
1594
|
* accessibility switch to users in application settings. See Chromium's
|
|
1595
1595
|
* accessibility docs for more details. Disabled by default.
|
|
1596
1596
|
*
|
|
@@ -1894,10 +1894,10 @@ declare namespace Electron {
|
|
|
1894
1894
|
*/
|
|
1895
1895
|
whenReady(): Promise<void>;
|
|
1896
1896
|
/**
|
|
1897
|
-
* A `boolean` property that's `true` if
|
|
1898
|
-
* `false` otherwise. This property will be `true` if the use of assistive
|
|
1897
|
+
* A `boolean` property that's `true` if Chromium's accessibility support is
|
|
1898
|
+
* enabled, `false` otherwise. This property will be `true` if the use of assistive
|
|
1899
1899
|
* technologies, such as screen readers, has been detected. Setting this property
|
|
1900
|
-
* to `true` manually enables
|
|
1900
|
+
* to `true` manually enables Chromium's accessibility support, allowing developers
|
|
1901
1901
|
* to expose accessibility switch to users in application settings.
|
|
1902
1902
|
*
|
|
1903
1903
|
* See Chromium's accessibility docs for more details. Disabled by default.
|
|
@@ -6949,118 +6949,91 @@ declare namespace Electron {
|
|
|
6949
6949
|
|
|
6950
6950
|
// Docs: https://electronjs.org/docs/api/clipboard
|
|
6951
6951
|
|
|
6952
|
-
/**
|
|
6953
|
-
* An array of supported formats for the clipboard `type`.
|
|
6954
|
-
*/
|
|
6955
|
-
availableFormats(type?: 'selection' | 'clipboard'): string[];
|
|
6956
6952
|
/**
|
|
6957
6953
|
* Clears the clipboard content.
|
|
6958
6954
|
*/
|
|
6959
|
-
clear(
|
|
6960
|
-
/**
|
|
6961
|
-
* Whether the clipboard supports the specified `format`.
|
|
6962
|
-
*
|
|
6963
|
-
* @experimental
|
|
6964
|
-
*/
|
|
6965
|
-
has(format: string, type?: 'selection' | 'clipboard'): boolean;
|
|
6966
|
-
/**
|
|
6967
|
-
* Reads `format` type from the clipboard.
|
|
6968
|
-
*
|
|
6969
|
-
* `format` should contain valid ASCII characters and have `/` separator. `a/c`,
|
|
6970
|
-
* `a/bc` are valid formats while `/abc`, `abc/`, `a/`, `/a`, `a` are not valid.
|
|
6971
|
-
*
|
|
6972
|
-
* @experimental
|
|
6973
|
-
*/
|
|
6974
|
-
read(format: string): string;
|
|
6975
|
-
/**
|
|
6976
|
-
* * `title` string
|
|
6977
|
-
* * `url` string
|
|
6978
|
-
*
|
|
6979
|
-
* Returns an Object containing `title` and `url` keys representing the bookmark in
|
|
6980
|
-
* the clipboard. The `title` and `url` values will be empty strings when the
|
|
6981
|
-
* bookmark is unavailable. The `title` value will always be empty on Windows.
|
|
6982
|
-
*
|
|
6983
|
-
* @platform darwin,win32
|
|
6984
|
-
*/
|
|
6985
|
-
readBookmark(): ReadBookmark;
|
|
6986
|
-
/**
|
|
6987
|
-
* Reads `format` type from the clipboard.
|
|
6988
|
-
*
|
|
6989
|
-
* @experimental
|
|
6990
|
-
*/
|
|
6991
|
-
readBuffer(format: string): Buffer;
|
|
6992
|
-
/**
|
|
6993
|
-
* The text on the find pasteboard, which is the pasteboard that holds information
|
|
6994
|
-
* about the current state of the active application’s find panel.
|
|
6995
|
-
*
|
|
6996
|
-
* This method uses synchronous IPC when called from the renderer process. The
|
|
6997
|
-
* cached value is reread from the find pasteboard whenever the application is
|
|
6998
|
-
* activated.
|
|
6999
|
-
*
|
|
7000
|
-
* @platform darwin
|
|
7001
|
-
*/
|
|
7002
|
-
readFindText(): string;
|
|
6955
|
+
clear(): void;
|
|
7003
6956
|
/**
|
|
7004
|
-
*
|
|
6957
|
+
* A promise that resolves with `true` if the clipboard contains data of the
|
|
6958
|
+
* specified `mimetype`, otherwise `false`. To check for a raw format, eg
|
|
6959
|
+
* `public/utf8-plain-text`, use the `electron application/osclipboard` custom
|
|
6960
|
+
* format (`electron application/osclipboard;format="public/utf8-plain-text"`).
|
|
7005
6961
|
*/
|
|
7006
|
-
|
|
6962
|
+
has(mimetype: string): Promise<boolean>;
|
|
7007
6963
|
/**
|
|
7008
|
-
*
|
|
6964
|
+
* A promise that resolves with an array of ClipboardItem objects containing the
|
|
6965
|
+
* clipboard's contents.
|
|
7009
6966
|
*/
|
|
7010
|
-
|
|
6967
|
+
read(): Promise<Electron.ClipboardItem[]>;
|
|
7011
6968
|
/**
|
|
7012
|
-
*
|
|
6969
|
+
* A promise that resolves with the content of the clipboard as plain text. Modeled
|
|
6970
|
+
* after the W3C `navigator.clipboard.readText` API.
|
|
7013
6971
|
*/
|
|
7014
|
-
|
|
6972
|
+
readText(): Promise<string>;
|
|
7015
6973
|
/**
|
|
7016
|
-
*
|
|
6974
|
+
* Resolves once the data has been written to the clipboard. All entries supplied
|
|
6975
|
+
* in a single `write()` call are committed to the system clipboard atomically.
|
|
7017
6976
|
*/
|
|
7018
|
-
|
|
6977
|
+
write(data: ClipboardItem[]): Promise<void>;
|
|
7019
6978
|
/**
|
|
7020
|
-
*
|
|
6979
|
+
* A promise that resolves once the text has been written to the clipboard. Modeled
|
|
6980
|
+
* after the W3C `navigator.clipboard.writeText` API.
|
|
7021
6981
|
*/
|
|
7022
|
-
|
|
6982
|
+
writeText(text: string): Promise<void>;
|
|
7023
6983
|
/**
|
|
7024
|
-
*
|
|
7025
|
-
*
|
|
7026
|
-
*
|
|
7027
|
-
*
|
|
7028
|
-
* clipboard.
|
|
6984
|
+
* A `Clipboard` property — a `Clipboard` object on Linux that operates against the
|
|
6985
|
+
* selection clipboard instead of the system clipboard, and `undefined` on all
|
|
6986
|
+
* other platforms. It exposes the same `read`, `write`, `readText`, `writeText`,
|
|
6987
|
+
* `has`, and `clear` methods as the top-level `clipboard` module.
|
|
7029
6988
|
*
|
|
7030
|
-
* @platform
|
|
6989
|
+
* @platform linux
|
|
7031
6990
|
*/
|
|
7032
|
-
|
|
6991
|
+
readonly selection: Clipboard;
|
|
6992
|
+
}
|
|
6993
|
+
|
|
6994
|
+
interface ClipboardBookmark {
|
|
6995
|
+
|
|
6996
|
+
// Docs: https://electronjs.org/docs/api/structures/clipboard-bookmark
|
|
6997
|
+
|
|
7033
6998
|
/**
|
|
7034
|
-
*
|
|
7035
|
-
*
|
|
7036
|
-
* @experimental
|
|
6999
|
+
* The title of the bookmark.
|
|
7037
7000
|
*/
|
|
7038
|
-
|
|
7001
|
+
title: string;
|
|
7039
7002
|
/**
|
|
7040
|
-
*
|
|
7041
|
-
* information about the current state of the active application’s find panel) as
|
|
7042
|
-
* plain text. This method uses synchronous IPC when called from the renderer
|
|
7043
|
-
* process.
|
|
7044
|
-
*
|
|
7045
|
-
* @platform darwin
|
|
7003
|
+
* The URL of the bookmark.
|
|
7046
7004
|
*/
|
|
7047
|
-
|
|
7005
|
+
url: string;
|
|
7006
|
+
}
|
|
7007
|
+
|
|
7008
|
+
class ClipboardItem {
|
|
7009
|
+
|
|
7010
|
+
// Docs: https://electronjs.org/docs/api/clipboard-item
|
|
7011
|
+
|
|
7048
7012
|
/**
|
|
7049
|
-
*
|
|
7013
|
+
* ClipboardItem
|
|
7050
7014
|
*/
|
|
7051
|
-
|
|
7015
|
+
constructor(items: Record<string, (string) | (ClipboardBookmark) | (Blob) | (Promise<(Blob) | (string)>)>);
|
|
7052
7016
|
/**
|
|
7053
|
-
*
|
|
7017
|
+
* Resolves with the payload for the given MIME type. Modeled after the W3C
|
|
7018
|
+
* `ClipboardItem.getType` method. The promise resolves to a `Blob` for most MIME
|
|
7019
|
+
* types; the one exception is `getType('electron application/bookmark')`, which
|
|
7020
|
+
* resolves to a ClipboardBookmark object instead. Rejects when `type` is not
|
|
7021
|
+
* present in `clipboardItem.types`.
|
|
7054
7022
|
*/
|
|
7055
|
-
|
|
7023
|
+
getType(type: string): (Promise<Blob>) | (Promise<Electron.ClipboardBookmark>);
|
|
7056
7024
|
/**
|
|
7057
|
-
*
|
|
7025
|
+
* Resolves with a ClipboardBookmark when a bookmark is available in the clipboard.
|
|
7026
|
+
* Rejects when a bookmark is not available in the clipboard.
|
|
7058
7027
|
*/
|
|
7059
|
-
|
|
7028
|
+
getType(bookmark: 'electron application/bookmark'): Promise<Electron.ClipboardBookmark>;
|
|
7060
7029
|
/**
|
|
7061
|
-
*
|
|
7030
|
+
* A `string[]` property — the MIME types of the data carried by this entry. For a
|
|
7031
|
+
* constructed `ClipboardItem` these are the keys passed to the constructor; for an
|
|
7032
|
+
* item returned by `clipboard.read()` these are the MIME types the platform
|
|
7033
|
+
* clipboard currently makes available.
|
|
7034
|
+
*
|
|
7062
7035
|
*/
|
|
7063
|
-
|
|
7036
|
+
readonly types: string[];
|
|
7064
7037
|
}
|
|
7065
7038
|
|
|
7066
7039
|
interface ColorSpace {
|
|
@@ -10226,8 +10199,8 @@ declare namespace Electron {
|
|
|
10226
10199
|
* see Response.
|
|
10227
10200
|
*
|
|
10228
10201
|
* Sends a request, similarly to how `fetch()` works in the renderer, using
|
|
10229
|
-
*
|
|
10230
|
-
* HTTP stack.
|
|
10202
|
+
* Chromium's network stack. This differs from Node's `fetch()`, which uses
|
|
10203
|
+
* Node.js's HTTP stack.
|
|
10231
10204
|
*
|
|
10232
10205
|
* Example:
|
|
10233
10206
|
*
|
|
@@ -13000,8 +12973,8 @@ declare namespace Electron {
|
|
|
13000
12973
|
* see Response.
|
|
13001
12974
|
*
|
|
13002
12975
|
* Sends a request, similarly to how `fetch()` works in the renderer, using
|
|
13003
|
-
*
|
|
13004
|
-
* HTTP stack.
|
|
12976
|
+
* Chromium's network stack. This differs from Node's `fetch()`, which uses
|
|
12977
|
+
* Node.js's HTTP stack.
|
|
13005
12978
|
*
|
|
13006
12979
|
* Example:
|
|
13007
12980
|
*
|
|
@@ -17155,23 +17128,23 @@ declare namespace Electron {
|
|
|
17155
17128
|
* The usage is the same with the `login` event of `app`.
|
|
17156
17129
|
*/
|
|
17157
17130
|
on(event: 'login', listener: (event: Event,
|
|
17158
|
-
authenticationResponseDetails:
|
|
17131
|
+
authenticationResponseDetails: AuthenticationResponseDetails,
|
|
17159
17132
|
authInfo: AuthInfo,
|
|
17160
17133
|
callback: (username?: string, password?: string) => void) => void): this;
|
|
17161
17134
|
off(event: 'login', listener: (event: Event,
|
|
17162
|
-
authenticationResponseDetails:
|
|
17135
|
+
authenticationResponseDetails: AuthenticationResponseDetails,
|
|
17163
17136
|
authInfo: AuthInfo,
|
|
17164
17137
|
callback: (username?: string, password?: string) => void) => void): this;
|
|
17165
17138
|
once(event: 'login', listener: (event: Event,
|
|
17166
|
-
authenticationResponseDetails:
|
|
17139
|
+
authenticationResponseDetails: AuthenticationResponseDetails,
|
|
17167
17140
|
authInfo: AuthInfo,
|
|
17168
17141
|
callback: (username?: string, password?: string) => void) => void): this;
|
|
17169
17142
|
addListener(event: 'login', listener: (event: Event,
|
|
17170
|
-
authenticationResponseDetails:
|
|
17143
|
+
authenticationResponseDetails: AuthenticationResponseDetails,
|
|
17171
17144
|
authInfo: AuthInfo,
|
|
17172
17145
|
callback: (username?: string, password?: string) => void) => void): this;
|
|
17173
17146
|
removeListener(event: 'login', listener: (event: Event,
|
|
17174
|
-
authenticationResponseDetails:
|
|
17147
|
+
authenticationResponseDetails: AuthenticationResponseDetails,
|
|
17175
17148
|
authInfo: AuthInfo,
|
|
17176
17149
|
callback: (username?: string, password?: string) => void) => void): this;
|
|
17177
17150
|
/**
|
|
@@ -20544,6 +20517,18 @@ declare namespace Electron {
|
|
|
20544
20517
|
interface AuthenticationResponseDetails {
|
|
20545
20518
|
url: string;
|
|
20546
20519
|
pid: number;
|
|
20520
|
+
/**
|
|
20521
|
+
* Indicates whether the request is for a navigation.
|
|
20522
|
+
*/
|
|
20523
|
+
isRequestForNavigation: boolean;
|
|
20524
|
+
/**
|
|
20525
|
+
* Indicates whether this is the first authentication attempt.
|
|
20526
|
+
*/
|
|
20527
|
+
firstAuthAttempt: boolean;
|
|
20528
|
+
/**
|
|
20529
|
+
* The headers returned in the response.
|
|
20530
|
+
*/
|
|
20531
|
+
responseHeaders?: Record<string, (string) | (string[])>;
|
|
20547
20532
|
}
|
|
20548
20533
|
|
|
20549
20534
|
interface AuthInfo {
|
|
@@ -21338,17 +21323,6 @@ declare namespace Electron {
|
|
|
21338
21323
|
startTime?: number;
|
|
21339
21324
|
}
|
|
21340
21325
|
|
|
21341
|
-
interface Data {
|
|
21342
|
-
text?: string;
|
|
21343
|
-
html?: string;
|
|
21344
|
-
image?: NativeImage;
|
|
21345
|
-
rtf?: string;
|
|
21346
|
-
/**
|
|
21347
|
-
* The title of the URL at `text`.
|
|
21348
|
-
*/
|
|
21349
|
-
bookmark?: string;
|
|
21350
|
-
}
|
|
21351
|
-
|
|
21352
21326
|
interface DecryptStringAsyncReturnValue {
|
|
21353
21327
|
/**
|
|
21354
21328
|
* whether data that has just been returned from the decrypt operation should be
|
|
@@ -22101,10 +22075,6 @@ declare namespace Electron {
|
|
|
22101
22075
|
baseURLForDataURL?: string;
|
|
22102
22076
|
}
|
|
22103
22077
|
|
|
22104
|
-
interface LoginAuthenticationResponseDetails {
|
|
22105
|
-
url: string;
|
|
22106
|
-
}
|
|
22107
|
-
|
|
22108
22078
|
interface LoginItemSettings {
|
|
22109
22079
|
/**
|
|
22110
22080
|
* `true` if the app is set to open at login.
|
|
@@ -23311,11 +23281,6 @@ declare namespace Electron {
|
|
|
23311
23281
|
username?: string;
|
|
23312
23282
|
}
|
|
23313
23283
|
|
|
23314
|
-
interface ReadBookmark {
|
|
23315
|
-
title: string;
|
|
23316
|
-
url: string;
|
|
23317
|
-
}
|
|
23318
|
-
|
|
23319
23284
|
interface ReceivedSharedTextureData {
|
|
23320
23285
|
/**
|
|
23321
23286
|
* The imported shared texture.
|
|
@@ -23785,6 +23750,15 @@ declare namespace Electron {
|
|
|
23785
23750
|
* The total amount of memory not being used by applications or disk cache.
|
|
23786
23751
|
*/
|
|
23787
23752
|
free: number;
|
|
23753
|
+
/**
|
|
23754
|
+
* The kernel's estimate of the amount of memory available for allocation without
|
|
23755
|
+
* swapping, from `/proc/meminfo` `MemAvailable`. Use this as the memory pressure
|
|
23756
|
+
* signal on Linux; `free` there is `MemFree`, which excludes page cache and other
|
|
23757
|
+
* reclaimable memory.
|
|
23758
|
+
*
|
|
23759
|
+
* @platform linux
|
|
23760
|
+
*/
|
|
23761
|
+
available: number;
|
|
23788
23762
|
/**
|
|
23789
23763
|
* The amount of memory that currently has been paged out to storage. Includes
|
|
23790
23764
|
* memory for file caches, network buffers, and other system services.
|
|
@@ -25036,8 +25010,6 @@ declare namespace Electron {
|
|
|
25036
25010
|
|
|
25037
25011
|
namespace Common {
|
|
25038
25012
|
type Event<Params extends object = {}> = Electron.Event<Params>;
|
|
25039
|
-
const clipboard: Clipboard;
|
|
25040
|
-
type Clipboard = Electron.Clipboard;
|
|
25041
25013
|
const crashReporter: CrashReporter;
|
|
25042
25014
|
type CrashReporter = Electron.CrashReporter;
|
|
25043
25015
|
const nativeImage: typeof NativeImage;
|
|
@@ -25087,7 +25059,6 @@ declare namespace Electron {
|
|
|
25087
25059
|
type CreateFromBufferOptions = Electron.CreateFromBufferOptions;
|
|
25088
25060
|
type CreateFromNamedImageOptions = Electron.CreateFromNamedImageOptions;
|
|
25089
25061
|
type CreateInterruptedDownloadOptions = Electron.CreateInterruptedDownloadOptions;
|
|
25090
|
-
type Data = Electron.Data;
|
|
25091
25062
|
type DecryptStringAsyncReturnValue = Electron.DecryptStringAsyncReturnValue;
|
|
25092
25063
|
type DefaultFontFamily = Electron.DefaultFontFamily;
|
|
25093
25064
|
type Details = Electron.Details;
|
|
@@ -25138,7 +25109,6 @@ declare namespace Electron {
|
|
|
25138
25109
|
type LoadExtensionOptions = Electron.LoadExtensionOptions;
|
|
25139
25110
|
type LoadFileOptions = Electron.LoadFileOptions;
|
|
25140
25111
|
type LoadURLOptions = Electron.LoadURLOptions;
|
|
25141
|
-
type LoginAuthenticationResponseDetails = Electron.LoginAuthenticationResponseDetails;
|
|
25142
25112
|
type LoginItemSettings = Electron.LoginItemSettings;
|
|
25143
25113
|
type LoginItemSettingsOptions = Electron.LoginItemSettingsOptions;
|
|
25144
25114
|
type MenuItemConstructorOptions = Electron.MenuItemConstructorOptions;
|
|
@@ -25183,7 +25153,6 @@ declare namespace Electron {
|
|
|
25183
25153
|
type ProgressBarOptions = Electron.ProgressBarOptions;
|
|
25184
25154
|
type Provider = Electron.Provider;
|
|
25185
25155
|
type PurchaseProductOpts = Electron.PurchaseProductOpts;
|
|
25186
|
-
type ReadBookmark = Electron.ReadBookmark;
|
|
25187
25156
|
type ReceivedSharedTextureData = Electron.ReceivedSharedTextureData;
|
|
25188
25157
|
type RegistrationCompletedDetails = Electron.RegistrationCompletedDetails;
|
|
25189
25158
|
type RelaunchOptions = Electron.RelaunchOptions;
|
|
@@ -25278,6 +25247,7 @@ declare namespace Electron {
|
|
|
25278
25247
|
type BluetoothDevice = Electron.BluetoothDevice;
|
|
25279
25248
|
type Certificate = Electron.Certificate;
|
|
25280
25249
|
type CertificatePrincipal = Electron.CertificatePrincipal;
|
|
25250
|
+
type ClipboardBookmark = Electron.ClipboardBookmark;
|
|
25281
25251
|
type ColorSpace = Electron.ColorSpace;
|
|
25282
25252
|
type Cookie = Electron.Cookie;
|
|
25283
25253
|
type CPUUsage = Electron.CPUUsage;
|
|
@@ -25382,6 +25352,9 @@ declare namespace Electron {
|
|
|
25382
25352
|
class BrowserView extends Electron.BrowserView {}
|
|
25383
25353
|
class BrowserWindow extends Electron.BrowserWindow {}
|
|
25384
25354
|
type ClientRequest = Electron.ClientRequest;
|
|
25355
|
+
const clipboard: Clipboard;
|
|
25356
|
+
type Clipboard = Electron.Clipboard;
|
|
25357
|
+
class ClipboardItem extends Electron.ClipboardItem {}
|
|
25385
25358
|
type CommandLine = Electron.CommandLine;
|
|
25386
25359
|
const contentTracing: ContentTracing;
|
|
25387
25360
|
type ContentTracing = Electron.ContentTracing;
|
|
@@ -25497,7 +25470,6 @@ declare namespace Electron {
|
|
|
25497
25470
|
type CreateFromBufferOptions = Electron.CreateFromBufferOptions;
|
|
25498
25471
|
type CreateFromNamedImageOptions = Electron.CreateFromNamedImageOptions;
|
|
25499
25472
|
type CreateInterruptedDownloadOptions = Electron.CreateInterruptedDownloadOptions;
|
|
25500
|
-
type Data = Electron.Data;
|
|
25501
25473
|
type DecryptStringAsyncReturnValue = Electron.DecryptStringAsyncReturnValue;
|
|
25502
25474
|
type DefaultFontFamily = Electron.DefaultFontFamily;
|
|
25503
25475
|
type Details = Electron.Details;
|
|
@@ -25548,7 +25520,6 @@ declare namespace Electron {
|
|
|
25548
25520
|
type LoadExtensionOptions = Electron.LoadExtensionOptions;
|
|
25549
25521
|
type LoadFileOptions = Electron.LoadFileOptions;
|
|
25550
25522
|
type LoadURLOptions = Electron.LoadURLOptions;
|
|
25551
|
-
type LoginAuthenticationResponseDetails = Electron.LoginAuthenticationResponseDetails;
|
|
25552
25523
|
type LoginItemSettings = Electron.LoginItemSettings;
|
|
25553
25524
|
type LoginItemSettingsOptions = Electron.LoginItemSettingsOptions;
|
|
25554
25525
|
type MenuItemConstructorOptions = Electron.MenuItemConstructorOptions;
|
|
@@ -25593,7 +25564,6 @@ declare namespace Electron {
|
|
|
25593
25564
|
type ProgressBarOptions = Electron.ProgressBarOptions;
|
|
25594
25565
|
type Provider = Electron.Provider;
|
|
25595
25566
|
type PurchaseProductOpts = Electron.PurchaseProductOpts;
|
|
25596
|
-
type ReadBookmark = Electron.ReadBookmark;
|
|
25597
25567
|
type ReceivedSharedTextureData = Electron.ReceivedSharedTextureData;
|
|
25598
25568
|
type RegistrationCompletedDetails = Electron.RegistrationCompletedDetails;
|
|
25599
25569
|
type RelaunchOptions = Electron.RelaunchOptions;
|
|
@@ -25688,6 +25658,7 @@ declare namespace Electron {
|
|
|
25688
25658
|
type BluetoothDevice = Electron.BluetoothDevice;
|
|
25689
25659
|
type Certificate = Electron.Certificate;
|
|
25690
25660
|
type CertificatePrincipal = Electron.CertificatePrincipal;
|
|
25661
|
+
type ClipboardBookmark = Electron.ClipboardBookmark;
|
|
25691
25662
|
type ColorSpace = Electron.ColorSpace;
|
|
25692
25663
|
type Cookie = Electron.Cookie;
|
|
25693
25664
|
type CPUUsage = Electron.CPUUsage;
|
|
@@ -25834,7 +25805,6 @@ declare namespace Electron {
|
|
|
25834
25805
|
type CreateFromBufferOptions = Electron.CreateFromBufferOptions;
|
|
25835
25806
|
type CreateFromNamedImageOptions = Electron.CreateFromNamedImageOptions;
|
|
25836
25807
|
type CreateInterruptedDownloadOptions = Electron.CreateInterruptedDownloadOptions;
|
|
25837
|
-
type Data = Electron.Data;
|
|
25838
25808
|
type DecryptStringAsyncReturnValue = Electron.DecryptStringAsyncReturnValue;
|
|
25839
25809
|
type DefaultFontFamily = Electron.DefaultFontFamily;
|
|
25840
25810
|
type Details = Electron.Details;
|
|
@@ -25885,7 +25855,6 @@ declare namespace Electron {
|
|
|
25885
25855
|
type LoadExtensionOptions = Electron.LoadExtensionOptions;
|
|
25886
25856
|
type LoadFileOptions = Electron.LoadFileOptions;
|
|
25887
25857
|
type LoadURLOptions = Electron.LoadURLOptions;
|
|
25888
|
-
type LoginAuthenticationResponseDetails = Electron.LoginAuthenticationResponseDetails;
|
|
25889
25858
|
type LoginItemSettings = Electron.LoginItemSettings;
|
|
25890
25859
|
type LoginItemSettingsOptions = Electron.LoginItemSettingsOptions;
|
|
25891
25860
|
type MenuItemConstructorOptions = Electron.MenuItemConstructorOptions;
|
|
@@ -25930,7 +25899,6 @@ declare namespace Electron {
|
|
|
25930
25899
|
type ProgressBarOptions = Electron.ProgressBarOptions;
|
|
25931
25900
|
type Provider = Electron.Provider;
|
|
25932
25901
|
type PurchaseProductOpts = Electron.PurchaseProductOpts;
|
|
25933
|
-
type ReadBookmark = Electron.ReadBookmark;
|
|
25934
25902
|
type ReceivedSharedTextureData = Electron.ReceivedSharedTextureData;
|
|
25935
25903
|
type RegistrationCompletedDetails = Electron.RegistrationCompletedDetails;
|
|
25936
25904
|
type RelaunchOptions = Electron.RelaunchOptions;
|
|
@@ -26025,6 +25993,7 @@ declare namespace Electron {
|
|
|
26025
25993
|
type BluetoothDevice = Electron.BluetoothDevice;
|
|
26026
25994
|
type Certificate = Electron.Certificate;
|
|
26027
25995
|
type CertificatePrincipal = Electron.CertificatePrincipal;
|
|
25996
|
+
type ClipboardBookmark = Electron.ClipboardBookmark;
|
|
26028
25997
|
type ColorSpace = Electron.ColorSpace;
|
|
26029
25998
|
type Cookie = Electron.Cookie;
|
|
26030
25999
|
type CPUUsage = Electron.CPUUsage;
|
|
@@ -26170,7 +26139,6 @@ declare namespace Electron {
|
|
|
26170
26139
|
type CreateFromBufferOptions = Electron.CreateFromBufferOptions;
|
|
26171
26140
|
type CreateFromNamedImageOptions = Electron.CreateFromNamedImageOptions;
|
|
26172
26141
|
type CreateInterruptedDownloadOptions = Electron.CreateInterruptedDownloadOptions;
|
|
26173
|
-
type Data = Electron.Data;
|
|
26174
26142
|
type DecryptStringAsyncReturnValue = Electron.DecryptStringAsyncReturnValue;
|
|
26175
26143
|
type DefaultFontFamily = Electron.DefaultFontFamily;
|
|
26176
26144
|
type Details = Electron.Details;
|
|
@@ -26221,7 +26189,6 @@ declare namespace Electron {
|
|
|
26221
26189
|
type LoadExtensionOptions = Electron.LoadExtensionOptions;
|
|
26222
26190
|
type LoadFileOptions = Electron.LoadFileOptions;
|
|
26223
26191
|
type LoadURLOptions = Electron.LoadURLOptions;
|
|
26224
|
-
type LoginAuthenticationResponseDetails = Electron.LoginAuthenticationResponseDetails;
|
|
26225
26192
|
type LoginItemSettings = Electron.LoginItemSettings;
|
|
26226
26193
|
type LoginItemSettingsOptions = Electron.LoginItemSettingsOptions;
|
|
26227
26194
|
type MenuItemConstructorOptions = Electron.MenuItemConstructorOptions;
|
|
@@ -26266,7 +26233,6 @@ declare namespace Electron {
|
|
|
26266
26233
|
type ProgressBarOptions = Electron.ProgressBarOptions;
|
|
26267
26234
|
type Provider = Electron.Provider;
|
|
26268
26235
|
type PurchaseProductOpts = Electron.PurchaseProductOpts;
|
|
26269
|
-
type ReadBookmark = Electron.ReadBookmark;
|
|
26270
26236
|
type ReceivedSharedTextureData = Electron.ReceivedSharedTextureData;
|
|
26271
26237
|
type RegistrationCompletedDetails = Electron.RegistrationCompletedDetails;
|
|
26272
26238
|
type RelaunchOptions = Electron.RelaunchOptions;
|
|
@@ -26361,6 +26327,7 @@ declare namespace Electron {
|
|
|
26361
26327
|
type BluetoothDevice = Electron.BluetoothDevice;
|
|
26362
26328
|
type Certificate = Electron.Certificate;
|
|
26363
26329
|
type CertificatePrincipal = Electron.CertificatePrincipal;
|
|
26330
|
+
type ClipboardBookmark = Electron.ClipboardBookmark;
|
|
26364
26331
|
type ColorSpace = Electron.ColorSpace;
|
|
26365
26332
|
type Cookie = Electron.Cookie;
|
|
26366
26333
|
type CPUUsage = Electron.CPUUsage;
|
|
@@ -26467,6 +26434,7 @@ declare namespace Electron {
|
|
|
26467
26434
|
type ClientRequest = Electron.ClientRequest;
|
|
26468
26435
|
const clipboard: Clipboard;
|
|
26469
26436
|
type Clipboard = Electron.Clipboard;
|
|
26437
|
+
class ClipboardItem extends Electron.ClipboardItem {}
|
|
26470
26438
|
type CommandLine = Electron.CommandLine;
|
|
26471
26439
|
const contentTracing: ContentTracing;
|
|
26472
26440
|
type ContentTracing = Electron.ContentTracing;
|
|
@@ -26601,7 +26569,6 @@ declare namespace Electron {
|
|
|
26601
26569
|
type CreateFromBufferOptions = Electron.CreateFromBufferOptions;
|
|
26602
26570
|
type CreateFromNamedImageOptions = Electron.CreateFromNamedImageOptions;
|
|
26603
26571
|
type CreateInterruptedDownloadOptions = Electron.CreateInterruptedDownloadOptions;
|
|
26604
|
-
type Data = Electron.Data;
|
|
26605
26572
|
type DecryptStringAsyncReturnValue = Electron.DecryptStringAsyncReturnValue;
|
|
26606
26573
|
type DefaultFontFamily = Electron.DefaultFontFamily;
|
|
26607
26574
|
type Details = Electron.Details;
|
|
@@ -26652,7 +26619,6 @@ declare namespace Electron {
|
|
|
26652
26619
|
type LoadExtensionOptions = Electron.LoadExtensionOptions;
|
|
26653
26620
|
type LoadFileOptions = Electron.LoadFileOptions;
|
|
26654
26621
|
type LoadURLOptions = Electron.LoadURLOptions;
|
|
26655
|
-
type LoginAuthenticationResponseDetails = Electron.LoginAuthenticationResponseDetails;
|
|
26656
26622
|
type LoginItemSettings = Electron.LoginItemSettings;
|
|
26657
26623
|
type LoginItemSettingsOptions = Electron.LoginItemSettingsOptions;
|
|
26658
26624
|
type MenuItemConstructorOptions = Electron.MenuItemConstructorOptions;
|
|
@@ -26697,7 +26663,6 @@ declare namespace Electron {
|
|
|
26697
26663
|
type ProgressBarOptions = Electron.ProgressBarOptions;
|
|
26698
26664
|
type Provider = Electron.Provider;
|
|
26699
26665
|
type PurchaseProductOpts = Electron.PurchaseProductOpts;
|
|
26700
|
-
type ReadBookmark = Electron.ReadBookmark;
|
|
26701
26666
|
type ReceivedSharedTextureData = Electron.ReceivedSharedTextureData;
|
|
26702
26667
|
type RegistrationCompletedDetails = Electron.RegistrationCompletedDetails;
|
|
26703
26668
|
type RelaunchOptions = Electron.RelaunchOptions;
|
|
@@ -26792,6 +26757,7 @@ declare namespace Electron {
|
|
|
26792
26757
|
type BluetoothDevice = Electron.BluetoothDevice;
|
|
26793
26758
|
type Certificate = Electron.Certificate;
|
|
26794
26759
|
type CertificatePrincipal = Electron.CertificatePrincipal;
|
|
26760
|
+
type ClipboardBookmark = Electron.ClipboardBookmark;
|
|
26795
26761
|
type ColorSpace = Electron.ColorSpace;
|
|
26796
26762
|
type Cookie = Electron.Cookie;
|
|
26797
26763
|
type CPUUsage = Electron.CPUUsage;
|
|
@@ -27048,6 +27014,10 @@ declare namespace NodeJS {
|
|
|
27048
27014
|
* to the system.
|
|
27049
27015
|
* * `free` Integer - The total amount of memory not being used by applications or
|
|
27050
27016
|
* disk cache.
|
|
27017
|
+
* * `available` Integer _Linux_ - The kernel's estimate of the amount of memory
|
|
27018
|
+
* available for allocation without swapping, from `/proc/meminfo` `MemAvailable`.
|
|
27019
|
+
* Use this as the memory pressure signal on Linux; `free` there is `MemFree`,
|
|
27020
|
+
* which excludes page cache and other reclaimable memory.
|
|
27051
27021
|
* * `fileBacked` Integer _macOS_ - The amount of memory that currently has been
|
|
27052
27022
|
* paged out to storage. Includes memory for file caches, network buffers, and
|
|
27053
27023
|
* other system services.
|
package/package.json
CHANGED