electron 44.3.0 β†’ 44.4.1

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.3.0-darwin-arm64.zip": "4ddb6a5f9c5f5c2bd3897aa36a63a161ef350e4f38bd118acfa924ad6e98f75f",
3
- "chromedriver-v44.3.0-darwin-x64.zip": "b549a5916a630f879b6837a6d52947d679598b5b90b2317013f7cb1dc6f3cf8a",
4
- "chromedriver-v44.3.0-linux-arm64.zip": "cecf416116f2273461e10b0f14eaa2318e6b66e44b6bbe7439866ce1bf6bc4e7",
5
- "chromedriver-v44.3.0-linux-x64.zip": "53167b1bdf4c7887b29b228c0b5f3f43704d9c8917859c42fe98da97cf03e444",
6
- "chromedriver-v44.3.0-mas-arm64.zip": "d481718dec349441bf9765a2d19f169bd6ca7995fad9417aa53ff51fb4c4abd6",
7
- "chromedriver-v44.3.0-mas-x64.zip": "0b8ccb22927be293a10e073001a39cc33a537474efd5c90b206b88dcd0cd875d",
8
- "chromedriver-v44.3.0-win32-arm64.zip": "4b6c35e4ee19a5d705dd52594742ecf01cf798fa6d9671867fdc39cfa9e959f5",
9
- "chromedriver-v44.3.0-win32-x64.zip": "c4e08f3960732efd234ff748e3095dbb2810b12914d68ed0ef0a7b7c44a621d0",
10
- "electron-api.json": "b454d95df2b770002e10a646c437bac10df81770f04466b74bf94345b0dd2f78",
11
- "electron-v44.3.0-darwin-arm64-dsym-snapshot.zip": "520c98fa6eee56cabce7c83a59312784b0806b50699795e603bcd324c3dc3762",
12
- "electron-v44.3.0-darwin-arm64-dsym.tar.xz": "071b490d6649ba04985a9c2d7b7f25bb533ed580af179a97a61b9657a0817111",
13
- "electron-v44.3.0-darwin-arm64-symbols.zip": "920404b0e7b3122a331f5a82ea1a443e546be7fe40077599b4b25ffe5562517c",
14
- "electron-v44.3.0-darwin-arm64.zip": "49b91ef265c603c8888500f807484b63816069c30f87ba2b403e7c87f0f45035",
15
- "electron-v44.3.0-darwin-x64-dsym-snapshot.zip": "520c98fa6eee56cabce7c83a59312784b0806b50699795e603bcd324c3dc3762",
16
- "electron-v44.3.0-darwin-x64-dsym.tar.xz": "c2eedc734ecb6209c73d540274a490e9f1f1ef594328694e101bfca1110484be",
17
- "electron-v44.3.0-darwin-x64-symbols.zip": "50bc11c1d221d3138441cb46e467536a107302c9d8c23d72fdcf1b9609ccc27e",
18
- "electron-v44.3.0-darwin-x64.zip": "6e3278d96377085af532380e2b23a38cdcf4c58b4efb3f6ada2f251db95c9560",
19
- "electron-v44.3.0-linux-arm64-debug.zip": "157ee60c1fd8e28c4b47bdb24ad7fde40dbdc7d113c60e48794505ca92c35393",
20
- "electron-v44.3.0-linux-arm64-symbols.zip": "c77ea528ab51f0f315091eb8c46df972ff27aad44ed50b7ae094f70c4984ac2b",
21
- "electron-v44.3.0-linux-arm64.zip": "c11fde221c08e9bffdb3336579f09bd934a009862f509af5033616876741be24",
22
- "electron-v44.3.0-linux-x64-debug.zip": "1f8cb550cd846f4c4e9205418f4f78d8b971379352206f472403579d4d05ec10",
23
- "electron-v44.3.0-linux-x64-symbols.zip": "ef7bba0aa6f46ecb35a153201a278dab75a254da41d5a3987192be53a8708a91",
24
- "electron-v44.3.0-linux-x64.zip": "8b49b9efdd73c0f467edc3c1cd5678392c384ccf224f34ff54179f736e2f384b",
25
- "electron-v44.3.0-mas-arm64-dsym-snapshot.zip": "520c98fa6eee56cabce7c83a59312784b0806b50699795e603bcd324c3dc3762",
26
- "electron-v44.3.0-mas-arm64-dsym.tar.xz": "bfd57dff9b8ae29a1a952f84091ff1bab04748f98af44e20a59f9cb73653e8b7",
27
- "electron-v44.3.0-mas-arm64-symbols.zip": "f2eb7df32cf17480af20989c4428433e9c7072249a6f8f0f6e45293cfa7d5fc2",
28
- "electron-v44.3.0-mas-arm64.zip": "55922b604e8b0359f55b73e2555862ac4d229abae6155dd1e4a4d9486ce4d015",
29
- "electron-v44.3.0-mas-x64-dsym-snapshot.zip": "520c98fa6eee56cabce7c83a59312784b0806b50699795e603bcd324c3dc3762",
30
- "electron-v44.3.0-mas-x64-dsym.tar.xz": "c91a58bb9ccd5b89ec50ea4d403b3b020737f80c9c2db69091c837c0d9de3d5b",
31
- "electron-v44.3.0-mas-x64-symbols.zip": "6305ed881b11e990b605329a1b5ec64b31d3b7618fbb8bfbf5a7b01964ade2ff",
32
- "electron-v44.3.0-mas-x64.zip": "c9aeeefab9b89fc2dc2ddff51f11edecfe89f783ab0c98abefa1e4e88474c616",
33
- "electron-v44.3.0-win32-arm64-pdb.zip": "194519fba73bf619385a337c20c934b71efda4e74a4a23aa64e2571e5da8ff7e",
34
- "electron-v44.3.0-win32-arm64-symbols.zip": "0bc27696c88086eae64eecd8b6c72059b07fc9f2a6561eb392c53b21cc69c8ba",
35
- "electron-v44.3.0-win32-arm64-toolchain-profile.zip": "90386280bc7e4ac5d451e43e26a7c76ed1c8bcdc0206ec50762c7e4f09c59c28",
36
- "electron-v44.3.0-win32-arm64.zip": "e5b5ae25d9fc9fbeff13d6ab4bfd25fc3e32bc2286380ab1d0557555d0918f48",
37
- "electron-v44.3.0-win32-x64-pdb.zip": "b3b309f91227c75c49ac916dabb414e3eeceb30f54a3a7ebd446a60508daea96",
38
- "electron-v44.3.0-win32-x64-symbols.zip": "fcf0d35d195788cb3bf46c02d6782222b1ad40633bd206a4df419d295fce774e",
39
- "electron-v44.3.0-win32-x64-toolchain-profile.zip": "90386280bc7e4ac5d451e43e26a7c76ed1c8bcdc0206ec50762c7e4f09c59c28",
40
- "electron-v44.3.0-win32-x64.zip": "26bf9a617d58d81772b3d68305d59ee48272969c15083c06db634a77358a8d9d",
41
- "electron.d.ts": "e1f529df2f2b09213ea9d02696b09f9917ce09723992dcf8b7415d435a073224",
42
- "ffmpeg-v44.3.0-darwin-arm64.zip": "e9bc20b57f8f48a685fc165a90367b4356a778668c05eb54a446938a79416e66",
43
- "ffmpeg-v44.3.0-darwin-x64.zip": "7b95ae676f5adf7f70ad4d8a515fa60fda3b2cabc038f81182735dbb9aab6735",
44
- "ffmpeg-v44.3.0-linux-arm64.zip": "a39c58bd5a4c5c9506d0691d969d23ac393e937b4e896e1547f7d6089f422d0d",
45
- "ffmpeg-v44.3.0-linux-x64.zip": "6f0cb141bdde5cecfdafe744474f5b89997ed7b3771cb60ddcf635bfbe1f7fca",
46
- "ffmpeg-v44.3.0-mas-arm64.zip": "c20c8a8ecdf1b5c43fba1c384c69e73aaa1bb8e1c03d7c91e9849275d5b73b11",
47
- "ffmpeg-v44.3.0-mas-x64.zip": "3455a92c5d97e0d0898d95af2d15bb95b9d505e776b21d9adbae809028d30090",
48
- "ffmpeg-v44.3.0-win32-arm64.zip": "49700b7358f43dd0ee7086c09ef2d71c879d254bf9d4c3dd7a64dde103d27e5a",
49
- "ffmpeg-v44.3.0-win32-x64.zip": "173b24749368afceca3db620669387ec717a6e125b7d864921d167c9eadfc66e",
50
- "hunspell_dictionaries.zip": "6fdbe1fca7878141982f0cfadd65165c50fde38e0be7d90bdebc74a1afd728e6",
51
- "libcxx-objects-v44.3.0-linux-arm64.zip": "bf33c65a2ca919b9f1beee23ee7b6a4e44b03cc8c8bc71f70742b73e3d17405e",
52
- "libcxx-objects-v44.3.0-linux-x64.zip": "eb33a6f09ceb0e7b2e05734aadbb0fbc348ee3750a3d054e69e7ac9faefe1623",
53
- "libcxx_headers.zip": "88c684b487ab06dae57338e73110f1123a13431ee5752632ca460ca9d4972894",
54
- "libcxxabi_headers.zip": "c623bfe37d755eb9020fc080d4ef0df799acf3439b7b588f9a62d9b6e3908b75",
55
- "mksnapshot-v44.3.0-darwin-arm64.zip": "5938644de81bccd86e76f8f1394207e945cc116ff8afa791fb0a26d88959416a",
56
- "mksnapshot-v44.3.0-darwin-x64.zip": "afac93dc874b064a06d119a1c579662a4c92d9244ce130553db99adbd137d606",
57
- "mksnapshot-v44.3.0-linux-arm64-x64.zip": "f40bf55d48b56486cf9f33e8795532b55102524155be3385f1f598b99bde4f92",
58
- "mksnapshot-v44.3.0-linux-x64.zip": "6e4dfbf2dd3104fdd2ad7dfaf0c1ede91818b5f415db7dfd75d88cacef42dafa",
59
- "mksnapshot-v44.3.0-mas-arm64.zip": "217db90ab32cdc9ff3da484ba561db37334ec6531c7980f2b961cd65519f968c",
60
- "mksnapshot-v44.3.0-mas-x64.zip": "a3a0ab63338533e9fd693dc7fdf9f645000e6e1152e39371259c7dc73eaf828b",
61
- "mksnapshot-v44.3.0-win32-arm64-x64.zip": "6c805003957e0d99a59d344c4f9a3ae1ac1a8abbd16cf7e3980b4fb4e3121438",
62
- "mksnapshot-v44.3.0-win32-x64.zip": "48f220050d334f7154d47922b26f14112f39d277aa7ad6bd71050ab0a1ca79be",
63
- "xcache-v44.3.0-darwin-arm64.zip": "12ed54adfca8f24c50a30d3f06f3637f4924ca2673dbeef3c88b96203e2c1baa",
64
- "xcache-v44.3.0-darwin-x64.zip": "040b2efa3e7e975327ca471ff10b2f5edcfd0d9eea9a1cc58f3e7115185d3e7b",
65
- "xcache-v44.3.0-linux-arm64.zip": "1a4d9264221d461a2296df606810d97c94fe05147474995d2b515013ef775eba",
66
- "xcache-v44.3.0-linux-x64.zip": "70fb59d330d307550c208ebf7b79899eca3076bc98a53bc0bc895ae4fa45a0b5",
67
- "xcache-v44.3.0-win32-arm64.zip": "b7bfcd22b6c7081ac4f4c7e8e34c9a83230be9496ac707071626ef99528c132c",
68
- "xcache-v44.3.0-win32-x64.zip": "167901e75e48bbc002eb93b3a693ccc460b9ccaa3944edabdeed905d3cf5e81b"
2
+ "chromedriver-v44.4.1-darwin-arm64.zip": "1aa370f794d053fff34820abaecb08d255e29663e8c80909730aa22122f3d506",
3
+ "chromedriver-v44.4.1-darwin-x64.zip": "6e69161a73458a7c27b2077297df9c24ceb702442b7555c50eebd53f75d37da9",
4
+ "chromedriver-v44.4.1-linux-arm64.zip": "03f410023b47d4004ca7f84c61e0eff0bd880fb560f4498085c446461ff2988f",
5
+ "chromedriver-v44.4.1-linux-x64.zip": "9d9e66464ef49fd647f5daf1cd8fd6f2e521cce79898c95df0dc988f71983cab",
6
+ "chromedriver-v44.4.1-mas-arm64.zip": "692c55be8deb7b487e15347bedd96f580e33418f605337f34211f451eaf03af9",
7
+ "chromedriver-v44.4.1-mas-x64.zip": "c58d7efc2bcecddb10d20c3f4f335faec11ce5b1185adf6275611f977c7e53be",
8
+ "chromedriver-v44.4.1-win32-arm64.zip": "0847075d3d567042eb814dbab0aac5b438b21170d38ee62313d00186a07468b6",
9
+ "chromedriver-v44.4.1-win32-x64.zip": "bd6bf55beff535ee24485756cc2ab89a60849e543e9e751cd9410f5472516d2e",
10
+ "electron-api.json": "6eaabfdfca945ec8a6aabf865f8fe64ceb5be4c885fd3c4291a99356393e433b",
11
+ "electron-v44.4.1-darwin-arm64-dsym-snapshot.zip": "21da872a298ab03d80ae5c73bdb629336a8a88b09f281cd1eb0b9c67a967e7ad",
12
+ "electron-v44.4.1-darwin-arm64-dsym.tar.xz": "f4caf70e429932672e0e66bc7cce49767c69ceba35b2361461fe0e4190aaf287",
13
+ "electron-v44.4.1-darwin-arm64-symbols.zip": "5914630664fe994e152090ae5294f43e8ed83d9ca3f3d34b26e8ec9dc3b287d6",
14
+ "electron-v44.4.1-darwin-arm64.zip": "9ff18dff15a0661d7b6c0bb5965f450006c7bd15db0a3b2184a6f7bf13410a7e",
15
+ "electron-v44.4.1-darwin-x64-dsym-snapshot.zip": "21da872a298ab03d80ae5c73bdb629336a8a88b09f281cd1eb0b9c67a967e7ad",
16
+ "electron-v44.4.1-darwin-x64-dsym.tar.xz": "c95b2d6532814f34621afdc748cb3da94f9b0d1a50cecbe0542fe4fd57cbf9d8",
17
+ "electron-v44.4.1-darwin-x64-symbols.zip": "8ce8eb50bc4048341d22b3ee50e45c1422d690a3c6b23b7b7a51c8c7cf23b62a",
18
+ "electron-v44.4.1-darwin-x64.zip": "fe9a87d57deab10bbdb84fc23cc0d639df1be43ad4b83d3ef5885938cd20ec5d",
19
+ "electron-v44.4.1-linux-arm64-debug.zip": "fdf357e5fd065b725d4bab43f47b853025158e07d55115099faf9b7879171063",
20
+ "electron-v44.4.1-linux-arm64-symbols.zip": "2465d2bef9e60c3d21eb25dfb25f2292e2ea16bbc2cf2a3ef65230987f6c9d12",
21
+ "electron-v44.4.1-linux-arm64.zip": "5b8ee1eb6a1b91710635de80958997045d351648790ca0cc15a0ef4831c7af7e",
22
+ "electron-v44.4.1-linux-x64-debug.zip": "33894795de36f8530285c551e04e1cd677ed14850ee17994d630bd586fd170fa",
23
+ "electron-v44.4.1-linux-x64-symbols.zip": "24341bc8d2b98dd16d994576e57ec65b963161837b963a77103ecb87baed7309",
24
+ "electron-v44.4.1-linux-x64.zip": "4a5cb9b3c84eefc3e68df178fbb31bd7c5c9a07fa19f173c84ea058cbe8190aa",
25
+ "electron-v44.4.1-mas-arm64-dsym-snapshot.zip": "21da872a298ab03d80ae5c73bdb629336a8a88b09f281cd1eb0b9c67a967e7ad",
26
+ "electron-v44.4.1-mas-arm64-dsym.tar.xz": "c4d0b6ea8bb4d216bbb3ba5b89c1c0b318eda0e1da1e1d3177e39200118751a2",
27
+ "electron-v44.4.1-mas-arm64-symbols.zip": "9b6c2f554514b4030618a17309882fb0a7e4cb3b97ea45fd8c199a85c0c3c821",
28
+ "electron-v44.4.1-mas-arm64.zip": "a0aca60c96306eccf934887879cbe165a993693b5892ead2a12026e5e65db0eb",
29
+ "electron-v44.4.1-mas-x64-dsym-snapshot.zip": "21da872a298ab03d80ae5c73bdb629336a8a88b09f281cd1eb0b9c67a967e7ad",
30
+ "electron-v44.4.1-mas-x64-dsym.tar.xz": "682734ec3de37be9562a8b04e8ee027d806a0f252d239ce9f2cfedd2b7e56804",
31
+ "electron-v44.4.1-mas-x64-symbols.zip": "2545c457681c2208b6c415c003cb13df8765064f6adba84f9d3939e56905df20",
32
+ "electron-v44.4.1-mas-x64.zip": "ba7239f0937a373b9221292a59f2e9b8852642ef38cd8ac84fceec04f2f480c1",
33
+ "electron-v44.4.1-win32-arm64-pdb.zip": "219bad3b294c141f87d5bb6beac293937961d1d9cbf4c24fe5212bfa9e71e722",
34
+ "electron-v44.4.1-win32-arm64-symbols.zip": "dc879fbc1ab5b820abefe9ce29cc070988fca947042f3dffd4cd2a8de94504a1",
35
+ "electron-v44.4.1-win32-arm64-toolchain-profile.zip": "90386280bc7e4ac5d451e43e26a7c76ed1c8bcdc0206ec50762c7e4f09c59c28",
36
+ "electron-v44.4.1-win32-arm64.zip": "a1a5b3a754b42b32b7aa04181f66686a3be11cdc41a10d04e5977ab0be425fb1",
37
+ "electron-v44.4.1-win32-x64-pdb.zip": "c43ea17e91e8abf0dac2cbaf51f69dcd1905c5dbd0d553c5a5393a6569219f6e",
38
+ "electron-v44.4.1-win32-x64-symbols.zip": "956056778f325105d1690f06302e7c210b70a91267d1509d3bbfb3384b0aba49",
39
+ "electron-v44.4.1-win32-x64-toolchain-profile.zip": "90386280bc7e4ac5d451e43e26a7c76ed1c8bcdc0206ec50762c7e4f09c59c28",
40
+ "electron-v44.4.1-win32-x64.zip": "34bc07977d6c43b6514b956a5f2e3292255daa3838a49e6110f3fe19ffafb83f",
41
+ "electron.d.ts": "d6d03fbfd15796656af33e2624cb3077238c4502867a69b2556bfc10393655f9",
42
+ "ffmpeg-v44.4.1-darwin-arm64.zip": "cf39fd172753c178171a3a16d5c2af748ed748e4e2f204bfff7ef7ff932db09f",
43
+ "ffmpeg-v44.4.1-darwin-x64.zip": "11062961fd64748c6f4c121e4690292f927429612c92f7be825b22a15700ceb5",
44
+ "ffmpeg-v44.4.1-linux-arm64.zip": "86b47b37b85a479a6c32685dd9590aee15857a00b252da35ff82bf51364d59a7",
45
+ "ffmpeg-v44.4.1-linux-x64.zip": "065c9f2822cdbb5edddb90acb737e85959356eb7624135c031783280842fdc02",
46
+ "ffmpeg-v44.4.1-mas-arm64.zip": "8533ed442c5d9876643731a08f5b08eac41a93d9248b89106e240a70c8423032",
47
+ "ffmpeg-v44.4.1-mas-x64.zip": "656bbe91daf1dc292cc92e8c8d318e8cbb39e45e756fd2b3aae67e6fd05fc878",
48
+ "ffmpeg-v44.4.1-win32-arm64.zip": "9184f0f806bf02739b8ad44f882e63fdb3341a80e0556177d33f26544559fcc2",
49
+ "ffmpeg-v44.4.1-win32-x64.zip": "2ca51774057dbe9198014287e738c9d1e89f205d37e63732044cbd9c76566058",
50
+ "hunspell_dictionaries.zip": "f75f5f4d42181996edd0cee535d48a1dde30f237238cc845ba106f029d0f2dde",
51
+ "libcxx-objects-v44.4.1-linux-arm64.zip": "cbc59483a10702cc82bff4fce95c194c4b5d600af981806455f197fe9a39fe52",
52
+ "libcxx-objects-v44.4.1-linux-x64.zip": "c5150f934fdc6cab717658960713687eadf7da9b47401daa18b03069a729c50b",
53
+ "libcxx_headers.zip": "a791fb9d0283acfeb5eb59de21683cceb3260ab85738f8739e8391556789894f",
54
+ "libcxxabi_headers.zip": "f1129a0445b75092897fc3e036a56e5146132c48c0d6a9f1063f9faa9efa6524",
55
+ "mksnapshot-v44.4.1-darwin-arm64.zip": "720b534ec038ebfcd069499601673a9785c3e8afa705cf16fd30b64db00c686d",
56
+ "mksnapshot-v44.4.1-darwin-x64.zip": "847a96fee14a87f6ff564c16e6553c33640fe13ce4c68db52119316f9c20eadf",
57
+ "mksnapshot-v44.4.1-linux-arm64-x64.zip": "d9c8776993af8a781e634577c56e82c347750ae88ac58a10c7faea18d6145530",
58
+ "mksnapshot-v44.4.1-linux-x64.zip": "2a0e1177610730c7fd574429efa59571e2d27eb1ea9736bb8ee8cfc5b1327235",
59
+ "mksnapshot-v44.4.1-mas-arm64.zip": "aeca47788b5e7706ff65c08b04743b65efd0e795582ad54467336fccebc8f56c",
60
+ "mksnapshot-v44.4.1-mas-x64.zip": "5037e203615b838d47e9c5b69ef7800258763738f624bb6a3913c3044ad279cc",
61
+ "mksnapshot-v44.4.1-win32-arm64-x64.zip": "0a618ded38f84b8089e6e7c20ea9bd94744ba63722ab9bc2dd324586b95a371c",
62
+ "mksnapshot-v44.4.1-win32-x64.zip": "e8e3c71253bbc495542d8deb88c875ffa9d04abc63cf621a7818a72e87164b09",
63
+ "xcache-v44.4.1-darwin-arm64.zip": "91748de525f78f571dd73c4867e2ed986e133991917e2bbe234eb7adab8e8e0e",
64
+ "xcache-v44.4.1-darwin-x64.zip": "31745593a03f31a863571ead20b7f33c74b56c73550a83703a71dfa061cc15ff",
65
+ "xcache-v44.4.1-linux-arm64.zip": "af0fdf34aa97aa66a04fb49b70c092067ed160b4de292d0e971f716b407759ed",
66
+ "xcache-v44.4.1-linux-x64.zip": "c2350e07963ccdaea00fa4a470926c20da15b59a70d15ab72f93fc83e34ce0c4",
67
+ "xcache-v44.4.1-win32-arm64.zip": "dbb70c20655f40e7c3b7d06deeec6f70176de3791e2adac5dc3bcca84e68938a",
68
+ "xcache-v44.4.1-win32-x64.zip": "2b7f478e4d9cb5d93914576247c97d9edea6804e9e572a74bf3a0aa0b086cff6"
69
69
  }
package/electron.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Type definitions for Electron 44.3.0
1
+ // Type definitions for Electron 44.4.1
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
@@ -8266,6 +8266,14 @@ declare namespace Electron {
8266
8266
  * actual name of saved file will be different.
8267
8267
  */
8268
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;
8269
8277
  /**
8270
8278
  * Last-Modified header value.
8271
8279
  */
@@ -11563,6 +11571,12 @@ declare namespace Electron {
11563
11571
  * Register a protocol handler for `scheme`. Requests made to URLs with this scheme
11564
11572
  * will delegate to this handler to determine what response should be sent.
11565
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
+ *
11566
11580
  * Either a `Response` or a `Promise<Response>` can be returned.
11567
11581
  *
11568
11582
  * Example:
@@ -11767,6 +11781,12 @@ declare namespace Electron {
11767
11781
  // Docs: https://electronjs.org/docs/api/structures/protocol-request
11768
11782
 
11769
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;
11770
11790
  method: string;
11771
11791
  referrer: string;
11772
11792
  uploadData?: UploadData[];
@@ -12635,7 +12655,11 @@ declare namespace Electron {
12635
12655
  * True if the renderer is requesting that the connection include credentials (see
12636
12656
  * the spec for more details.)
12637
12657
  */
12638
- 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;
12639
12663
  off(event: 'preconnect', listener: (event: Event,
12640
12664
  /**
12641
12665
  * The URL being requested for preconnection by the renderer.
@@ -12645,7 +12669,11 @@ declare namespace Electron {
12645
12669
  * True if the renderer is requesting that the connection include credentials (see
12646
12670
  * the spec for more details.)
12647
12671
  */
12648
- 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;
12649
12677
  once(event: 'preconnect', listener: (event: Event,
12650
12678
  /**
12651
12679
  * The URL being requested for preconnection by the renderer.
@@ -12655,7 +12683,11 @@ declare namespace Electron {
12655
12683
  * True if the renderer is requesting that the connection include credentials (see
12656
12684
  * the spec for more details.)
12657
12685
  */
12658
- 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;
12659
12691
  addListener(event: 'preconnect', listener: (event: Event,
12660
12692
  /**
12661
12693
  * The URL being requested for preconnection by the renderer.
@@ -12665,7 +12697,11 @@ declare namespace Electron {
12665
12697
  * True if the renderer is requesting that the connection include credentials (see
12666
12698
  * the spec for more details.)
12667
12699
  */
12668
- 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;
12669
12705
  removeListener(event: 'preconnect', listener: (event: Event,
12670
12706
  /**
12671
12707
  * The URL being requested for preconnection by the renderer.
@@ -12675,7 +12711,11 @@ declare namespace Electron {
12675
12711
  * True if the renderer is requesting that the connection include credentials (see
12676
12712
  * the spec for more details.)
12677
12713
  */
12678
- 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;
12679
12719
  /**
12680
12720
  * Emitted when a HID device needs to be selected when a call to
12681
12721
  * `navigator.hid.requestDevice` is made. `callback` should be called with
@@ -13013,26 +13053,47 @@ declare namespace Electron {
13013
13053
  removeListener(event: 'usb-device-revoked', listener: (event: Event,
13014
13054
  details: UsbDeviceRevokedDetails) => void): this;
13015
13055
  /**
13016
- * 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()`.
13017
13058
  *
13018
13059
  * Calling `event.preventDefault()` will cancel the download and `item` will not be
13019
13060
  * available from next tick of the process.
13020
13061
  */
13021
13062
  on(event: 'will-download', listener: (event: Event,
13022
13063
  item: DownloadItem,
13023
- 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;
13024
13069
  off(event: 'will-download', listener: (event: Event,
13025
13070
  item: DownloadItem,
13026
- 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;
13027
13076
  once(event: 'will-download', listener: (event: Event,
13028
13077
  item: DownloadItem,
13029
- 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;
13030
13083
  addListener(event: 'will-download', listener: (event: Event,
13031
13084
  item: DownloadItem,
13032
- 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;
13033
13090
  removeListener(event: 'will-download', listener: (event: Event,
13034
13091
  item: DownloadItem,
13035
- 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;
13036
13097
  /**
13037
13098
  * Whether the word was successfully written to the custom dictionary. This API
13038
13099
  * will not work on non-persistent (in-memory) sessions.
@@ -22877,6 +22938,12 @@ declare namespace Electron {
22877
22938
  * or been destroyed.
22878
22939
  */
22879
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;
22880
22947
  /**
22881
22948
  * Can be `mainFrame`, `subFrame`, `stylesheet`, `script`, `image`, `font`,
22882
22949
  * `object`, `xhr`, `ping`, `cspReport`, `media`, `webSocket` or `other`.
@@ -22906,6 +22973,12 @@ declare namespace Electron {
22906
22973
  * or been destroyed.
22907
22974
  */
22908
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;
22909
22982
  /**
22910
22983
  * Can be `mainFrame`, `subFrame`, `stylesheet`, `script`, `image`, `font`,
22911
22984
  * `object`, `xhr`, `ping`, `cspReport`, `media`, `webSocket` or `other`.
@@ -22927,6 +23000,12 @@ declare namespace Electron {
22927
23000
  * or been destroyed.
22928
23001
  */
22929
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;
22930
23009
  /**
22931
23010
  * Can be `mainFrame`, `subFrame`, `stylesheet`, `script`, `image`, `font`,
22932
23011
  * `object`, `xhr`, `ping`, `cspReport`, `media`, `webSocket` or `other`.
@@ -22949,6 +23028,12 @@ declare namespace Electron {
22949
23028
  * or been destroyed.
22950
23029
  */
22951
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;
22952
23037
  /**
22953
23038
  * Can be `mainFrame`, `subFrame`, `stylesheet`, `script`, `image`, `font`,
22954
23039
  * `object`, `xhr`, `ping`, `cspReport`, `media`, `webSocket` or `other`.
@@ -22974,6 +23059,12 @@ declare namespace Electron {
22974
23059
  * or been destroyed.
22975
23060
  */
22976
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;
22977
23068
  /**
22978
23069
  * Can be `mainFrame`, `subFrame`, `stylesheet`, `script`, `image`, `font`,
22979
23070
  * `object`, `xhr`, `ping`, `cspReport`, `media`, `webSocket` or `other`.
@@ -22999,6 +23090,12 @@ declare namespace Electron {
22999
23090
  * or been destroyed.
23000
23091
  */
23001
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;
23002
23099
  /**
23003
23100
  * Can be `mainFrame`, `subFrame`, `stylesheet`, `script`, `image`, `font`,
23004
23101
  * `object`, `xhr`, `ping`, `cspReport`, `media`, `webSocket` or `other`.
@@ -23022,6 +23119,12 @@ declare namespace Electron {
23022
23119
  * or been destroyed.
23023
23120
  */
23024
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;
23025
23128
  /**
23026
23129
  * Can be `mainFrame`, `subFrame`, `stylesheet`, `script`, `image`, `font`,
23027
23130
  * `object`, `xhr`, `ping`, `cspReport`, `media`, `webSocket` or `other`.
@@ -23049,6 +23152,12 @@ declare namespace Electron {
23049
23152
  * or been destroyed.
23050
23153
  */
23051
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;
23052
23161
  /**
23053
23162
  * Can be `mainFrame`, `subFrame`, `stylesheet`, `script`, `image`, `font`,
23054
23163
  * `object`, `xhr`, `ping`, `cspReport`, `media`, `webSocket` or `other`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electron",
3
- "version": "44.3.0",
3
+ "version": "44.4.1",
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",