electron 44.2.0 β†’ 44.4.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/README.md CHANGED
@@ -1,7 +1,6 @@
1
1
  [![Electron Logo](https://electronjs.org/images/electron-logo.svg)](https://electronjs.org)
2
2
 
3
3
  [![GitHub Actions Build Status](https://github.com/electron/electron/actions/workflows/build.yml/badge.svg)](https://github.com/electron/electron/actions/workflows/build.yml)
4
- [![Electron Discord Invite](https://img.shields.io/discord/745037351163527189?color=%237289DA&label=chat&logo=discord&logoColor=white)](https://discord.gg/electronjs)
5
4
 
6
5
  :memo: Available Translations: πŸ‡¨πŸ‡³ πŸ‡§πŸ‡· πŸ‡ͺπŸ‡Έ πŸ‡―πŸ‡΅ πŸ‡·πŸ‡Ί πŸ‡«πŸ‡· πŸ‡ΊπŸ‡Έ πŸ‡©πŸ‡ͺ.
7
6
  View these docs in other languages on our [Crowdin](https://crowdin.com/project/electron) project.
package/checksums.json CHANGED
@@ -1,69 +1,69 @@
1
1
  {
2
- "chromedriver-v44.2.0-darwin-arm64.zip": "63820faecda4e9c825ccdd43fea61ad96220b6478afbf30d13200fc5184b4b27",
3
- "chromedriver-v44.2.0-darwin-x64.zip": "f9c57ca5aefa2709af282e44fccb8bf2eeccfa2b5e535ce1827fcfb61b1dbade",
4
- "chromedriver-v44.2.0-linux-arm64.zip": "8833ae3ff11aa792537fba12855391d6f62020dfa4df908b7e61c66b73ba88cd",
5
- "chromedriver-v44.2.0-linux-x64.zip": "7c4a7728efa096f0133c9ddeea87549e6fce19be9ee530d6e0af4299b9ac2f85",
6
- "chromedriver-v44.2.0-mas-arm64.zip": "4287663c464e76dc52778c37c46b75e101168eb08454c53518668c1a6f92208b",
7
- "chromedriver-v44.2.0-mas-x64.zip": "76caf6b31a2a45d81cba91fce384239ca050f03212b5099d7b57ece4715b7574",
8
- "chromedriver-v44.2.0-win32-arm64.zip": "8bf176a1735254b17a0f48dcf56a4cb95c4694afa0f64034e00e5c575334782a",
9
- "chromedriver-v44.2.0-win32-x64.zip": "464242ab8c53ef2f100404dce96eb99e6e7070079c9cabff08d344dfd4756d9c",
10
- "electron-api.json": "c31453550dade9864d897624b282ac6babaad45b1ccb768223ef3fd858e8870f",
11
- "electron-v44.2.0-darwin-arm64-dsym-snapshot.zip": "af0343644a19c6533d417c2fc5ea4641d89860feccd413231e9dd2bafff8dc70",
12
- "electron-v44.2.0-darwin-arm64-dsym.tar.xz": "c2d035d927175a1c5b927cfb2f9bc342f4f0d73c0914eea4a74e5ca2f72984cf",
13
- "electron-v44.2.0-darwin-arm64-symbols.zip": "eab5f3561128188ec14b369df6512dc5aa8ae140be3a87c06b8c6d6460f0ec57",
14
- "electron-v44.2.0-darwin-arm64.zip": "f906dff5d054b1b92e5711781b13cc206fd7139ce66467503b9d0a3e6fbc9b02",
15
- "electron-v44.2.0-darwin-x64-dsym-snapshot.zip": "af0343644a19c6533d417c2fc5ea4641d89860feccd413231e9dd2bafff8dc70",
16
- "electron-v44.2.0-darwin-x64-dsym.tar.xz": "9df7a6afdb1febeb225e81ecb49f268aeadcfb2fc8322fb0582b8a47ea0a6208",
17
- "electron-v44.2.0-darwin-x64-symbols.zip": "61c26ece97b9c18ce5a3996d8b8a5b9973d09782b95008adf0f8abd2fed835ad",
18
- "electron-v44.2.0-darwin-x64.zip": "0c58057eebd23859389e2eba1555975bcbc8adebcc5aa97ff36c036125e2b21a",
19
- "electron-v44.2.0-linux-arm64-debug.zip": "2dd4e81f58b4c93eaac9ffba24f82e9dda5e4406cb36e6b0e43697a240ae0c14",
20
- "electron-v44.2.0-linux-arm64-symbols.zip": "fa5a9364a5d6ee5d378e542a93edd4912fd3c39931838bdb672a934e4072a22a",
21
- "electron-v44.2.0-linux-arm64.zip": "8693fd67332d417775dc2ffc470f4c05eda9d0ed1ac329e4866e108afaa4ddda",
22
- "electron-v44.2.0-linux-x64-debug.zip": "73d3ac2f8d9f9c93dab9e493a57c6b11c7700c1dffd538772ff37520e58ac3bb",
23
- "electron-v44.2.0-linux-x64-symbols.zip": "2202137208ba08e2096572a1278ec22929850319bb5bc6720b1647c1c7b05d86",
24
- "electron-v44.2.0-linux-x64.zip": "574f7d8cd2a82d77812849729a282b86639b050de120d58b138a126d16b48692",
25
- "electron-v44.2.0-mas-arm64-dsym-snapshot.zip": "af0343644a19c6533d417c2fc5ea4641d89860feccd413231e9dd2bafff8dc70",
26
- "electron-v44.2.0-mas-arm64-dsym.tar.xz": "18ef17c9ae6c0b0583d633333cbf05df54880e1afcb9e6769bc7409519f2aaa1",
27
- "electron-v44.2.0-mas-arm64-symbols.zip": "ab79cbb2f5fbb75099940d12a685b800282261d10db73dc98707a6a34a78bcb8",
28
- "electron-v44.2.0-mas-arm64.zip": "91eb10e13656e1a2e312470e9c2ad895085f66e9feb4c462ab49f6db694c6b94",
29
- "electron-v44.2.0-mas-x64-dsym-snapshot.zip": "af0343644a19c6533d417c2fc5ea4641d89860feccd413231e9dd2bafff8dc70",
30
- "electron-v44.2.0-mas-x64-dsym.tar.xz": "1c59d71c159d9ea4a8f71a84df3a40b5c22ce4a3d3fb480d60e31cac4ac24b75",
31
- "electron-v44.2.0-mas-x64-symbols.zip": "88bbd05404ac118d2d115c556ee07a524db7803d8b6180bc24ecca6f8656d0ff",
32
- "electron-v44.2.0-mas-x64.zip": "24b918a0d8c9f4904facb34df1a342cf07da56ab7ec72ddc66043b46e65f6fe3",
33
- "electron-v44.2.0-win32-arm64-pdb.zip": "9dc5265aa119da22ff85f1b84fb52747eaf3c0652582ac41704e2337775c1cda",
34
- "electron-v44.2.0-win32-arm64-symbols.zip": "16d5b4de588d86c92270f55395b38b989afecc1c89de7140ba39d8dd7d8ffd7e",
35
- "electron-v44.2.0-win32-arm64-toolchain-profile.zip": "90386280bc7e4ac5d451e43e26a7c76ed1c8bcdc0206ec50762c7e4f09c59c28",
36
- "electron-v44.2.0-win32-arm64.zip": "a753799aaf4e01262c2f103ef38c0349c9d3370069becc53f9276a5773891427",
37
- "electron-v44.2.0-win32-x64-pdb.zip": "bf3998dd732565a5409939f1677f8df2a1833f58c88bf94634b877f2829bea6b",
38
- "electron-v44.2.0-win32-x64-symbols.zip": "b82138375a7a6a82df0fd33dac769a81cb87e1f8303a584d0204c3aa9b4e818c",
39
- "electron-v44.2.0-win32-x64-toolchain-profile.zip": "90386280bc7e4ac5d451e43e26a7c76ed1c8bcdc0206ec50762c7e4f09c59c28",
40
- "electron-v44.2.0-win32-x64.zip": "4021363e3090d67a144ebedb90765cf193b0e61f300c519c83f0174502a481da",
41
- "electron.d.ts": "896da52cac173bb72099644c9b4c63c0f032d7c482615ee5c8fce58cd5f4bde7",
42
- "ffmpeg-v44.2.0-darwin-arm64.zip": "788efecfb4d87878fdbca9f3a10eb86cbfb4ba894284efe2b615d182c1480c5a",
43
- "ffmpeg-v44.2.0-darwin-x64.zip": "8a9c1586375e6c4172fef217cff8d570878c6903f9bae311d586e95ff6b2eaca",
44
- "ffmpeg-v44.2.0-linux-arm64.zip": "853a6406a71d562183558818c47d0a5cd6a30fae455ce16f59a5d746a9fd0080",
45
- "ffmpeg-v44.2.0-linux-x64.zip": "d03b3faf288e766c3ccfd806e808fdf38d854105b2edbb2fb51e41ccc8607c10",
46
- "ffmpeg-v44.2.0-mas-arm64.zip": "0179b3acbbdc22032d24bf8beba5312a0ee47fac8df87a5752f56bfc59a52752",
47
- "ffmpeg-v44.2.0-mas-x64.zip": "72a7848e13d2c442717679dadf2f158edb1f2f196a8de8bf198dfd44b6419fe8",
48
- "ffmpeg-v44.2.0-win32-arm64.zip": "c247f0ea703e50a9e338e3f73796081d16e5f07f906a11b9ab53a8df5541c0b7",
49
- "ffmpeg-v44.2.0-win32-x64.zip": "3200e2b5af6822caca51d2042338e2b8e63bee12a56561c1fd7e9b1bc939a2ea",
50
- "hunspell_dictionaries.zip": "7e43ce4bbcd77218746e9d4810a309a56071dbd9562782b82ff0bf1060358f4d",
51
- "libcxx-objects-v44.2.0-linux-arm64.zip": "92a02aa2e6e32db1cff33dfcc0b3d41a0bc48a412ee7098a4bb27d57ddf95f70",
52
- "libcxx-objects-v44.2.0-linux-x64.zip": "461399a90601a79a216b1e3f71653b0417bd13ebb8b81028bd99a4a16f0b86ba",
53
- "libcxx_headers.zip": "4e398a25423c8aaa364370196f5636d44471eb4d516d009ea86a3b0de6debc95",
54
- "libcxxabi_headers.zip": "f1129a0445b75092897fc3e036a56e5146132c48c0d6a9f1063f9faa9efa6524",
55
- "mksnapshot-v44.2.0-darwin-arm64.zip": "dbd1760a07eeb1a50a015187c5600c8f84897bcf5d0de3c901f1dc4ad3847c7f",
56
- "mksnapshot-v44.2.0-darwin-x64.zip": "d3519c0719ac00d9cb3f9a60e6cd6a3fed0b2db562a0379d342cad71a476e5bd",
57
- "mksnapshot-v44.2.0-linux-arm64-x64.zip": "80715ff4b04cbdceccf0aa9b5e78d969491c3e8483448ac8483114598157d1b2",
58
- "mksnapshot-v44.2.0-linux-x64.zip": "028eafcc6389ab2034e513bd7e5b2a426fb827617cf423d1f8b8aff5447f4634",
59
- "mksnapshot-v44.2.0-mas-arm64.zip": "5b76c1e642d9c39acd751bd4eebb37e056dca28be48c38fe7660893850fd4d81",
60
- "mksnapshot-v44.2.0-mas-x64.zip": "748d1a45359929d10f4bd72e7375891ec8ba27e257399fe508fe4ea746fdb57d",
61
- "mksnapshot-v44.2.0-win32-arm64-x64.zip": "dc1fe18c6f85a971957e7ffd946ba2a5a7cf59a7375fae94bd7b153887b66096",
62
- "mksnapshot-v44.2.0-win32-x64.zip": "2edc019d0fed3aa0e808792bc98550451aaa4337972893eae0c2b91d90a1b601",
63
- "xcache-v44.2.0-darwin-arm64.zip": "f15b03c9b657a70bc0278c8bffc8dea2510b64282db58fce2c7dc7198ef1e9ff",
64
- "xcache-v44.2.0-darwin-x64.zip": "25368de23cce58e4e574a543afb9992862b532256a95f2879a4d88d7af148f15",
65
- "xcache-v44.2.0-linux-arm64.zip": "e944ff860583da267cd6df0ac7ed38a60be8f25324221b4e4ba92bd444d604f0",
66
- "xcache-v44.2.0-linux-x64.zip": "1d33f4394faafa389c41c49816e1748c059521d17be047c83957d1ac72392e95",
67
- "xcache-v44.2.0-win32-arm64.zip": "de58fe205d089d150cce44210fc1b5130997d7b9cf9535672403d2087a8a9913",
68
- "xcache-v44.2.0-win32-x64.zip": "a27fb51fada52b04aaa4fbb5c3d60a65a107a886cfeb156e34bb1f4d5cfa4e9e"
2
+ "chromedriver-v44.4.0-darwin-arm64.zip": "3c2a46091fd0bace9cf48967e41c718c9f3f0981b2943d2053b749497f918338",
3
+ "chromedriver-v44.4.0-darwin-x64.zip": "991d77a640cc4132a23da916f275b690f9ed3b5905d9360006d73326e8becae3",
4
+ "chromedriver-v44.4.0-linux-arm64.zip": "13c298233c82c36aa11417b59050d84c1f7547be11336432f532b97575c04f0d",
5
+ "chromedriver-v44.4.0-linux-x64.zip": "ce0089a50c0b5f4dd6471472ff3aee8f27f6c285a4f70639287c45501aa61555",
6
+ "chromedriver-v44.4.0-mas-arm64.zip": "40ab8b5e23e65d3cf7a9e7c6ca86316ab5969f146fd540c4bca517836e9e6645",
7
+ "chromedriver-v44.4.0-mas-x64.zip": "0c11417f9fa13ec4df468f5dcdfa400471e2044c10312176e81d64cd493d6a39",
8
+ "chromedriver-v44.4.0-win32-arm64.zip": "60fc5d185f40f3f91d02d51bf70595acaae93b8f302449c624a958820b8c90db",
9
+ "chromedriver-v44.4.0-win32-x64.zip": "7818d2eadca1a16a2116312f48ae5e0314c273b0e7e10efb0f36a06e0007eaed",
10
+ "electron-api.json": "cb64106314702ddc40e817866567644c25004765b8c4ee2bbdc303548428570a",
11
+ "electron-v44.4.0-darwin-arm64-dsym-snapshot.zip": "8bdc48008bd46269ad071f5f6f8e030830a7849b448c4628aaa75ef44305688f",
12
+ "electron-v44.4.0-darwin-arm64-dsym.tar.xz": "b2b7499c9b895175b7f541f9c3865a1bff832e88c9782e401dcf0631900cd799",
13
+ "electron-v44.4.0-darwin-arm64-symbols.zip": "12bbe55b32ef1e3ead9de7fb54a1a1bd4fad54e54a187cce48913f5aea446052",
14
+ "electron-v44.4.0-darwin-arm64.zip": "b658a75b4093fcda7d56d3ee210c8d5fea232d4ebdcf5d7c42810124e77f3831",
15
+ "electron-v44.4.0-darwin-x64-dsym-snapshot.zip": "8bdc48008bd46269ad071f5f6f8e030830a7849b448c4628aaa75ef44305688f",
16
+ "electron-v44.4.0-darwin-x64-dsym.tar.xz": "d20fb1f3722174be5bc8679dde8dd508b4e389dcd6c3a7fce6619ba30f98d67c",
17
+ "electron-v44.4.0-darwin-x64-symbols.zip": "c062130b6bd15f5b1d5cafddfabdb0b7af6eb596a7e2c4c11ed44cff18ebc5c9",
18
+ "electron-v44.4.0-darwin-x64.zip": "7e6a465836d7cde8d986f8bc18506674b6dca9975d8877e13c77b878f562e8f5",
19
+ "electron-v44.4.0-linux-arm64-debug.zip": "7b242f7a59ea4f3413b9f02e9e7335ff63b39b44d1453851585bd722a8fda7fa",
20
+ "electron-v44.4.0-linux-arm64-symbols.zip": "95d0cc2205d07543f2b1946a2e3a0208984db9f3d8c799e4a55600313fe0737a",
21
+ "electron-v44.4.0-linux-arm64.zip": "a24bc331a02510312958279393114e17ca03f74600671db40fe9aa8c26a2b746",
22
+ "electron-v44.4.0-linux-x64-debug.zip": "e269317c53f14a72efa3dc673b311c31e03542800813c163a714ccfac656c907",
23
+ "electron-v44.4.0-linux-x64-symbols.zip": "a0c8fa8425ec5f92ea4735a0157f9249d1ec0c4bab67a275a56cce5d36183a24",
24
+ "electron-v44.4.0-linux-x64.zip": "db661711f521c2b9d53476fad313f473ea825b2da8f86eb68bb5ba33420c499d",
25
+ "electron-v44.4.0-mas-arm64-dsym-snapshot.zip": "8bdc48008bd46269ad071f5f6f8e030830a7849b448c4628aaa75ef44305688f",
26
+ "electron-v44.4.0-mas-arm64-dsym.tar.xz": "a79ea063ac63692a5421519dd7afd87a719a00b8a64499fb5568981937213481",
27
+ "electron-v44.4.0-mas-arm64-symbols.zip": "8ce218de90c3a04bb1ed2a4732b1ffd923a8e5a7feb52e95c2b9f7d8bb3930c8",
28
+ "electron-v44.4.0-mas-arm64.zip": "8f5bfc3ce1d2cc51b8186da313f0334131b9a967d972d4413908dd4f735c0b28",
29
+ "electron-v44.4.0-mas-x64-dsym-snapshot.zip": "8bdc48008bd46269ad071f5f6f8e030830a7849b448c4628aaa75ef44305688f",
30
+ "electron-v44.4.0-mas-x64-dsym.tar.xz": "4fa8bba0023085be2521ab2662fa9c63c530d921c79094e39a0439be1fa2fc8c",
31
+ "electron-v44.4.0-mas-x64-symbols.zip": "eef5d3f919ea2c384fd50c772d7c8b989ed5ebfdb117039652e81850348aee76",
32
+ "electron-v44.4.0-mas-x64.zip": "5343163e1cf040c1158e41ad716cf6ccf66777db10bdd9e488725f654d6dcd1f",
33
+ "electron-v44.4.0-win32-arm64-pdb.zip": "2fb82a4c900fc1ff700e5c0bd8fc78dbb5ba10295908919f83c268a7d2fa6d3b",
34
+ "electron-v44.4.0-win32-arm64-symbols.zip": "214c5bb7c110d5722a9565ad94c06662d1af0d1804b8ddb092d1e918341c7be8",
35
+ "electron-v44.4.0-win32-arm64-toolchain-profile.zip": "90386280bc7e4ac5d451e43e26a7c76ed1c8bcdc0206ec50762c7e4f09c59c28",
36
+ "electron-v44.4.0-win32-arm64.zip": "2da891fe821ce8f1d253d4287a30059b198ab3e30165c298af2cc9368afddc40",
37
+ "electron-v44.4.0-win32-x64-pdb.zip": "6d47530a8503b09e1b86aef5679ce1a6171aea91fb5940e4c1ab671b51ef08eb",
38
+ "electron-v44.4.0-win32-x64-symbols.zip": "d41d84d687c404ccb6d6b6139754f9e94ab7fb553fe2d5537f095166d8235023",
39
+ "electron-v44.4.0-win32-x64-toolchain-profile.zip": "90386280bc7e4ac5d451e43e26a7c76ed1c8bcdc0206ec50762c7e4f09c59c28",
40
+ "electron-v44.4.0-win32-x64.zip": "596d5f7a77fc4f494f24ff9b362577954e16df819a81915bdb3b91d25f8eddd2",
41
+ "electron.d.ts": "7162e050f0b3f8bd790e9ff3510c2c4c6c98df89e2557086ef1ee70b53f40d35",
42
+ "ffmpeg-v44.4.0-darwin-arm64.zip": "5afa98fa554c862d67290429031a4cce5c7fb5c22c4e068cb086c0ff3404a439",
43
+ "ffmpeg-v44.4.0-darwin-x64.zip": "2490f4308750355491f35690477668c31313bfa08dac9a3b7b3bab44e8199124",
44
+ "ffmpeg-v44.4.0-linux-arm64.zip": "86b47b37b85a479a6c32685dd9590aee15857a00b252da35ff82bf51364d59a7",
45
+ "ffmpeg-v44.4.0-linux-x64.zip": "065c9f2822cdbb5edddb90acb737e85959356eb7624135c031783280842fdc02",
46
+ "ffmpeg-v44.4.0-mas-arm64.zip": "1ac71eac4898e753ce4226a34c5e75c7633a1f757dbdf2a34e19fc0f140275aa",
47
+ "ffmpeg-v44.4.0-mas-x64.zip": "830a7b95e0ec60d71bc6e42777524c480ffc85242bfb4b9064c6460acc1f159d",
48
+ "ffmpeg-v44.4.0-win32-arm64.zip": "9184f0f806bf02739b8ad44f882e63fdb3341a80e0556177d33f26544559fcc2",
49
+ "ffmpeg-v44.4.0-win32-x64.zip": "2ca51774057dbe9198014287e738c9d1e89f205d37e63732044cbd9c76566058",
50
+ "hunspell_dictionaries.zip": "f006fabe073c65dde72e46ca4a0d3dde461ba816693f47b3aaf9b21ee97f8053",
51
+ "libcxx-objects-v44.4.0-linux-arm64.zip": "dd14cf8142534ed60fac03247d30ab716a81236be698152943f643e2d65be3af",
52
+ "libcxx-objects-v44.4.0-linux-x64.zip": "5723141e868cda296d3b09db158c980a8413814bd1a4d39766b5a495063a06d1",
53
+ "libcxx_headers.zip": "0d71a3c6ba9ebaad1dd33242c52780e6215f50f9b73611c14cf62881b99e775f",
54
+ "libcxxabi_headers.zip": "3562a5137aa3c35c51f562924eba652074cee91b3465f172caf170bd74af3bd7",
55
+ "mksnapshot-v44.4.0-darwin-arm64.zip": "568e64c76de69fdd7919f8d572f37284d1ed4580421710190c027230a5ebcf3f",
56
+ "mksnapshot-v44.4.0-darwin-x64.zip": "9423498d61b07252df82ff69a66a6410a916b1f47877f3543fa55ac63100144d",
57
+ "mksnapshot-v44.4.0-linux-arm64-x64.zip": "6a79bd03fd75c2be83d1fe3778e486a2553843badd190bf16b7916b6c79d0494",
58
+ "mksnapshot-v44.4.0-linux-x64.zip": "d871ad8fbcd2cb6cd212d1676d063730c81e0f90495a728af7bc8b58fcf6ed57",
59
+ "mksnapshot-v44.4.0-mas-arm64.zip": "5cc67c1efb62129bff5a023881c277c93e15b7623030732e3d6c9c49be8dfaa9",
60
+ "mksnapshot-v44.4.0-mas-x64.zip": "16ab759c1ea505e76ebc2b85ee2071b04e41eb1b25a98c83646a1ff4b6a6e8bb",
61
+ "mksnapshot-v44.4.0-win32-arm64-x64.zip": "06f2786d48b0a2678f752f67da059ca38e773db01cfe11e25a1ae46eaf4a738a",
62
+ "mksnapshot-v44.4.0-win32-x64.zip": "f50fe93eb5cdc51aa18ca4ccd01f0a23d02b182921819d8d39014c1f57cd37e6",
63
+ "xcache-v44.4.0-darwin-arm64.zip": "a1b9d07901f53850c613ac51f1e6afaa303f97a663072c4ecc85b521554e640d",
64
+ "xcache-v44.4.0-darwin-x64.zip": "78dd0ba963d5f6706c4c498ae01fe0c45aa0479fcfb1cb8715a62c484f752665",
65
+ "xcache-v44.4.0-linux-arm64.zip": "724253e87f20b542fb2f8e1bae21bfec68800b70b1e1fd933219f2469adf873a",
66
+ "xcache-v44.4.0-linux-x64.zip": "73e333be9d9d04ab07718c8d6c4fd7e3cf84a0d2af4307a97cc9d44055b8235d",
67
+ "xcache-v44.4.0-win32-arm64.zip": "d0b0f9f99eede6488876dd3ba9ee783b7644666273c3ca27b4905d4f411a9589",
68
+ "xcache-v44.4.0-win32-x64.zip": "651402922e1e5e4c52b4a67b5a1d6148d051462dd4d971087a7c7777d6e2573b"
69
69
  }
package/electron.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Type definitions for Electron 44.2.0
1
+ // Type definitions for Electron 44.4.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
@@ -7651,6 +7651,14 @@ declare namespace Electron {
7651
7651
  * indicating the failure of the command.
7652
7652
  *
7653
7653
  * Send given command to the debugging target.
7654
+ *
7655
+ * > [!NOTE]
7656
+ *
7657
+ * * If `sendCommand` is called before the target has navigated (e.g. immediately
7658
+ * after `attach()`), the returned promise may not resolve until navigation occurs.
7659
+ * * If the command's response has no `result` data, as defined by that command's
7660
+ * entry in the remote debugging protocol, the promise resolves with an empty
7661
+ * object (`{}`), not `null` or `undefined`.
7654
7662
  */
7655
7663
  sendCommand(method: string, commandParams?: any, sessionId?: string): Promise<any>;
7656
7664
  }
@@ -8258,6 +8266,14 @@ declare namespace Electron {
8258
8266
  * actual name of saved file will be different.
8259
8267
  */
8260
8268
  getFilename(): string;
8269
+ /**
8270
+ * The origin that started the download (for example `https://example.com`, or
8271
+ * `null` for an opaque origin), or an empty string if the download was not started
8272
+ * by web content (for example `webContents.downloadURL()`). Use this rather than
8273
+ * `getURL()` or the `webContents` to decide whose download it is: the URL is
8274
+ * chosen by the initiator and the `webContents` is the whole tab.
8275
+ */
8276
+ getInitiatorOrigin(): string;
8261
8277
  /**
8262
8278
  * Last-Modified header value.
8263
8279
  */
@@ -9632,6 +9648,9 @@ declare namespace Electron {
9632
9648
  * This property can be dynamically changed; setting it to `undefined` removes the
9633
9649
  * badge. Only available on macOS 14 and up.
9634
9650
  *
9651
+ * Badges are not displayed in Dock menus, though the same item shows its badge in
9652
+ * an application menu.
9653
+ *
9635
9654
  * @platform darwin
9636
9655
  */
9637
9656
  badge?: MenuItemBadge;
@@ -11552,6 +11571,12 @@ declare namespace Electron {
11552
11571
  * Register a protocol handler for `scheme`. Requests made to URLs with this scheme
11553
11572
  * will delegate to this handler to determine what response should be sent.
11554
11573
  *
11574
+ * In addition to the standard `Request` fields, `request.initiatorOrigin` is set
11575
+ * to the origin that issued the request (for example `https://example.com`, or
11576
+ * `null` for an opaque origin) when web content made it; it is absent for requests
11577
+ * the browser started itself. Unlike `request.referrer` it is not controlled by
11578
+ * the requesting page, so prefer it when deciding whether to serve a request.
11579
+ *
11555
11580
  * Either a `Response` or a `Promise<Response>` can be returned.
11556
11581
  *
11557
11582
  * Example:
@@ -11756,6 +11781,12 @@ declare namespace Electron {
11756
11781
  // Docs: https://electronjs.org/docs/api/structures/protocol-request
11757
11782
 
11758
11783
  headers: Record<string, string>;
11784
+ /**
11785
+ * The origin that issued the request (for example `https://example.com`, or `null`
11786
+ * for an opaque origin). Absent for requests the browser started itself. Unlike
11787
+ * `referrer`, this is not controlled by the requesting page.
11788
+ */
11789
+ initiatorOrigin?: string;
11759
11790
  method: string;
11760
11791
  referrer: string;
11761
11792
  uploadData?: UploadData[];
@@ -12624,7 +12655,11 @@ declare namespace Electron {
12624
12655
  * True if the renderer is requesting that the connection include credentials (see
12625
12656
  * the spec for more details.)
12626
12657
  */
12627
- allowCredentials: boolean) => void): this;
12658
+ allowCredentials: boolean,
12659
+ /**
12660
+ * The frame that requested the preconnection, if it still exists.
12661
+ */
12662
+ frame: (WebFrameMain) | (null)) => void): this;
12628
12663
  off(event: 'preconnect', listener: (event: Event,
12629
12664
  /**
12630
12665
  * The URL being requested for preconnection by the renderer.
@@ -12634,7 +12669,11 @@ declare namespace Electron {
12634
12669
  * True if the renderer is requesting that the connection include credentials (see
12635
12670
  * the spec for more details.)
12636
12671
  */
12637
- allowCredentials: boolean) => void): this;
12672
+ allowCredentials: boolean,
12673
+ /**
12674
+ * The frame that requested the preconnection, if it still exists.
12675
+ */
12676
+ frame: (WebFrameMain) | (null)) => void): this;
12638
12677
  once(event: 'preconnect', listener: (event: Event,
12639
12678
  /**
12640
12679
  * The URL being requested for preconnection by the renderer.
@@ -12644,7 +12683,11 @@ declare namespace Electron {
12644
12683
  * True if the renderer is requesting that the connection include credentials (see
12645
12684
  * the spec for more details.)
12646
12685
  */
12647
- allowCredentials: boolean) => void): this;
12686
+ allowCredentials: boolean,
12687
+ /**
12688
+ * The frame that requested the preconnection, if it still exists.
12689
+ */
12690
+ frame: (WebFrameMain) | (null)) => void): this;
12648
12691
  addListener(event: 'preconnect', listener: (event: Event,
12649
12692
  /**
12650
12693
  * The URL being requested for preconnection by the renderer.
@@ -12654,7 +12697,11 @@ declare namespace Electron {
12654
12697
  * True if the renderer is requesting that the connection include credentials (see
12655
12698
  * the spec for more details.)
12656
12699
  */
12657
- allowCredentials: boolean) => void): this;
12700
+ allowCredentials: boolean,
12701
+ /**
12702
+ * The frame that requested the preconnection, if it still exists.
12703
+ */
12704
+ frame: (WebFrameMain) | (null)) => void): this;
12658
12705
  removeListener(event: 'preconnect', listener: (event: Event,
12659
12706
  /**
12660
12707
  * The URL being requested for preconnection by the renderer.
@@ -12664,7 +12711,11 @@ declare namespace Electron {
12664
12711
  * True if the renderer is requesting that the connection include credentials (see
12665
12712
  * the spec for more details.)
12666
12713
  */
12667
- allowCredentials: boolean) => void): this;
12714
+ allowCredentials: boolean,
12715
+ /**
12716
+ * The frame that requested the preconnection, if it still exists.
12717
+ */
12718
+ frame: (WebFrameMain) | (null)) => void): this;
12668
12719
  /**
12669
12720
  * Emitted when a HID device needs to be selected when a call to
12670
12721
  * `navigator.hid.requestDevice` is made. `callback` should be called with
@@ -13002,26 +13053,47 @@ declare namespace Electron {
13002
13053
  removeListener(event: 'usb-device-revoked', listener: (event: Event,
13003
13054
  details: UsbDeviceRevokedDetails) => void): this;
13004
13055
  /**
13005
- * Emitted when Electron is about to download `item` in `webContents`.
13056
+ * Emitted when Electron is about to download `item` in `webContents`. See also
13057
+ * `item.getInitiatorOrigin()`.
13006
13058
  *
13007
13059
  * Calling `event.preventDefault()` will cancel the download and `item` will not be
13008
13060
  * available from next tick of the process.
13009
13061
  */
13010
13062
  on(event: 'will-download', listener: (event: Event,
13011
13063
  item: DownloadItem,
13012
- webContents: WebContents) => void): this;
13064
+ webContents: WebContents,
13065
+ /**
13066
+ * The frame that started the download, if it still exists.
13067
+ */
13068
+ frame: (WebFrameMain) | (null)) => void): this;
13013
13069
  off(event: 'will-download', listener: (event: Event,
13014
13070
  item: DownloadItem,
13015
- webContents: WebContents) => void): this;
13071
+ webContents: WebContents,
13072
+ /**
13073
+ * The frame that started the download, if it still exists.
13074
+ */
13075
+ frame: (WebFrameMain) | (null)) => void): this;
13016
13076
  once(event: 'will-download', listener: (event: Event,
13017
13077
  item: DownloadItem,
13018
- webContents: WebContents) => void): this;
13078
+ webContents: WebContents,
13079
+ /**
13080
+ * The frame that started the download, if it still exists.
13081
+ */
13082
+ frame: (WebFrameMain) | (null)) => void): this;
13019
13083
  addListener(event: 'will-download', listener: (event: Event,
13020
13084
  item: DownloadItem,
13021
- webContents: WebContents) => void): this;
13085
+ webContents: WebContents,
13086
+ /**
13087
+ * The frame that started the download, if it still exists.
13088
+ */
13089
+ frame: (WebFrameMain) | (null)) => void): this;
13022
13090
  removeListener(event: 'will-download', listener: (event: Event,
13023
13091
  item: DownloadItem,
13024
- webContents: WebContents) => void): this;
13092
+ webContents: WebContents,
13093
+ /**
13094
+ * The frame that started the download, if it still exists.
13095
+ */
13096
+ frame: (WebFrameMain) | (null)) => void): this;
13025
13097
  /**
13026
13098
  * Whether the word was successfully written to the custom dictionary. This API
13027
13099
  * will not work on non-persistent (in-memory) sessions.
@@ -13392,8 +13464,12 @@ declare namespace Electron {
13392
13464
  * is available and `useSystemPicker` is set to `true`, the handler will not be
13393
13465
  * invoked.
13394
13466
  *
13395
- * Passing a WebFrameMain object as a video or audio stream will capture the video
13396
- * or audio stream from that frame.
13467
+ * Passing a WebFrameMain object as a video or audio stream captures the whole
13468
+ * `webContents` that contains that frame (the tab), not just the frame:
13469
+ * `request.frame` from an `<iframe>` therefore grants that iframe a capture of the
13470
+ * page that embeds it. Check `request.frame` before using it this way, and note
13471
+ * that the callback throws if the frame has been destroyed by the time it is
13472
+ * called.
13397
13473
  *
13398
13474
  * Passing `null` instead of a function resets the handler to its default state.
13399
13475
  */
@@ -18168,7 +18244,9 @@ declare namespace Electron {
18168
18244
  * The identifier of a WebContents stream. This identifier can be used with
18169
18245
  * `navigator.mediaDevices.getUserMedia` using a `chromeMediaSource` of `tab`. The
18170
18246
  * identifier is restricted to the web contents that it is registered to and is
18171
- * only valid for 10 seconds.
18247
+ * only valid for 10 seconds. The `desktop` source only accepts screen and window
18248
+ * identifiers from `desktopCapturer.getSources`; to capture a WebContents use this
18249
+ * identifier with the `tab` source, or `ses.setDisplayMediaRequestHandler`.
18172
18250
  */
18173
18251
  getMediaSourceId(requestWebContents: WebContents): string;
18174
18252
  /**
@@ -19466,8 +19544,10 @@ declare namespace Electron {
19466
19544
  */
19467
19545
  nodeIntegrationInSubFrames?: boolean;
19468
19546
  /**
19469
- * Whether node integration is enabled in web workers. Default is `false`. More
19470
- * about this can be found in Multithreading.
19547
+ * Whether node integration is enabled in web workers. Default is `false`. Only
19548
+ * workers created by a frame that itself has access to Node.js (the main frame, or
19549
+ * any frame when `nodeIntegrationInSubFrames` is enabled) get it. More about this
19550
+ * can be found in Multithreading.
19471
19551
  */
19472
19552
  nodeIntegrationInWorker?: boolean;
19473
19553
  /**
@@ -20037,6 +20117,10 @@ declare namespace Electron {
20037
20117
  removeEventListener(event: 'close', listener: (event: DOMEvent) => void): this;
20038
20118
  /**
20039
20119
  * Fired when the guest page has sent an asynchronous message to embedder page.
20120
+ * `frameId` does not tell the embedder which document sent the message; when that
20121
+ * matters, have the guest use `ipcRenderer.send()` and handle the guest
20122
+ * `webContents`' `ipc-message` event in the main process, where
20123
+ * `event.senderFrame` identifies the sender.
20040
20124
  *
20041
20125
  * With `sendToHost` method and `ipc-message` event you can communicate between
20042
20126
  * guest page and embedder page:
@@ -20419,7 +20503,9 @@ declare namespace Electron {
20419
20503
  unselect(): void;
20420
20504
  /**
20421
20505
  * A `boolean`. When this attribute is present the guest page will be allowed to
20422
- * open new windows. Popups are disabled by default.
20506
+ * open new windows, whether through `window.open()` or a link opened into a new
20507
+ * window (for example a modifier-clicked or `target="_blank"` link). Popups are
20508
+ * disabled by default.
20423
20509
  */
20424
20510
  allowpopups: boolean;
20425
20511
  /**
@@ -21862,6 +21948,15 @@ declare namespace Electron {
21862
21948
  * The blocked path attempting to be accessed.
21863
21949
  */
21864
21950
  path: string;
21951
+ /**
21952
+ * The frame that initiated access. May be `null` if the frame has since been
21953
+ * destroyed.
21954
+ */
21955
+ frame: (WebFrameMain) | (null);
21956
+ /**
21957
+ * The WebContents that contains `frame`.
21958
+ */
21959
+ webContents: (WebContents) | (null);
21865
21960
  }
21866
21961
 
21867
21962
  interface FindInPageOptions {
@@ -22447,6 +22542,7 @@ declare namespace Electron {
22447
22542
  /**
22448
22543
  * A badge shown alongside the label, either a system-styled count (`alerts`,
22449
22544
  * `updates`, `new-items`) or a custom string. Only available on macOS 14 and up.
22545
+ * Not displayed in Dock menus.
22450
22546
  *
22451
22547
  * @platform darwin
22452
22548
  */
@@ -22842,6 +22938,12 @@ declare namespace Electron {
22842
22938
  * or been destroyed.
22843
22939
  */
22844
22940
  frame?: (WebFrameMain) | (null);
22941
+ /**
22942
+ * The origin that issued the request (for example `https://example.com`, or `null`
22943
+ * for an opaque origin). Kept from the original request across redirects; absent
22944
+ * for requests the browser started itself.
22945
+ */
22946
+ initiatorOrigin?: string;
22845
22947
  /**
22846
22948
  * Can be `mainFrame`, `subFrame`, `stylesheet`, `script`, `image`, `font`,
22847
22949
  * `object`, `xhr`, `ping`, `cspReport`, `media`, `webSocket` or `other`.
@@ -22871,6 +22973,12 @@ declare namespace Electron {
22871
22973
  * or been destroyed.
22872
22974
  */
22873
22975
  frame?: (WebFrameMain) | (null);
22976
+ /**
22977
+ * The origin that issued the request (for example `https://example.com`, or `null`
22978
+ * for an opaque origin). Kept from the original request across redirects; absent
22979
+ * for requests the browser started itself.
22980
+ */
22981
+ initiatorOrigin?: string;
22874
22982
  /**
22875
22983
  * Can be `mainFrame`, `subFrame`, `stylesheet`, `script`, `image`, `font`,
22876
22984
  * `object`, `xhr`, `ping`, `cspReport`, `media`, `webSocket` or `other`.
@@ -22892,6 +23000,12 @@ declare namespace Electron {
22892
23000
  * or been destroyed.
22893
23001
  */
22894
23002
  frame?: (WebFrameMain) | (null);
23003
+ /**
23004
+ * The origin that issued the request (for example `https://example.com`, or `null`
23005
+ * for an opaque origin). Kept from the original request across redirects; absent
23006
+ * for requests the browser started itself.
23007
+ */
23008
+ initiatorOrigin?: string;
22895
23009
  /**
22896
23010
  * Can be `mainFrame`, `subFrame`, `stylesheet`, `script`, `image`, `font`,
22897
23011
  * `object`, `xhr`, `ping`, `cspReport`, `media`, `webSocket` or `other`.
@@ -22914,6 +23028,12 @@ declare namespace Electron {
22914
23028
  * or been destroyed.
22915
23029
  */
22916
23030
  frame?: (WebFrameMain) | (null);
23031
+ /**
23032
+ * The origin that issued the request (for example `https://example.com`, or `null`
23033
+ * for an opaque origin). Kept from the original request across redirects; absent
23034
+ * for requests the browser started itself.
23035
+ */
23036
+ initiatorOrigin?: string;
22917
23037
  /**
22918
23038
  * Can be `mainFrame`, `subFrame`, `stylesheet`, `script`, `image`, `font`,
22919
23039
  * `object`, `xhr`, `ping`, `cspReport`, `media`, `webSocket` or `other`.
@@ -22939,6 +23059,12 @@ declare namespace Electron {
22939
23059
  * or been destroyed.
22940
23060
  */
22941
23061
  frame?: (WebFrameMain) | (null);
23062
+ /**
23063
+ * The origin that issued the request (for example `https://example.com`, or `null`
23064
+ * for an opaque origin). Kept from the original request across redirects; absent
23065
+ * for requests the browser started itself.
23066
+ */
23067
+ initiatorOrigin?: string;
22942
23068
  /**
22943
23069
  * Can be `mainFrame`, `subFrame`, `stylesheet`, `script`, `image`, `font`,
22944
23070
  * `object`, `xhr`, `ping`, `cspReport`, `media`, `webSocket` or `other`.
@@ -22964,6 +23090,12 @@ declare namespace Electron {
22964
23090
  * or been destroyed.
22965
23091
  */
22966
23092
  frame?: (WebFrameMain) | (null);
23093
+ /**
23094
+ * The origin that issued the request (for example `https://example.com`, or `null`
23095
+ * for an opaque origin). Kept from the original request across redirects; absent
23096
+ * for requests the browser started itself.
23097
+ */
23098
+ initiatorOrigin?: string;
22967
23099
  /**
22968
23100
  * Can be `mainFrame`, `subFrame`, `stylesheet`, `script`, `image`, `font`,
22969
23101
  * `object`, `xhr`, `ping`, `cspReport`, `media`, `webSocket` or `other`.
@@ -22987,6 +23119,12 @@ declare namespace Electron {
22987
23119
  * or been destroyed.
22988
23120
  */
22989
23121
  frame?: (WebFrameMain) | (null);
23122
+ /**
23123
+ * The origin that issued the request (for example `https://example.com`, or `null`
23124
+ * for an opaque origin). Kept from the original request across redirects; absent
23125
+ * for requests the browser started itself.
23126
+ */
23127
+ initiatorOrigin?: string;
22990
23128
  /**
22991
23129
  * Can be `mainFrame`, `subFrame`, `stylesheet`, `script`, `image`, `font`,
22992
23130
  * `object`, `xhr`, `ping`, `cspReport`, `media`, `webSocket` or `other`.
@@ -23014,6 +23152,12 @@ declare namespace Electron {
23014
23152
  * or been destroyed.
23015
23153
  */
23016
23154
  frame?: (WebFrameMain) | (null);
23155
+ /**
23156
+ * The origin that issued the request (for example `https://example.com`, or `null`
23157
+ * for an opaque origin). Kept from the original request across redirects; absent
23158
+ * for requests the browser started itself.
23159
+ */
23160
+ initiatorOrigin?: string;
23017
23161
  /**
23018
23162
  * Can be `mainFrame`, `subFrame`, `stylesheet`, `script`, `image`, `font`,
23019
23163
  * `object`, `xhr`, `ping`, `cspReport`, `media`, `webSocket` or `other`.
@@ -23232,7 +23376,8 @@ declare namespace Electron {
23232
23376
  */
23233
23377
  embeddingOrigin?: string;
23234
23378
  /**
23235
- * The security origin of the `media` check.
23379
+ * The origin of the requesting frame, for `media`, `hid`, `usb` and `serial`
23380
+ * checks.
23236
23381
  */
23237
23382
  securityOrigin?: string;
23238
23383
  /**
@@ -23240,8 +23385,8 @@ declare namespace Electron {
23240
23385
  */
23241
23386
  mediaType?: ('video' | 'audio' | 'unknown');
23242
23387
  /**
23243
- * The last URL the requesting frame loaded. This is not provided for cross-origin
23244
- * sub frames making permission checks.
23388
+ * The last URL the requesting frame loaded. Not provided when the check is not
23389
+ * made on behalf of a document (for example for a service worker).
23245
23390
  */
23246
23391
  requestingUrl?: string;
23247
23392
  /**
@@ -23835,7 +23980,8 @@ declare namespace Electron {
23835
23980
  /**
23836
23981
  * If a string is specified, can be `loopback` or `loopbackWithMute`. Specifying a
23837
23982
  * loopback device will capture system audio, and is currently only supported on
23838
- * Windows. If a WebFrameMain is specified, will capture audio from that frame.
23983
+ * Windows. If a WebFrameMain is specified, will capture audio from the
23984
+ * `webContents` that contains that frame.
23839
23985
  */
23840
23986
  audio?: (('loopback' | 'loopbackWithMute')) | (WebFrameMain);
23841
23987
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electron",
3
- "version": "44.2.0",
3
+ "version": "44.4.0",
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",