electron 44.0.0-alpha.7 → 44.0.0-alpha.9

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 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: The prebuilt binaries of Electron are built on Ubuntu 22.04. They have also been verified to work on:
43
- * Ubuntu 18.04 and newer
44
- * Fedora 32 and newer
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.7-darwin-arm64.zip": "e69eb6481b2fe5b09a21eda61a0615822d348bac522762802c4bfc5f340f425b",
3
- "chromedriver-v44.0.0-alpha.7-darwin-x64.zip": "b25e217961bd49253fc268aa99c10260eb1ca95c96b815a2eef1cca33e7cd98e",
4
- "chromedriver-v44.0.0-alpha.7-linux-arm64.zip": "d34b298f4ad547eaf234338e6c1d5ae7358e5b2308b3b83ac2eaaddba108df52",
5
- "chromedriver-v44.0.0-alpha.7-linux-x64.zip": "f3b5bbfa0e38b617b399a974ad238b4382f06dfa7a6081ab9748ab2a8e242695",
6
- "chromedriver-v44.0.0-alpha.7-mas-arm64.zip": "a091cff722baf10aeded4dfcab05b876a737660f55d82bff2bd83a64b398487f",
7
- "chromedriver-v44.0.0-alpha.7-mas-x64.zip": "9ad4fd738adb839597ae2f9e5b21932f6f04b969b576b5da48e2a588a16c60ca",
8
- "chromedriver-v44.0.0-alpha.7-win32-arm64.zip": "99006e4f5b9296941703da677aa9ccbf2df904e3ad4d105fb18fb1853d9c6bdd",
9
- "chromedriver-v44.0.0-alpha.7-win32-x64.zip": "010ce2ef94699a5f894665f659301bb73d60a594d582c6a2c8eb7a685a843fc3",
10
- "electron-api.json": "bee3d37e4665882e37d1530ba3953528f3a44f167cd059bd205d43eda7d16b56",
11
- "electron-v44.0.0-alpha.7-darwin-arm64-dsym-snapshot.zip": "948e37db69e31a3e0de9a882b20bcc8e3a02adbc2d80b1d8ee40b95c2589afd9",
12
- "electron-v44.0.0-alpha.7-darwin-arm64-dsym.tar.xz": "61f39dd0f5a7a1de9a740d067068f609ff85784c8665cc52e5d52211a2a22126",
13
- "electron-v44.0.0-alpha.7-darwin-arm64-symbols.zip": "e1f28dcceb70d5a5dcc51b3066577be2b0957cbcd91af7cbea9b91cf58f54a67",
14
- "electron-v44.0.0-alpha.7-darwin-arm64.zip": "bf7ae5f284696df1f8c21e3b46213f42c39f1fb569b210dfc8590f4d535193e4",
15
- "electron-v44.0.0-alpha.7-darwin-x64-dsym-snapshot.zip": "8904b965b789b007e0e3726cc18a15c7f8680d3516bf4b581a47f5ac1ebe7f31",
16
- "electron-v44.0.0-alpha.7-darwin-x64-dsym.tar.xz": "a09c59c2974d49f94a21cf75fb7d4df7e487a0590889dc58a4e72b802a72bae6",
17
- "electron-v44.0.0-alpha.7-darwin-x64-symbols.zip": "1ecaf290010f7742855a6d8aa77dd17ce87035fae1312a7a20882d7ee60428bf",
18
- "electron-v44.0.0-alpha.7-darwin-x64.zip": "12a7419e34e8e18bd9b15810f054ce963d601029381075e711e0dbde7bdf147d",
19
- "electron-v44.0.0-alpha.7-linux-arm64-debug.zip": "6147c87a6ee497cb47261fa575eccf392c181490764d96311e0c42577c293543",
20
- "electron-v44.0.0-alpha.7-linux-arm64-symbols.zip": "4af56f51092d544951bb51ee403a697281e7f386693d8e67f7b48bb3b78b0444",
21
- "electron-v44.0.0-alpha.7-linux-arm64.zip": "a5ab0955bf424769030294c1cdae45c225dfcf51fe6089d4a3b3c6f67cc2415a",
22
- "electron-v44.0.0-alpha.7-linux-x64-debug.zip": "46dd63287f2837eda8c1e4134e988f1e510b7513298e751b1afb26ccc6a4d79c",
23
- "electron-v44.0.0-alpha.7-linux-x64-symbols.zip": "b9c2861c5bd3ad980fb9342600509b1f49cde35edcbfd67f71b849a74fe3426b",
24
- "electron-v44.0.0-alpha.7-linux-x64.zip": "bcf42ef77e30ac20d446d057a9b460e503fc1a0a11cd507b168f8450c6ce402f",
25
- "electron-v44.0.0-alpha.7-mas-arm64-dsym-snapshot.zip": "89d207e0a94eb8c5a7ae8f1100a9d8ff1f5ed83dcf4d808988b794ace2ef1167",
26
- "electron-v44.0.0-alpha.7-mas-arm64-dsym.tar.xz": "976e8dd3cc094fb7cae61c2dccabe05321647467890525ba322d5e0ed22ed1c1",
27
- "electron-v44.0.0-alpha.7-mas-arm64-symbols.zip": "f0b705680e18ba37964a9b89b2d1936bb4959ff2778cf03f5c40ce486f06c050",
28
- "electron-v44.0.0-alpha.7-mas-arm64.zip": "7cfd1ff60801c3a8c362eb158841c46c5fcdbff53d6afe649fbc35d1879ae06a",
29
- "electron-v44.0.0-alpha.7-mas-x64-dsym-snapshot.zip": "7b0421a5314e0cee8d345b318716909d3ca191dc9a919c323b552555aa0ea7d6",
30
- "electron-v44.0.0-alpha.7-mas-x64-dsym.tar.xz": "371647a07382a99a569313c69fd142700d4f11e8be7a8319ccce3d655edd6aac",
31
- "electron-v44.0.0-alpha.7-mas-x64-symbols.zip": "1e17bae09d45a607a880695164380f779a607fffbde742000dfd8449d2376dce",
32
- "electron-v44.0.0-alpha.7-mas-x64.zip": "ed26d91058743f462249c3708b67286993d7c6bb68507f1f6b99f46eda76c07c",
33
- "electron-v44.0.0-alpha.7-win32-arm64-pdb.zip": "97bc062b1c730e8ff05ccedcee4e3ea19d2da6d06a13b0e0302f26d5b00e2814",
34
- "electron-v44.0.0-alpha.7-win32-arm64-symbols.zip": "0903ecf118277b9a695f8a1fd5942807e8cfbead8680e82a8cfb9cb56df63952",
35
- "electron-v44.0.0-alpha.7-win32-arm64-toolchain-profile.zip": "93e0253324919c9cd187a9864291f4452e4632747b8ecc1d9ec7e6d6afbf86e9",
36
- "electron-v44.0.0-alpha.7-win32-arm64.zip": "5411e70979a9084f23a217769551345033ab02289294e99f65da80ffbf93e0b7",
37
- "electron-v44.0.0-alpha.7-win32-x64-pdb.zip": "5cf4449c8dc804740c3dfbfd26aef0bbf4b2d69c72f704f5a6ccae04e7649680",
38
- "electron-v44.0.0-alpha.7-win32-x64-symbols.zip": "136eecedc8319936c95616869f9e1c33ad217699a5cc5a40c7c725cd2a52d45d",
39
- "electron-v44.0.0-alpha.7-win32-x64-toolchain-profile.zip": "93e0253324919c9cd187a9864291f4452e4632747b8ecc1d9ec7e6d6afbf86e9",
40
- "electron-v44.0.0-alpha.7-win32-x64.zip": "df5a8e8d2a42f20a628138bc13e1fe1aeb801b137ae8d35b16f1e43106d3fbcb",
41
- "electron.d.ts": "8c39be50938caad74f137e222f6a05d0998b573084bec8678ce0af4b9253d9a6",
42
- "ffmpeg-v44.0.0-alpha.7-darwin-arm64.zip": "bdd1f8a88f2e102d99baf1227ee0122029a299bdf35ab04106c914c5d9739a14",
43
- "ffmpeg-v44.0.0-alpha.7-darwin-x64.zip": "b5eb2648a3ef1cae3253261663becc0eacdbbccf2a41413afa44d9da21d93918",
44
- "ffmpeg-v44.0.0-alpha.7-linux-arm64.zip": "da453aa8631c2d24112ea9c01c0fbf82bf300f385e282e5f37c1655c6cef6236",
45
- "ffmpeg-v44.0.0-alpha.7-linux-x64.zip": "752e6bff6a30cff96e24bfc3bc66eb41dfda2b85326227b90b34f6dad341ba2f",
46
- "ffmpeg-v44.0.0-alpha.7-mas-arm64.zip": "2f96afa63e6523c5ff56e4a9e21cd2da6fffe3819fd6779b44813f2046a10f78",
47
- "ffmpeg-v44.0.0-alpha.7-mas-x64.zip": "5b493fe8094ca6eaca7bfda4d808dd47ae65c7112e910a5fb68459ac3ff1f74f",
48
- "ffmpeg-v44.0.0-alpha.7-win32-arm64.zip": "97056b02390777665bcae9638e62fe58ad705bacdacac9014de2c08e2f57310e",
49
- "ffmpeg-v44.0.0-alpha.7-win32-x64.zip": "5c72b118e8df10fa89aff3686639ecb20e29b95d38e4a92920bd378aac976cb7",
50
- "hunspell_dictionaries.zip": "810e2f3757b0be341888aca8579619c12263ed0e8bf9fde2225ec402e3d34983",
51
- "libcxx-objects-v44.0.0-alpha.7-linux-arm64.zip": "0beb5f8d9aa12a5775d551d26647d570a91ae07e76a3eb47eddd2a0a1e16ac48",
52
- "libcxx-objects-v44.0.0-alpha.7-linux-x64.zip": "3d6e4e17987b9bd604deeeb25c1b06f29d697b0e4aba811a18c0545ead0272d9",
53
- "libcxx_headers.zip": "d54dd31690519bc532e2652b468ebbe6d08685b3fc22ebe3f303e3ea26a0afdc",
54
- "libcxxabi_headers.zip": "176f64da935e6c6c9bfb68a65317ea34c521ddc77572ddad83f2e1fca73ffa0c",
55
- "mksnapshot-v44.0.0-alpha.7-darwin-arm64.zip": "7e75b30d7d9069d5d4a7877e00427f6c31731fb8b84566bd95c8ff48fd80d54f",
56
- "mksnapshot-v44.0.0-alpha.7-darwin-x64.zip": "19858277d5f3d2d203396812b6b5d2dcb5ca62eea5263cc7bbcb8faf43f438d7",
57
- "mksnapshot-v44.0.0-alpha.7-linux-arm64-x64.zip": "a9b9eebfd036b7d940a02e20f682d9d85a1c29cd3b585f640cb7ef49b0cf6a13",
58
- "mksnapshot-v44.0.0-alpha.7-linux-x64.zip": "4b5eff41aa394a7b3fa2265e9e036894c379c7e9dbc6882ffc3180529a59acca",
59
- "mksnapshot-v44.0.0-alpha.7-mas-arm64.zip": "1d4d1107d24931d4eba2b1bcb4a22c1dc5ddd6e74e826215760b1a8757570120",
60
- "mksnapshot-v44.0.0-alpha.7-mas-x64.zip": "d0a3490c03e378acb9c14d4ddebc2902d20583b2dc08c2fa2126b75228797633",
61
- "mksnapshot-v44.0.0-alpha.7-win32-arm64-x64.zip": "42cd39dfe30cd4dfb0f064643197642735509e2ea26b7b6a392db86a37f8a681",
62
- "mksnapshot-v44.0.0-alpha.7-win32-x64.zip": "58399d61e715fb91c9ffb7517578ffdf49f5fa423505cc1b9e844d622218af40"
2
+ "chromedriver-v44.0.0-alpha.9-darwin-arm64.zip": "999ef60a4caa1096639a30d8b1eb738122ec54683a0146f4f9f50d419593d430",
3
+ "chromedriver-v44.0.0-alpha.9-darwin-x64.zip": "154b2a7c0752eb931bf58faf8755447240b508cf488f2a95fd5aa244cd6504c9",
4
+ "chromedriver-v44.0.0-alpha.9-linux-arm64.zip": "10d67c79867cd4b5a28720bdcd26f2c28e9e0eb2e7d3a4e8869b8f559fb7d71b",
5
+ "chromedriver-v44.0.0-alpha.9-linux-x64.zip": "9e1d441b12e5430e786701bda3abaa38c3ad900b72de5cd39c702e63c2651559",
6
+ "chromedriver-v44.0.0-alpha.9-mas-arm64.zip": "87834f4be2827500f0bbdcd3e9507c4853da0ca156c5efda561558bb0278698d",
7
+ "chromedriver-v44.0.0-alpha.9-mas-x64.zip": "57e3d8f29af662e464d09ccb1a22ae4353bc4d8f48883c4553f3ca7fc9f3c2b8",
8
+ "chromedriver-v44.0.0-alpha.9-win32-arm64.zip": "7809f33a63fd8c7012886a08b150036092850cba644ffdc482d29340c19b4d13",
9
+ "chromedriver-v44.0.0-alpha.9-win32-x64.zip": "412b9d5a9c9c0c285bfcdd22c9cc2038cc350a164235bc1043f6f28977b0336c",
10
+ "electron-api.json": "462c6c4cabb001fc7b0ba34d910afa99a411a3d7c1ef5d45f679778ede713d07",
11
+ "electron-v44.0.0-alpha.9-darwin-arm64-dsym-snapshot.zip": "beb262da2d9d7e4adb7eb37ffba3367838a030757550faa0bbdf3c4067715e47",
12
+ "electron-v44.0.0-alpha.9-darwin-arm64-dsym.tar.xz": "18d66bb26cf3e2e077544290f8875844c50034ecba7a68043215da9829095321",
13
+ "electron-v44.0.0-alpha.9-darwin-arm64-symbols.zip": "eefba10fe646dfec88dcc125d6386029fb498a80b2a8962efcfe8d32da7450ed",
14
+ "electron-v44.0.0-alpha.9-darwin-arm64.zip": "50c93a33d66a195f88935d765a4b08f00217f70818f1d804657e788e03ea8fdf",
15
+ "electron-v44.0.0-alpha.9-darwin-x64-dsym-snapshot.zip": "10e03de1e46605f229655337d7b2964bd0de01c08402c0b89e539204b7809f35",
16
+ "electron-v44.0.0-alpha.9-darwin-x64-dsym.tar.xz": "93966500377b0294ba563e53a66776cc67b24ee0a432b16e7556ee9efd6bef08",
17
+ "electron-v44.0.0-alpha.9-darwin-x64-symbols.zip": "2f7a1eb7aefd346560c48f6a7f9e3610ed5c2efad9f37aa4ed63781f6409c01f",
18
+ "electron-v44.0.0-alpha.9-darwin-x64.zip": "2b2f1fcee7950518364e7b6a1843136fdd416d4f81f6872547d7e070301ca391",
19
+ "electron-v44.0.0-alpha.9-linux-arm64-debug.zip": "1cc4f87b5d72b66bfadbd462130d537cb350d516f30a1a410db5887d7b61fdf1",
20
+ "electron-v44.0.0-alpha.9-linux-arm64-symbols.zip": "14bc9b83af0986c3559dfefb2664aae96466c35f3aae09d6cd266f18863e3926",
21
+ "electron-v44.0.0-alpha.9-linux-arm64.zip": "e4f5464911cdfa05df08319e4a8d2e84ecd3d855bf94f8bab04ae8ba41bb3b2c",
22
+ "electron-v44.0.0-alpha.9-linux-x64-debug.zip": "40034cc2742c64aeaffc8c3194dc70a49480cb164d34f4e3ae5948082726d51f",
23
+ "electron-v44.0.0-alpha.9-linux-x64-symbols.zip": "11d95acc019972e2e1aa09946ac21dac9986e5836f3f1a15c75d454466a3ffb6",
24
+ "electron-v44.0.0-alpha.9-linux-x64.zip": "4412ea0299f6c319ca318fd6383f32fea396bf53e31d00f1a13aa0319dfa3018",
25
+ "electron-v44.0.0-alpha.9-mas-arm64-dsym-snapshot.zip": "d9a013f495ef0356e4e5724c63c9f862d00f187a3f56792f838e3f287bc7e728",
26
+ "electron-v44.0.0-alpha.9-mas-arm64-dsym.tar.xz": "b213191ccd6bddfb42bb48a7501b29e7bf71f86c0c8be099ae93cb36d1a0c973",
27
+ "electron-v44.0.0-alpha.9-mas-arm64-symbols.zip": "8d475f7b60552c109e0d021534a5b0c0d4b15d56d84f2be81067c4869c0752ef",
28
+ "electron-v44.0.0-alpha.9-mas-arm64.zip": "adabd76e5f07103a71d4fa32383094296bb8bf24ebf82f6c63f6fd942463f8e6",
29
+ "electron-v44.0.0-alpha.9-mas-x64-dsym-snapshot.zip": "1a15b3fdf0a65a3fb872cd81e19f706ce8f059a40857cf524ef733c85f22ccfe",
30
+ "electron-v44.0.0-alpha.9-mas-x64-dsym.tar.xz": "be150d0b762c167c1cd58ddcfda225103750386114fa955eb2cacb416719eaa4",
31
+ "electron-v44.0.0-alpha.9-mas-x64-symbols.zip": "a990b9ee63d3b6e45c4073049dd89750cf578fbc9e954ff09b0f03938da8ba7c",
32
+ "electron-v44.0.0-alpha.9-mas-x64.zip": "ecdde68a8250c4c48928229668e68b0553ddbd9afb232b9e5f39a5a1c97827ed",
33
+ "electron-v44.0.0-alpha.9-win32-arm64-pdb.zip": "abb9ce2307d97d8e292eaee1fec2d83f4622781fde39130cb6c72aff9899ef3a",
34
+ "electron-v44.0.0-alpha.9-win32-arm64-symbols.zip": "97b2e0e543c8e658929e7d033a49ce1cc8bb140c7f5ee2e2ba830ec8588e5895",
35
+ "electron-v44.0.0-alpha.9-win32-arm64-toolchain-profile.zip": "93e0253324919c9cd187a9864291f4452e4632747b8ecc1d9ec7e6d6afbf86e9",
36
+ "electron-v44.0.0-alpha.9-win32-arm64.zip": "1d0bf62b42250eb1431f0e9e8012f317330d3a684ae0e21895e25b8c9a2d26b5",
37
+ "electron-v44.0.0-alpha.9-win32-x64-pdb.zip": "7aead56ca16d6f25b7f4d8283c3e6c0153ecbaed357b8f786f539a81a5319a24",
38
+ "electron-v44.0.0-alpha.9-win32-x64-symbols.zip": "a9be9d9ad90f07d49218dc041efb73fd0fc7e60fc5a63f164ff17a0287e52ea5",
39
+ "electron-v44.0.0-alpha.9-win32-x64-toolchain-profile.zip": "93e0253324919c9cd187a9864291f4452e4632747b8ecc1d9ec7e6d6afbf86e9",
40
+ "electron-v44.0.0-alpha.9-win32-x64.zip": "0f2ba76bbd3e4dc7d4b8fe1f19cc3291341958ab2ac284791e8c4e1a479788ed",
41
+ "electron.d.ts": "e6fec956a443bb75b0bc1403ba4c1c983d02ef93ccce7e40755bf09b2dc1df79",
42
+ "ffmpeg-v44.0.0-alpha.9-darwin-arm64.zip": "5456a9c25771c262937196cc9d89c8711f4e10a0fa57249b574d5b2aa9bd091f",
43
+ "ffmpeg-v44.0.0-alpha.9-darwin-x64.zip": "2e546a194c8725f374e9ba45a63ec80c29aaf488b804472c473032f02b901baf",
44
+ "ffmpeg-v44.0.0-alpha.9-linux-arm64.zip": "83cbb9e1933f6765d1f417a431073cddbddc324a25d72cdf1ebe6214fca9eddd",
45
+ "ffmpeg-v44.0.0-alpha.9-linux-x64.zip": "8a1d6aff81cb03cdc661e562ded1908399c6af19c4625f3190964f49e1975702",
46
+ "ffmpeg-v44.0.0-alpha.9-mas-arm64.zip": "b92d75d77b910dbf00440ec2a1d27bc9240701a9c501495eacd957431882d45b",
47
+ "ffmpeg-v44.0.0-alpha.9-mas-x64.zip": "4e3c220c752680a62b738d88292af91cefb7e3b25c2324f97807dc7791b2047e",
48
+ "ffmpeg-v44.0.0-alpha.9-win32-arm64.zip": "ed6090aba53402224d95ba17d2a5a71eae34fb68b346ca24a8d1183689880701",
49
+ "ffmpeg-v44.0.0-alpha.9-win32-x64.zip": "a114c8daeccf4c81421023c9b18a2095e4139f6b43a998ade8469bdc8b0fb214",
50
+ "hunspell_dictionaries.zip": "c9c9ac19b39f2bdaf4c4e5ec04eca4d939438f7825d94a156bc23184028c9b33",
51
+ "libcxx-objects-v44.0.0-alpha.9-linux-arm64.zip": "5c249370a1de392f3f6ca34449e89dd11e0178badb3663f6be65412dcd79f9a1",
52
+ "libcxx-objects-v44.0.0-alpha.9-linux-x64.zip": "343b985a363b0ae877b13520a8198b4559820c9ee24c1497f0cce8a4e051172c",
53
+ "libcxx_headers.zip": "4b0f983850e3fa8b8cc832c038dbfd2660e8882f49aae326ad6371a4af29d7e9",
54
+ "libcxxabi_headers.zip": "0ccd65db7b9278d87d7de7456c8936fc907f1601fd9f915436e59f84d7e602d5",
55
+ "mksnapshot-v44.0.0-alpha.9-darwin-arm64.zip": "07607dcff7d3095c49bb3ab281f2afe11ecac27f312b4d5c7b15a5d865d43b59",
56
+ "mksnapshot-v44.0.0-alpha.9-darwin-x64.zip": "585d322c8683909e882a3702e5d141f2ecc835e5099c0ab7bd0fd06f42e02ce8",
57
+ "mksnapshot-v44.0.0-alpha.9-linux-arm64-x64.zip": "56833aeafdb3c0d80871a0842171700b11f030fcec9bc681a4db5b6b94ee07cb",
58
+ "mksnapshot-v44.0.0-alpha.9-linux-x64.zip": "85e0855859200c09a80f0451a43c5c0a66bfe14bca4e53b8a2d18c20940849c7",
59
+ "mksnapshot-v44.0.0-alpha.9-mas-arm64.zip": "cad194beb2a4f63c92d812442db11a94ed1b15e5032a210373c62b729057c9f6",
60
+ "mksnapshot-v44.0.0-alpha.9-mas-x64.zip": "4ec3001f1fbd92ca9635036220473b8f6d5a17436b69e15369e11e7ff7598727",
61
+ "mksnapshot-v44.0.0-alpha.9-win32-arm64-x64.zip": "bf5a3d57613eb1ede19395509c199a1dce379ffcaa18d299e5dfede764ab6172",
62
+ "mksnapshot-v44.0.0-alpha.9-win32-x64.zip": "d00ec350858fd2ce17900f54c4d0d3e7440c104f1f9b85cbcf8bf52ffa95b3e0"
63
63
  }
package/electron.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Type definitions for Electron 44.0.0-alpha.7
1
+ // Type definitions for Electron 44.0.0-alpha.9
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
@@ -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(type?: 'selection' | 'clipboard'): void;
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
- * The content in the clipboard as markup.
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
- readHTML(type?: 'selection' | 'clipboard'): string;
6962
+ has(mimetype: string): Promise<boolean>;
7007
6963
  /**
7008
- * The image content in the clipboard.
6964
+ * A promise that resolves with an array of ClipboardItem objects containing the
6965
+ * clipboard's contents.
7009
6966
  */
7010
- readImage(type?: 'selection' | 'clipboard'): NativeImage;
6967
+ read(): Promise<Electron.ClipboardItem[]>;
7011
6968
  /**
7012
- * The content in the clipboard as RTF.
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
- readRTF(type?: 'selection' | 'clipboard'): string;
6972
+ readText(): Promise<string>;
7015
6973
  /**
7016
- * The content in the clipboard as plain text.
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
- readText(type?: 'selection' | 'clipboard'): string;
6977
+ write(data: ClipboardItem[]): Promise<void>;
7019
6978
  /**
7020
- * Writes `data` to the clipboard.
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
- write(data: Data, type?: 'selection' | 'clipboard'): void;
6982
+ writeText(text: string): Promise<void>;
7023
6983
  /**
7024
- * Writes the `title` (macOS only) and `url` into the clipboard as a bookmark.
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.
7025
6988
  *
7026
- * > [!NOTE] Most apps on Windows don't support pasting bookmarks into them so you
7027
- * can use `clipboard.write` to write both a bookmark and fallback text to the
7028
- * clipboard.
7029
- *
7030
- * @platform darwin,win32
6989
+ * @platform linux
7031
6990
  */
7032
- writeBookmark(title: string, url: string, type?: 'selection' | 'clipboard'): void;
6991
+ readonly selection: Clipboard;
6992
+ }
6993
+
6994
+ interface ClipboardBookmark {
6995
+
6996
+ // Docs: https://electronjs.org/docs/api/structures/clipboard-bookmark
6997
+
7033
6998
  /**
7034
- * Writes the `buffer` into the clipboard as `format`.
7035
- *
7036
- * @experimental
6999
+ * The title of the bookmark.
7037
7000
  */
7038
- writeBuffer(format: string, buffer: Buffer, type?: 'selection' | 'clipboard'): void;
7001
+ title: string;
7039
7002
  /**
7040
- * Writes the `text` into the find pasteboard (the pasteboard that holds
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
- writeFindText(text: string): void;
7005
+ url: string;
7006
+ }
7007
+
7008
+ class ClipboardItem {
7009
+
7010
+ // Docs: https://electronjs.org/docs/api/clipboard-item
7011
+
7048
7012
  /**
7049
- * Writes `markup` to the clipboard.
7013
+ * ClipboardItem
7050
7014
  */
7051
- writeHTML(markup: string, type?: 'selection' | 'clipboard'): void;
7015
+ constructor(items: Record<string, (string) | (ClipboardBookmark) | (Blob) | (Promise<(Blob) | (string)>)>);
7052
7016
  /**
7053
- * Writes `image` to the clipboard.
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
- writeImage(image: NativeImage, type?: 'selection' | 'clipboard'): void;
7023
+ getType(type: string): (Promise<Blob>) | (Promise<Electron.ClipboardBookmark>);
7056
7024
  /**
7057
- * Writes the `text` into the clipboard in RTF.
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
- writeRTF(text: string, type?: 'selection' | 'clipboard'): void;
7028
+ getType(bookmark: 'electron application/bookmark'): Promise<Electron.ClipboardBookmark>;
7060
7029
  /**
7061
- * Writes the `text` into the clipboard as plain text.
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
- writeText(text: string, type?: 'selection' | 'clipboard'): void;
7036
+ readonly types: string[];
7064
7037
  }
7065
7038
 
7066
7039
  interface ColorSpace {
@@ -21350,17 +21323,6 @@ declare namespace Electron {
21350
21323
  startTime?: number;
21351
21324
  }
21352
21325
 
21353
- interface Data {
21354
- text?: string;
21355
- html?: string;
21356
- image?: NativeImage;
21357
- rtf?: string;
21358
- /**
21359
- * The title of the URL at `text`.
21360
- */
21361
- bookmark?: string;
21362
- }
21363
-
21364
21326
  interface DecryptStringAsyncReturnValue {
21365
21327
  /**
21366
21328
  * whether data that has just been returned from the decrypt operation should be
@@ -23319,11 +23281,6 @@ declare namespace Electron {
23319
23281
  username?: string;
23320
23282
  }
23321
23283
 
23322
- interface ReadBookmark {
23323
- title: string;
23324
- url: string;
23325
- }
23326
-
23327
23284
  interface ReceivedSharedTextureData {
23328
23285
  /**
23329
23286
  * The imported shared texture.
@@ -25053,8 +25010,6 @@ declare namespace Electron {
25053
25010
 
25054
25011
  namespace Common {
25055
25012
  type Event<Params extends object = {}> = Electron.Event<Params>;
25056
- const clipboard: Clipboard;
25057
- type Clipboard = Electron.Clipboard;
25058
25013
  const crashReporter: CrashReporter;
25059
25014
  type CrashReporter = Electron.CrashReporter;
25060
25015
  const nativeImage: typeof NativeImage;
@@ -25104,7 +25059,6 @@ declare namespace Electron {
25104
25059
  type CreateFromBufferOptions = Electron.CreateFromBufferOptions;
25105
25060
  type CreateFromNamedImageOptions = Electron.CreateFromNamedImageOptions;
25106
25061
  type CreateInterruptedDownloadOptions = Electron.CreateInterruptedDownloadOptions;
25107
- type Data = Electron.Data;
25108
25062
  type DecryptStringAsyncReturnValue = Electron.DecryptStringAsyncReturnValue;
25109
25063
  type DefaultFontFamily = Electron.DefaultFontFamily;
25110
25064
  type Details = Electron.Details;
@@ -25199,7 +25153,6 @@ declare namespace Electron {
25199
25153
  type ProgressBarOptions = Electron.ProgressBarOptions;
25200
25154
  type Provider = Electron.Provider;
25201
25155
  type PurchaseProductOpts = Electron.PurchaseProductOpts;
25202
- type ReadBookmark = Electron.ReadBookmark;
25203
25156
  type ReceivedSharedTextureData = Electron.ReceivedSharedTextureData;
25204
25157
  type RegistrationCompletedDetails = Electron.RegistrationCompletedDetails;
25205
25158
  type RelaunchOptions = Electron.RelaunchOptions;
@@ -25294,6 +25247,7 @@ declare namespace Electron {
25294
25247
  type BluetoothDevice = Electron.BluetoothDevice;
25295
25248
  type Certificate = Electron.Certificate;
25296
25249
  type CertificatePrincipal = Electron.CertificatePrincipal;
25250
+ type ClipboardBookmark = Electron.ClipboardBookmark;
25297
25251
  type ColorSpace = Electron.ColorSpace;
25298
25252
  type Cookie = Electron.Cookie;
25299
25253
  type CPUUsage = Electron.CPUUsage;
@@ -25398,6 +25352,9 @@ declare namespace Electron {
25398
25352
  class BrowserView extends Electron.BrowserView {}
25399
25353
  class BrowserWindow extends Electron.BrowserWindow {}
25400
25354
  type ClientRequest = Electron.ClientRequest;
25355
+ const clipboard: Clipboard;
25356
+ type Clipboard = Electron.Clipboard;
25357
+ class ClipboardItem extends Electron.ClipboardItem {}
25401
25358
  type CommandLine = Electron.CommandLine;
25402
25359
  const contentTracing: ContentTracing;
25403
25360
  type ContentTracing = Electron.ContentTracing;
@@ -25513,7 +25470,6 @@ declare namespace Electron {
25513
25470
  type CreateFromBufferOptions = Electron.CreateFromBufferOptions;
25514
25471
  type CreateFromNamedImageOptions = Electron.CreateFromNamedImageOptions;
25515
25472
  type CreateInterruptedDownloadOptions = Electron.CreateInterruptedDownloadOptions;
25516
- type Data = Electron.Data;
25517
25473
  type DecryptStringAsyncReturnValue = Electron.DecryptStringAsyncReturnValue;
25518
25474
  type DefaultFontFamily = Electron.DefaultFontFamily;
25519
25475
  type Details = Electron.Details;
@@ -25608,7 +25564,6 @@ declare namespace Electron {
25608
25564
  type ProgressBarOptions = Electron.ProgressBarOptions;
25609
25565
  type Provider = Electron.Provider;
25610
25566
  type PurchaseProductOpts = Electron.PurchaseProductOpts;
25611
- type ReadBookmark = Electron.ReadBookmark;
25612
25567
  type ReceivedSharedTextureData = Electron.ReceivedSharedTextureData;
25613
25568
  type RegistrationCompletedDetails = Electron.RegistrationCompletedDetails;
25614
25569
  type RelaunchOptions = Electron.RelaunchOptions;
@@ -25703,6 +25658,7 @@ declare namespace Electron {
25703
25658
  type BluetoothDevice = Electron.BluetoothDevice;
25704
25659
  type Certificate = Electron.Certificate;
25705
25660
  type CertificatePrincipal = Electron.CertificatePrincipal;
25661
+ type ClipboardBookmark = Electron.ClipboardBookmark;
25706
25662
  type ColorSpace = Electron.ColorSpace;
25707
25663
  type Cookie = Electron.Cookie;
25708
25664
  type CPUUsage = Electron.CPUUsage;
@@ -25849,7 +25805,6 @@ declare namespace Electron {
25849
25805
  type CreateFromBufferOptions = Electron.CreateFromBufferOptions;
25850
25806
  type CreateFromNamedImageOptions = Electron.CreateFromNamedImageOptions;
25851
25807
  type CreateInterruptedDownloadOptions = Electron.CreateInterruptedDownloadOptions;
25852
- type Data = Electron.Data;
25853
25808
  type DecryptStringAsyncReturnValue = Electron.DecryptStringAsyncReturnValue;
25854
25809
  type DefaultFontFamily = Electron.DefaultFontFamily;
25855
25810
  type Details = Electron.Details;
@@ -25944,7 +25899,6 @@ declare namespace Electron {
25944
25899
  type ProgressBarOptions = Electron.ProgressBarOptions;
25945
25900
  type Provider = Electron.Provider;
25946
25901
  type PurchaseProductOpts = Electron.PurchaseProductOpts;
25947
- type ReadBookmark = Electron.ReadBookmark;
25948
25902
  type ReceivedSharedTextureData = Electron.ReceivedSharedTextureData;
25949
25903
  type RegistrationCompletedDetails = Electron.RegistrationCompletedDetails;
25950
25904
  type RelaunchOptions = Electron.RelaunchOptions;
@@ -26039,6 +25993,7 @@ declare namespace Electron {
26039
25993
  type BluetoothDevice = Electron.BluetoothDevice;
26040
25994
  type Certificate = Electron.Certificate;
26041
25995
  type CertificatePrincipal = Electron.CertificatePrincipal;
25996
+ type ClipboardBookmark = Electron.ClipboardBookmark;
26042
25997
  type ColorSpace = Electron.ColorSpace;
26043
25998
  type Cookie = Electron.Cookie;
26044
25999
  type CPUUsage = Electron.CPUUsage;
@@ -26184,7 +26139,6 @@ declare namespace Electron {
26184
26139
  type CreateFromBufferOptions = Electron.CreateFromBufferOptions;
26185
26140
  type CreateFromNamedImageOptions = Electron.CreateFromNamedImageOptions;
26186
26141
  type CreateInterruptedDownloadOptions = Electron.CreateInterruptedDownloadOptions;
26187
- type Data = Electron.Data;
26188
26142
  type DecryptStringAsyncReturnValue = Electron.DecryptStringAsyncReturnValue;
26189
26143
  type DefaultFontFamily = Electron.DefaultFontFamily;
26190
26144
  type Details = Electron.Details;
@@ -26279,7 +26233,6 @@ declare namespace Electron {
26279
26233
  type ProgressBarOptions = Electron.ProgressBarOptions;
26280
26234
  type Provider = Electron.Provider;
26281
26235
  type PurchaseProductOpts = Electron.PurchaseProductOpts;
26282
- type ReadBookmark = Electron.ReadBookmark;
26283
26236
  type ReceivedSharedTextureData = Electron.ReceivedSharedTextureData;
26284
26237
  type RegistrationCompletedDetails = Electron.RegistrationCompletedDetails;
26285
26238
  type RelaunchOptions = Electron.RelaunchOptions;
@@ -26374,6 +26327,7 @@ declare namespace Electron {
26374
26327
  type BluetoothDevice = Electron.BluetoothDevice;
26375
26328
  type Certificate = Electron.Certificate;
26376
26329
  type CertificatePrincipal = Electron.CertificatePrincipal;
26330
+ type ClipboardBookmark = Electron.ClipboardBookmark;
26377
26331
  type ColorSpace = Electron.ColorSpace;
26378
26332
  type Cookie = Electron.Cookie;
26379
26333
  type CPUUsage = Electron.CPUUsage;
@@ -26480,6 +26434,7 @@ declare namespace Electron {
26480
26434
  type ClientRequest = Electron.ClientRequest;
26481
26435
  const clipboard: Clipboard;
26482
26436
  type Clipboard = Electron.Clipboard;
26437
+ class ClipboardItem extends Electron.ClipboardItem {}
26483
26438
  type CommandLine = Electron.CommandLine;
26484
26439
  const contentTracing: ContentTracing;
26485
26440
  type ContentTracing = Electron.ContentTracing;
@@ -26614,7 +26569,6 @@ declare namespace Electron {
26614
26569
  type CreateFromBufferOptions = Electron.CreateFromBufferOptions;
26615
26570
  type CreateFromNamedImageOptions = Electron.CreateFromNamedImageOptions;
26616
26571
  type CreateInterruptedDownloadOptions = Electron.CreateInterruptedDownloadOptions;
26617
- type Data = Electron.Data;
26618
26572
  type DecryptStringAsyncReturnValue = Electron.DecryptStringAsyncReturnValue;
26619
26573
  type DefaultFontFamily = Electron.DefaultFontFamily;
26620
26574
  type Details = Electron.Details;
@@ -26709,7 +26663,6 @@ declare namespace Electron {
26709
26663
  type ProgressBarOptions = Electron.ProgressBarOptions;
26710
26664
  type Provider = Electron.Provider;
26711
26665
  type PurchaseProductOpts = Electron.PurchaseProductOpts;
26712
- type ReadBookmark = Electron.ReadBookmark;
26713
26666
  type ReceivedSharedTextureData = Electron.ReceivedSharedTextureData;
26714
26667
  type RegistrationCompletedDetails = Electron.RegistrationCompletedDetails;
26715
26668
  type RelaunchOptions = Electron.RelaunchOptions;
@@ -26804,6 +26757,7 @@ declare namespace Electron {
26804
26757
  type BluetoothDevice = Electron.BluetoothDevice;
26805
26758
  type Certificate = Electron.Certificate;
26806
26759
  type CertificatePrincipal = Electron.CertificatePrincipal;
26760
+ type ClipboardBookmark = Electron.ClipboardBookmark;
26807
26761
  type ColorSpace = Electron.ColorSpace;
26808
26762
  type Cookie = Electron.Cookie;
26809
26763
  type CPUUsage = Electron.CPUUsage;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electron",
3
- "version": "44.0.0-alpha.7",
3
+ "version": "44.0.0-alpha.9",
4
4
  "repository": "https://github.com/electron/electron",
5
5
  "description": "Build cross platform desktop apps with JavaScript, HTML, and CSS",
6
6
  "license": "MIT",