electron 21.1.0 β†’ 22.0.0-alpha.3

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
@@ -5,7 +5,7 @@
5
5
  [![Electron Discord Invite](https://img.shields.io/discord/745037351163527189?color=%237289DA&label=chat&logo=discord&logoColor=white)](https://discord.gg/electronjs)
6
6
 
7
7
  :memo: Available Translations: πŸ‡¨πŸ‡³ πŸ‡§πŸ‡· πŸ‡ͺπŸ‡Έ πŸ‡―πŸ‡΅ πŸ‡·πŸ‡Ί πŸ‡«πŸ‡· πŸ‡ΊπŸ‡Έ πŸ‡©πŸ‡ͺ.
8
- View these docs in other languages at [electron/i18n](https://github.com/electron/i18n/tree/master/content/).
8
+ View these docs in other languages on our [Crowdin](https://crowdin.com/project/electron) project.
9
9
 
10
10
  The Electron framework lets you write cross-platform desktop applications
11
11
  using JavaScript, HTML and CSS. It is based on [Node.js](https://nodejs.org/) and
package/checksums.json CHANGED
@@ -1,77 +1,77 @@
1
1
  {
2
- "chromedriver-v21.1.0-darwin-arm64.zip": "b4299bc47ca01f0338bb1a17c7a2da9ba790c12be089a4e27a9fa353d291ff33",
3
- "chromedriver-v21.1.0-darwin-x64.zip": "0d9bd04d4e4755c7e775a05d342f839c0da2453aa8e522b2744b27d6e7934996",
4
- "chromedriver-v21.1.0-linux-arm64.zip": "3ea0cba992dbdd85ad81a023749722075d9323d8ea5c54d8ec92b7a616c2599f",
5
- "chromedriver-v21.1.0-linux-armv7l.zip": "0b71f6fb75eb3881ba999286c3fa61a52e4de68456cfcf0c288f0882ba2cbbb6",
6
- "chromedriver-v21.1.0-linux-x64.zip": "95c9cd530a2c689a4603d7d69bd72cb3dc68033881918e22995640dc6152f296",
7
- "chromedriver-v21.1.0-mas-arm64.zip": "854985b2723ddc3e43f60de30135361855ec3ec0ea90e5fff9311e60f3661d6f",
8
- "chromedriver-v21.1.0-mas-x64.zip": "5ea80523729644f772ee8d1bc31eeccda3f908ec3b6e79f8e8f0ea34b01fabe9",
9
- "chromedriver-v21.1.0-win32-arm64.zip": "acf2a3c6c710f56c685baf68c556c1b175b66215c026803f5bbd2101ca4f8030",
10
- "chromedriver-v21.1.0-win32-ia32.zip": "6bf042c8cb3a63507c1b894cdd166b7bbd0ccd5398c4c6b2b3cb1926a0795b57",
11
- "chromedriver-v21.1.0-win32-x64.zip": "a4a0130726a46b6781c99bd674f9f85462c51d163f6a0d11fcedac04ce72d523",
12
- "electron-api.json": "7cf8d1e55933badbd530606ccfb7eb4990f64bf6c5b1996a3b6a040a8c5a9ab7",
13
- "electron-v21.1.0-darwin-arm64-dsym-snapshot.zip": "2f02e7e99ab91e90871521e89dcb0a5e7b41ee988e8604b725ddd1c83721c769",
14
- "electron-v21.1.0-darwin-arm64-dsym.zip": "9d46262197186d4c5b10fdf010814b09770b8a6a297ece8d759e122aa607efbb",
15
- "electron-v21.1.0-darwin-arm64-symbols.zip": "ec6a0d7055e60368a5903465f087f6fc69a6a7b634d43ebdf04fb6ee5fb91ad9",
16
- "electron-v21.1.0-darwin-arm64.zip": "d1d8ba60361809a4f2c9fedcb62d8c7873939e1251629d6dcf9e91660873a75c",
17
- "electron-v21.1.0-darwin-x64-dsym-snapshot.zip": "02c70ec8b0aecdb95bb627cdf02ac3ee69178b0b7f22b9b77751e8d6379a65aa",
18
- "electron-v21.1.0-darwin-x64-dsym.zip": "eb95e29b70f5a0dbecb54f28d2cdfac719762777e7b28171d609fd6cff15847d",
19
- "electron-v21.1.0-darwin-x64-symbols.zip": "5b6c6570b164dceca46ce3096e4973cf38ac681dc307eddd6c7272c3af52eacd",
20
- "electron-v21.1.0-darwin-x64.zip": "5d987264c0a985d45819034891d7d03bc27989b6f4f84fd86fe1f832055471ee",
21
- "electron-v21.1.0-linux-arm64-debug.zip": "0cbb9c5a5dd12ec2be81ad3edd2a8101424d3f818539373ff96dd03d55e950a8",
22
- "electron-v21.1.0-linux-arm64-symbols.zip": "ba01c9bc5e66b15a9c87e7a8511b09b9e27695d25223f1be67dd56016fcc35b1",
23
- "electron-v21.1.0-linux-arm64.zip": "d0b8adf2dc3b0f8a8b775d1026c68b13ae985bfcb4e9b5174e0cb309e26cde4e",
24
- "electron-v21.1.0-linux-armv7l-debug.zip": "0cbb9c5a5dd12ec2be81ad3edd2a8101424d3f818539373ff96dd03d55e950a8",
25
- "electron-v21.1.0-linux-armv7l-symbols.zip": "18c3c58eb8eb531b43e1982bd290e0243f69176f820cf838d28d9db8c6495c06",
26
- "electron-v21.1.0-linux-armv7l.zip": "c2099a1f70067cce1785d760f5f989f1232be4afd9dd95a4b801c992360cb589",
27
- "electron-v21.1.0-linux-x64-debug.zip": "854e81abae53ae0afe103e1a1c82ff399f49aa04eb622e0298b4275da1fcc5d9",
28
- "electron-v21.1.0-linux-x64-symbols.zip": "d3ee0bcccf874bfd999b11114e6881768a00bc8f59cc44fd08639eb342b2cc43",
29
- "electron-v21.1.0-linux-x64.zip": "e4a100021f1bbb08bdf05dc2a73388c73729a6697def3e8ec6bac08cfaec8439",
30
- "electron-v21.1.0-mas-arm64-dsym-snapshot.zip": "2f02e7e99ab91e90871521e89dcb0a5e7b41ee988e8604b725ddd1c83721c769",
31
- "electron-v21.1.0-mas-arm64-dsym.zip": "8f0c717233656d032f728f342ad83f0b39e20f32c385e80e0a8620dff8752563",
32
- "electron-v21.1.0-mas-arm64-symbols.zip": "5f560d7593691b5dd2f8db44c7c4f4ef1b9a2a3a254ac78d8df01cdcd833a6d5",
33
- "electron-v21.1.0-mas-arm64.zip": "17de796a30920d09c6b91624ebc100c7c6a8154c1cf909062fbd9f3deef3d77c",
34
- "electron-v21.1.0-mas-x64-dsym-snapshot.zip": "5cba9a03d32b87f689dae6792b0e4e85bea5bf58ecf951bccd6726185459ec85",
35
- "electron-v21.1.0-mas-x64-dsym.zip": "3ef69c69aa6277cc6b02f49f7c0f608b39383b9daae06404f8971b34ac7da5e5",
36
- "electron-v21.1.0-mas-x64-symbols.zip": "8f736b9a598f9f421690783d6c0c4923da332561ccf8381c97c1f341b3e2af62",
37
- "electron-v21.1.0-mas-x64.zip": "1cab81a05553b7317579e6aea4a2db1efa77434ae26507d628da4fdc76bc610d",
38
- "electron-v21.1.0-win32-arm64-pdb.zip": "b24683fdec99e7f1ec782423b44517eb7685d576ce37fcd9122f05bc0372502d",
39
- "electron-v21.1.0-win32-arm64-symbols.zip": "7c493a85d126e6d04a0f9c5c0ef82455026b4f9c2d174d3e7d7088b066bb5eaf",
40
- "electron-v21.1.0-win32-arm64-toolchain-profile.zip": "3a5d2888ac992d063c6219cb20f73182ee02f25935f0f73bd7ed4ee8cd719376",
41
- "electron-v21.1.0-win32-arm64.zip": "fc42f0d330c898751bf1a2149b4a22f7f5c887bcd85e1ba7fea3ea85fafbb624",
42
- "electron-v21.1.0-win32-ia32-pdb.zip": "b9068993174803fdd1f06b17fb445a4327b3f42d7fe9966b9f585116698698de",
43
- "electron-v21.1.0-win32-ia32-symbols.zip": "ff5d1d48ede098d09f076c37ae9fa2a030a1b2976b48066fbc39fd35e6cf69ff",
44
- "electron-v21.1.0-win32-ia32-toolchain-profile.zip": "3a5d2888ac992d063c6219cb20f73182ee02f25935f0f73bd7ed4ee8cd719376",
45
- "electron-v21.1.0-win32-ia32.zip": "bd0868d1b1b814ac4bae7d7084ca18db2f76f13419c337e819cc362833520b81",
46
- "electron-v21.1.0-win32-x64-pdb.zip": "2e9833dd7be9fc131e93dc462824a0261e2c5e622cd5a6eb1f912e6c09548c0e",
47
- "electron-v21.1.0-win32-x64-symbols.zip": "5cfa3df1d14b697af6f19c8bf5a939c80f31d2cb225c03c86443e493d7bb3883",
48
- "electron-v21.1.0-win32-x64-toolchain-profile.zip": "3a5d2888ac992d063c6219cb20f73182ee02f25935f0f73bd7ed4ee8cd719376",
49
- "electron-v21.1.0-win32-x64.zip": "fd45ac6862f8bbaee1f1caac1a10e0bbe0c59cc2e6c3052c1da5a3b38abc323b",
50
- "electron.d.ts": "6a8a2bec1d804f704205acce1fbe79f99ff4f2b57255cc99c56fd2c872fee5fd",
51
- "ffmpeg-v21.1.0-darwin-arm64.zip": "adbecf2c6fca257d4ce6d812230defca427cc3c4ce6950efde4121fe8593a8b7",
52
- "ffmpeg-v21.1.0-darwin-x64.zip": "624106ed91736920bcc018eae7a337edcc92cd14e024eb783addaafee173cd17",
53
- "ffmpeg-v21.1.0-linux-arm64.zip": "65b8f67aab4fffbc6fc1f88db82b5fcfdfee86500ca68ff52d57408fd222f078",
54
- "ffmpeg-v21.1.0-linux-armv7l.zip": "dbfbf0783cdfab3b80b141d0e874b30588deecef51ca7139b64d7ba91ba6d32d",
55
- "ffmpeg-v21.1.0-linux-x64.zip": "72ef3ded2cae96bedb355af48258713f62bf101a9fc0ff9b0ddc2ffd77d8e17d",
56
- "ffmpeg-v21.1.0-mas-arm64.zip": "bcbdb14183e166da3f53af6a6f52cee85713ffb330ad7f4861af7f68a893506b",
57
- "ffmpeg-v21.1.0-mas-x64.zip": "276564f0ef7e4e1449fc620ef35ce5c30c9e4779ff858f6fbaaad4ee4e250730",
58
- "ffmpeg-v21.1.0-win32-arm64.zip": "1afdd6eef571911730c735528417174d9f1a37a5b04a3862907eed5fb31dfe1f",
59
- "ffmpeg-v21.1.0-win32-ia32.zip": "13096649cf9cd8d5aa68b5506c0866b736cd65a5dc340f3884a01ca1974abbf7",
60
- "ffmpeg-v21.1.0-win32-x64.zip": "9ce5371180bb1a50e03d029020707b616398391f33952c0573fb5368b6353f2d",
61
- "hunspell_dictionaries.zip": "2acccbe167bdbfd804569058c30a3b47eca0a31e2a0bd276b384e47581bf963f",
62
- "libcxx-objects-v21.1.0-linux-arm64.zip": "40f7f8cd5bb60628c0f5a50637eb57081339a1dcc6bd9f39d079ff0a81ed3ec2",
63
- "libcxx-objects-v21.1.0-linux-armv7l.zip": "8a57c3c4709b5ad58108d5ff1b90e35e9765b6100a79b72be6cd0125f7abd77d",
64
- "libcxx-objects-v21.1.0-linux-x64.zip": "4002f366a08119840f705cf04ba92adf171d9511d4b87e54678b0040b64d2c8c",
65
- "libcxx_headers.zip": "93f61a2ba107a12af2a32a4a04cf27ee6672a9c566ee4bbc321c08bd895370d4",
66
- "libcxxabi_headers.zip": "c1091e703b775e75d9c86b30fba0dfa166b568e35d8b26e69d84193f4c7e749e",
67
- "mksnapshot-v21.1.0-darwin-arm64.zip": "d0148bb5eb418bebd4ea783235375142e3f7948292f1fc37a25cf9723b08c6bc",
68
- "mksnapshot-v21.1.0-darwin-x64.zip": "8637935975f7aa71bc82a1f99357003ec59babd9d89cadd66500983277397351",
69
- "mksnapshot-v21.1.0-linux-arm64-x64.zip": "ae5f4a0ddc3e10013f722fd582a20035487befbc0d532485a1318459ddbe07ea",
70
- "mksnapshot-v21.1.0-linux-armv7l-x64.zip": "c8032cc67e2d562e7bdc5f979fffc6b5da4d5aef99c2e216cf7e9c75859dd3c4",
71
- "mksnapshot-v21.1.0-linux-x64.zip": "489070ffdb56707df2b71c714ddb6deb799b9445036b266fdd197236fc0a9062",
72
- "mksnapshot-v21.1.0-mas-arm64.zip": "911c6402d2dcb778779f1854ac85bb96410a1db282f2b9509ad7ad1b42fea9f7",
73
- "mksnapshot-v21.1.0-mas-x64.zip": "2b39edba11b7a3faf97cedf9a0c47d6e080653608be8f58bcf816de0eadf05f0",
74
- "mksnapshot-v21.1.0-win32-arm64-x64.zip": "e4d40afed048d67f6ecef2bbb5e5a22065b684f1876818920cf9d9433551cb61",
75
- "mksnapshot-v21.1.0-win32-ia32.zip": "e561d5f6dc6605766f3ea9550f1edc3572fce2dd5de4f8ff9bd413e680f6c2f0",
76
- "mksnapshot-v21.1.0-win32-x64.zip": "de6cc261995d1518aa6ba1d707ed02a3a2cedcbd3c94758dcc31897174070b81"
2
+ "chromedriver-v22.0.0-alpha.3-darwin-arm64.zip": "36f0973609785bb99e415784b14fb239090cd46a39d4a5519b9e558d6717f972",
3
+ "chromedriver-v22.0.0-alpha.3-darwin-x64.zip": "e190fbfa34d9845bfdea9a3318e89f4039220965763f58827932adf68ba2a3e6",
4
+ "chromedriver-v22.0.0-alpha.3-linux-arm64.zip": "b2dd28da3f715d764eb50fa0dc13187b19c2b5c088fa88b64440d5876e133d09",
5
+ "chromedriver-v22.0.0-alpha.3-linux-armv7l.zip": "1ab17c31c1bc69764c63f19e394c3ccdc66028396fd5d3ca5c213611cc14ebc6",
6
+ "chromedriver-v22.0.0-alpha.3-linux-x64.zip": "bdfa023e3b8c272421f04ce73e94f7835d1a73d43e5475507aae13ab44ca01be",
7
+ "chromedriver-v22.0.0-alpha.3-mas-arm64.zip": "9713ccc159a35c1494ddc63f07c407d352a437b709d06d84aaa918f324131852",
8
+ "chromedriver-v22.0.0-alpha.3-mas-x64.zip": "c208e4f2c87386ae580e8f23caac52c1f2597ff642402ac3954dc031cdc18937",
9
+ "chromedriver-v22.0.0-alpha.3-win32-arm64.zip": "73c40b650795dd26af29b07741ff23f2744e2478c55321a0270084b7582d7da9",
10
+ "chromedriver-v22.0.0-alpha.3-win32-ia32.zip": "58763aff305c08cfc6110537ad44043d3020bd8e3fb4b93da133465a599eabd1",
11
+ "chromedriver-v22.0.0-alpha.3-win32-x64.zip": "ec4efeafba148f34990e4c09d1982a9a390830b2f0b6d41e991fe534a47b46fa",
12
+ "electron-api.json": "cd2ccbb42be6eb74344623b58d9c0a20f689137a98fb566d284cbf7697cd1152",
13
+ "electron-v22.0.0-alpha.3-darwin-arm64-dsym-snapshot.zip": "ddcd5a03720abbb50dbb4f0f1e0af4d3c932b5c04e5f287c491a02db60c3943e",
14
+ "electron-v22.0.0-alpha.3-darwin-arm64-dsym.zip": "a41bc67b80fc4c14724ba4cb81b2a3d226039f4a4bc96c75491197a3a5ddaf95",
15
+ "electron-v22.0.0-alpha.3-darwin-arm64-symbols.zip": "f81384cdc12c2571d94d115ea26d95a9edfc632f139845a67369b216ec8356da",
16
+ "electron-v22.0.0-alpha.3-darwin-arm64.zip": "b8523420251069f5a8ad5ad82837f34e4d5a922460f0dde3a25366e19df6c1e7",
17
+ "electron-v22.0.0-alpha.3-darwin-x64-dsym-snapshot.zip": "3909d8c74f47c659f53e4f70029ffcd1174cf231236de9d0ef29f26d99765433",
18
+ "electron-v22.0.0-alpha.3-darwin-x64-dsym.zip": "98059f5c8503c56f9f320d9f22695b132402bb2e1786faf3b6eb1c90d03afd9f",
19
+ "electron-v22.0.0-alpha.3-darwin-x64-symbols.zip": "3c25164217b18cac3dc70ea0e13146c7e6ca1e7a0f8550dd024e7cd170e90f94",
20
+ "electron-v22.0.0-alpha.3-darwin-x64.zip": "7d769d7ded6383bb40689220a40f53928246dcf08ed0c286cbe1fd5dd9171a9f",
21
+ "electron-v22.0.0-alpha.3-linux-arm64-debug.zip": "b958923253ad047d94b2998a43ae6cca6bb46c84a7d13c45e98abec46db9214f",
22
+ "electron-v22.0.0-alpha.3-linux-arm64-symbols.zip": "c88020225c96d4ba915004b11f1990a9f2fc7e8752dfc67b414263bde09dce6b",
23
+ "electron-v22.0.0-alpha.3-linux-arm64.zip": "31dfa8643e5b53a85174a934fb8d08b51fd51e8dcd653d4ae3c6028005030648",
24
+ "electron-v22.0.0-alpha.3-linux-armv7l-debug.zip": "b958923253ad047d94b2998a43ae6cca6bb46c84a7d13c45e98abec46db9214f",
25
+ "electron-v22.0.0-alpha.3-linux-armv7l-symbols.zip": "0258cc435f3db328a2fa700e790cf132d74289b0cec67e2441c7ed0015e53e6e",
26
+ "electron-v22.0.0-alpha.3-linux-armv7l.zip": "a6b614a4762f8da02df6a0165dab4cbfdd488a3188722fd07cba1b1d7db5a020",
27
+ "electron-v22.0.0-alpha.3-linux-x64-debug.zip": "35b57a56c1514ac14845cb027b24747261ad220125fe9cf476c32c2c9bfd2afb",
28
+ "electron-v22.0.0-alpha.3-linux-x64-symbols.zip": "78c4a8818f9e19a9c6d3c1c16e30d4652d3ef7dd6b7d34ef6e70c0e5854dee05",
29
+ "electron-v22.0.0-alpha.3-linux-x64.zip": "6c2a224f78ab15702d180486e8787cb9929006a315808e6b0d5c971f12ac4bc8",
30
+ "electron-v22.0.0-alpha.3-mas-arm64-dsym-snapshot.zip": "ddcd5a03720abbb50dbb4f0f1e0af4d3c932b5c04e5f287c491a02db60c3943e",
31
+ "electron-v22.0.0-alpha.3-mas-arm64-dsym.zip": "1f8930a5466358a9f3edcf4099a8175e08a19e19561523d28e0cfc91ad9cde2a",
32
+ "electron-v22.0.0-alpha.3-mas-arm64-symbols.zip": "8dc662a794daded1c1a3b115fe59275b33f09033caa97b453e7c93fbb0b84dcf",
33
+ "electron-v22.0.0-alpha.3-mas-arm64.zip": "29b438125b2da4e3469d0409585acff6b37287400c03890fe555723ac54b54b0",
34
+ "electron-v22.0.0-alpha.3-mas-x64-dsym-snapshot.zip": "dadef8d94595c545f550403c4d73126326b37729c0b55b2f4cc9fe4450ef9b34",
35
+ "electron-v22.0.0-alpha.3-mas-x64-dsym.zip": "9d2bddd8c77c63dd377625a6584dadcc2c091ce89e5a2c89af3cfe77fdf5c91e",
36
+ "electron-v22.0.0-alpha.3-mas-x64-symbols.zip": "1aca3fa13350cce18b861b985fc4657832de1683ff4e624e4bf7ad90e6ddd49d",
37
+ "electron-v22.0.0-alpha.3-mas-x64.zip": "5e03e5edac5394d48c636383fdfe256647ae9e90ad59dcd4551f8805e2c541bb",
38
+ "electron-v22.0.0-alpha.3-win32-arm64-pdb.zip": "de469daaaa1c0e3d8529b2100523f96993f18189764466feb0e61844a133a724",
39
+ "electron-v22.0.0-alpha.3-win32-arm64-symbols.zip": "15719e7ac0d7e785b969293c7e165363a195125d3353bcdc9f68aa535ba08f8d",
40
+ "electron-v22.0.0-alpha.3-win32-arm64-toolchain-profile.zip": "3a5d2888ac992d063c6219cb20f73182ee02f25935f0f73bd7ed4ee8cd719376",
41
+ "electron-v22.0.0-alpha.3-win32-arm64.zip": "3f274f00ba05925486c69ca6850289c251ad321e25e6b7dd6bc175febedbb9c9",
42
+ "electron-v22.0.0-alpha.3-win32-ia32-pdb.zip": "7b4c1c63691cfb8c8d9db2cb6d8e9275c8d52bdacd68cd5edaf4ef05415da67e",
43
+ "electron-v22.0.0-alpha.3-win32-ia32-symbols.zip": "3fd22340e3688d506b415ae2e8199b87cc60c8c34d2ebd957f8d839d9a923ea2",
44
+ "electron-v22.0.0-alpha.3-win32-ia32-toolchain-profile.zip": "3a5d2888ac992d063c6219cb20f73182ee02f25935f0f73bd7ed4ee8cd719376",
45
+ "electron-v22.0.0-alpha.3-win32-ia32.zip": "b6e42d962c952f98f75e536ff7414ca175b123b43c9d6bc77a2bc7b03504a379",
46
+ "electron-v22.0.0-alpha.3-win32-x64-pdb.zip": "19a2328d3fa012ab063d4b52538cff34aeeb426ea41b28c37c4966f0fa7e4a05",
47
+ "electron-v22.0.0-alpha.3-win32-x64-symbols.zip": "1d32f48ba3d234d6f9a27d5f4d4fb3eaf76113cb89c71aff6f8e99ab972dfd9e",
48
+ "electron-v22.0.0-alpha.3-win32-x64-toolchain-profile.zip": "3a5d2888ac992d063c6219cb20f73182ee02f25935f0f73bd7ed4ee8cd719376",
49
+ "electron-v22.0.0-alpha.3-win32-x64.zip": "0d9489f7b5a17bd5cdba183ab4aeeeb1ede8cb22ea1ae48c668e83cc369cc31e",
50
+ "electron.d.ts": "501d874618295489769a1237496ad0c9d6bd9b738a31c7e60cc67d4c811ab39c",
51
+ "ffmpeg-v22.0.0-alpha.3-darwin-arm64.zip": "7938fe5a9d81521e519be3ffc680a8ed316dd9d7289861f16ad014f94523e9fb",
52
+ "ffmpeg-v22.0.0-alpha.3-darwin-x64.zip": "77835bad4d1e1d0418a8644bfdc771ff6bacf1417d2404173f6fab3c46349eb4",
53
+ "ffmpeg-v22.0.0-alpha.3-linux-arm64.zip": "c56a44200da6aa23ec7fec3ffa9d6c9e7451491983e5c7d1eb50483f306a9efb",
54
+ "ffmpeg-v22.0.0-alpha.3-linux-armv7l.zip": "9452d8b43709d66fa17e7b5ae35e9169fd6dd4d272efa8ed04df36cb39297e65",
55
+ "ffmpeg-v22.0.0-alpha.3-linux-x64.zip": "a83b1e48ce213e057b799213d9f2e05e4c2db43a8ac184578351d693f6f5bd9f",
56
+ "ffmpeg-v22.0.0-alpha.3-mas-arm64.zip": "a0a7235aa67ec9e574e4381fe0f5b65c35127b24bb3de08e37dd970c5cb55bee",
57
+ "ffmpeg-v22.0.0-alpha.3-mas-x64.zip": "8a47a9436eb38b9a80e0d65a6cce9ba345f9dbed7de74cb40195da63fecc3e76",
58
+ "ffmpeg-v22.0.0-alpha.3-win32-arm64.zip": "28df334310da961b295642c0a4e477fff13f5615547fe141121d90b57ef11cb9",
59
+ "ffmpeg-v22.0.0-alpha.3-win32-ia32.zip": "1da22b7a6244bcc76ef718e7f8b0fd953d4bdc3cc2d7b8785815b96f618be5a2",
60
+ "ffmpeg-v22.0.0-alpha.3-win32-x64.zip": "959dd81bbcb36bd1f980cc5d2ff004e30c8919efedf7ebecb46f2e2bf36eb8a6",
61
+ "hunspell_dictionaries.zip": "a22825fad5ac09f0ccc3d01c1b295f4c60e5343e8963d1686f4cce3bb962b1b3",
62
+ "libcxx-objects-v22.0.0-alpha.3-linux-arm64.zip": "2466830fa90870276ed4492b56a2b27d030fa69964eed2725b0602793cd13ba3",
63
+ "libcxx-objects-v22.0.0-alpha.3-linux-armv7l.zip": "0b0e15b94c90edfaf0509af8d5d0fedef7c3119cd341a0fbd0df4d9e14c0e81d",
64
+ "libcxx-objects-v22.0.0-alpha.3-linux-x64.zip": "30ba48baecfb74700c17fd91c434b36b07757ba847eace8550605730af849993",
65
+ "libcxx_headers.zip": "d4e0126626b67188f98371958e44b78d3c2d3f11db2c5b7d6d762b0a6b856689",
66
+ "libcxxabi_headers.zip": "d381918341b53b5d4455a238b3d502fde646e8eaf2031384e13b3ef38e244798",
67
+ "mksnapshot-v22.0.0-alpha.3-darwin-arm64.zip": "76c1cd9ed2efa31ad33d68461281755ccec117cf30c9bade0ec8c46fb6a18715",
68
+ "mksnapshot-v22.0.0-alpha.3-darwin-x64.zip": "f044fb443d53366ef620e7aa95e9267b8cc22d6a6cecc0f682a24af405edd272",
69
+ "mksnapshot-v22.0.0-alpha.3-linux-arm64-x64.zip": "5ee4f65e9789513c9847ec75eb3e0280c4c6a765a67e5450606e1436540cd03a",
70
+ "mksnapshot-v22.0.0-alpha.3-linux-armv7l-x64.zip": "b95a191b49f89b84278d8694789653793e2318ae5a8c3fa178e3a652644ea5d1",
71
+ "mksnapshot-v22.0.0-alpha.3-linux-x64.zip": "70e56f451fdf62d5bed4ee1d447f87fa1df6a521588343abfeebad4d49d37dfc",
72
+ "mksnapshot-v22.0.0-alpha.3-mas-arm64.zip": "8c89372178d541d0f19864d669d40b5b7ea6b33d9139b8a967077225428bcfde",
73
+ "mksnapshot-v22.0.0-alpha.3-mas-x64.zip": "e07eb4369b90616e4c2dc587df5f6b23ab37ad0ecbb43db3059ed19cc88c8f47",
74
+ "mksnapshot-v22.0.0-alpha.3-win32-arm64-x64.zip": "1896423518e9ef11dca480a4d7000d87e6c4a884ef5cea788c8f1e39a9672b96",
75
+ "mksnapshot-v22.0.0-alpha.3-win32-ia32.zip": "265406be2c23fc80b73a460e19dc6885524c9f518411977b2c95206df29e0cf8",
76
+ "mksnapshot-v22.0.0-alpha.3-win32-x64.zip": "d015bd1879d6390e0ea4e80e77929ee3885a73ca5e05774b51919258f9bd3bb7"
77
77
  }
package/electron.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Type definitions for Electron 21.1.0
1
+ // Type definitions for Electron 22.0.0-alpha.3
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/electron-typescript-definitions
@@ -1919,6 +1919,11 @@ declare namespace Electron {
1919
1919
  /**
1920
1920
  * Emitted when scroll wheel event phase has begun.
1921
1921
  *
1922
+ * > **Note** This event is deprecated beginning in Electron 22.0.0. See Breaking
1923
+ * Changes for details of how to migrate to using the WebContents `input-event`
1924
+ * event.
1925
+ *
1926
+ * @deprecated
1922
1927
  * @platform darwin
1923
1928
  */
1924
1929
  on(event: 'scroll-touch-begin', listener: Function): this;
@@ -1928,6 +1933,11 @@ declare namespace Electron {
1928
1933
  /**
1929
1934
  * Emitted when scroll wheel event phase filed upon reaching the edge of element.
1930
1935
  *
1936
+ * > **Note** This event is deprecated beginning in Electron 22.0.0. See Breaking
1937
+ * Changes for details of how to migrate to using the WebContents `input-event`
1938
+ * event.
1939
+ *
1940
+ * @deprecated
1931
1941
  * @platform darwin
1932
1942
  */
1933
1943
  on(event: 'scroll-touch-edge', listener: Function): this;
@@ -1937,6 +1947,11 @@ declare namespace Electron {
1937
1947
  /**
1938
1948
  * Emitted when scroll wheel event phase has ended.
1939
1949
  *
1950
+ * > **Note** This event is deprecated beginning in Electron 22.0.0. See Breaking
1951
+ * Changes for details of how to migrate to using the WebContents `input-event`
1952
+ * event.
1953
+ *
1954
+ * @deprecated
1940
1955
  * @platform darwin
1941
1956
  */
1942
1957
  on(event: 'scroll-touch-end', listener: Function): this;
@@ -3646,6 +3661,7 @@ declare namespace Electron {
3646
3661
 
3647
3662
  // Docs: https://electronjs.org/docs/api/context-bridge
3648
3663
 
3664
+ exposeInIsolatedWorld(worldId: number, apiKey: string, api: any): void;
3649
3665
  exposeInMainWorld(apiKey: string, api: any): void;
3650
3666
  }
3651
3667
 
@@ -5023,6 +5039,19 @@ declare namespace Electron {
5023
5039
  * `middleButtonDown`, `rightButtonDown`, `capsLock`, `numLock`, `left`, `right`.
5024
5040
  */
5025
5041
  modifiers?: Array<'shift' | 'control' | 'ctrl' | 'alt' | 'meta' | 'command' | 'cmd' | 'isKeypad' | 'isAutoRepeat' | 'leftButtonDown' | 'middleButtonDown' | 'rightButtonDown' | 'capsLock' | 'numLock' | 'left' | 'right'>;
5042
+ /**
5043
+ * Can be `undefined`, `mouseDown`, `mouseUp`, `mouseMove`, `mouseEnter`,
5044
+ * `mouseLeave`, `contextMenu`, `mouseWheel`, `rawKeyDown`, `keyDown`, `keyUp`,
5045
+ * `char`, `gestureScrollBegin`, `gestureScrollEnd`, `gestureScrollUpdate`,
5046
+ * `gestureFlingStart`, `gestureFlingCancel`, `gesturePinchBegin`,
5047
+ * `gesturePinchEnd`, `gesturePinchUpdate`, `gestureTapDown`, `gestureShowPress`,
5048
+ * `gestureTap`, `gestureTapCancel`, `gestureShortPress`, `gestureLongPress`,
5049
+ * `gestureLongTap`, `gestureTwoFingerTap`, `gestureTapUnconfirmed`,
5050
+ * `gestureDoubleTap`, `touchStart`, `touchMove`, `touchEnd`, `touchCancel`,
5051
+ * `touchScrollStarted`, `pointerDown`, `pointerUp`, `pointerMove`,
5052
+ * `pointerRawUpdate`, `pointerCancel` or `pointerCausedUaAction`.
5053
+ */
5054
+ type: ('undefined' | 'mouseDown' | 'mouseUp' | 'mouseMove' | 'mouseEnter' | 'mouseLeave' | 'contextMenu' | 'mouseWheel' | 'rawKeyDown' | 'keyDown' | 'keyUp' | 'char' | 'gestureScrollBegin' | 'gestureScrollEnd' | 'gestureScrollUpdate' | 'gestureFlingStart' | 'gestureFlingCancel' | 'gesturePinchBegin' | 'gesturePinchEnd' | 'gesturePinchUpdate' | 'gestureTapDown' | 'gestureShowPress' | 'gestureTap' | 'gestureTapCancel' | 'gestureShortPress' | 'gestureLongPress' | 'gestureLongTap' | 'gestureTwoFingerTap' | 'gestureTapUnconfirmed' | 'gestureDoubleTap' | 'touchStart' | 'touchMove' | 'touchEnd' | 'touchCancel' | 'touchScrollStarted' | 'pointerDown' | 'pointerUp' | 'pointerMove' | 'pointerRawUpdate' | 'pointerCancel' | 'pointerCausedUaAction');
5026
5055
  }
5027
5056
 
5028
5057
  interface IOCounters {
@@ -5421,9 +5450,9 @@ declare namespace Electron {
5421
5450
  */
5422
5451
  keyCode: string;
5423
5452
  /**
5424
- * The type of the event, can be `keyDown`, `keyUp` or `char`.
5453
+ * The type of the event, can be `rawKeyDown`, `keyDown`, `keyUp` or `char`.
5425
5454
  */
5426
- type: ('keyDown' | 'keyUp' | 'char');
5455
+ type: ('rawKeyDown' | 'keyDown' | 'keyUp' | 'char');
5427
5456
  }
5428
5457
 
5429
5458
  interface MemoryInfo {
@@ -6083,13 +6112,6 @@ declare namespace Electron {
6083
6112
  readonly currentlyLogging: boolean;
6084
6113
  }
6085
6114
 
6086
- interface NewWindowWebContentsEvent extends Event {
6087
-
6088
- // Docs: https://electronjs.org/docs/api/structures/new-window-web-contents-event
6089
-
6090
- newGuest?: BrowserWindow;
6091
- }
6092
-
6093
6115
  class Notification extends NodeEventEmitter {
6094
6116
 
6095
6117
  // Docs: https://electronjs.org/docs/api/notification
@@ -8020,6 +8042,17 @@ declare namespace Electron {
8020
8042
  * `setDevicePermissionHandler`.
8021
8043
  */
8022
8044
  setDevicePermissionHandler(handler: ((details: DevicePermissionHandlerHandlerDetails) => boolean) | (null)): void;
8045
+ /**
8046
+ * This handler will be called when web content requests access to display media
8047
+ * via the `navigator.mediaDevices.getDisplayMedia` API. Use the desktopCapturer
8048
+ * API to choose which stream(s) to grant access to.
8049
+ *
8050
+ * Passing a WebFrameMain object as a video or audio stream will capture the video
8051
+ * or audio stream from that frame.
8052
+ *
8053
+ * Passing `null` instead of a function resets the handler to its default state.
8054
+ */
8055
+ setDisplayMediaRequestHandler(handler: ((request: DisplayMediaRequestHandlerHandlerRequest, callback: (streams: Streams) => void) => void) | (null)): void;
8023
8056
  /**
8024
8057
  * Sets download saving directory. By default, the download directory will be the
8025
8058
  * `Downloads` under the respective app folder.
@@ -9952,6 +9985,32 @@ declare namespace Electron {
9952
9985
  */
9953
9986
  line: number,
9954
9987
  sourceId: string) => void): this;
9988
+ /**
9989
+ * Emitted when the page calls `window.moveTo`, `window.resizeTo` or related APIs.
9990
+ *
9991
+ * By default, this will move the window. To prevent that behavior, call
9992
+ * `event.preventDefault()`.
9993
+ */
9994
+ on(event: 'content-bounds-updated', listener: (event: Event,
9995
+ /**
9996
+ * requested new content bounds
9997
+ */
9998
+ bounds: Rectangle) => void): this;
9999
+ once(event: 'content-bounds-updated', listener: (event: Event,
10000
+ /**
10001
+ * requested new content bounds
10002
+ */
10003
+ bounds: Rectangle) => void): this;
10004
+ addListener(event: 'content-bounds-updated', listener: (event: Event,
10005
+ /**
10006
+ * requested new content bounds
10007
+ */
10008
+ bounds: Rectangle) => void): this;
10009
+ removeListener(event: 'content-bounds-updated', listener: (event: Event,
10010
+ /**
10011
+ * requested new content bounds
10012
+ */
10013
+ bounds: Rectangle) => void): this;
9955
10014
  /**
9956
10015
  * Emitted when there is a new context menu that needs to be handled.
9957
10016
  */
@@ -10453,10 +10512,10 @@ declare namespace Electron {
10453
10512
  /**
10454
10513
  * Emitted when the document in the top-level frame is loaded.
10455
10514
  */
10456
- on(event: 'dom-ready', listener: (event: Event) => void): this;
10457
- once(event: 'dom-ready', listener: (event: Event) => void): this;
10458
- addListener(event: 'dom-ready', listener: (event: Event) => void): this;
10459
- removeListener(event: 'dom-ready', listener: (event: Event) => void): this;
10515
+ on(event: 'dom-ready', listener: Function): this;
10516
+ once(event: 'dom-ready', listener: Function): this;
10517
+ addListener(event: 'dom-ready', listener: Function): this;
10518
+ removeListener(event: 'dom-ready', listener: Function): this;
10460
10519
  /**
10461
10520
  * Emitted when the window enters a full-screen state triggered by HTML API.
10462
10521
  */
@@ -10503,6 +10562,18 @@ declare namespace Electron {
10503
10562
  details: FrameCreatedDetails) => void): this;
10504
10563
  removeListener(event: 'frame-created', listener: (event: Event,
10505
10564
  details: FrameCreatedDetails) => void): this;
10565
+ /**
10566
+ * Emitted when an input event is sent to the WebContents. See InputEvent for
10567
+ * details.
10568
+ */
10569
+ on(event: 'input-event', listener: (event: Event,
10570
+ inputEvent: InputEvent) => void): this;
10571
+ once(event: 'input-event', listener: (event: Event,
10572
+ inputEvent: InputEvent) => void): this;
10573
+ addListener(event: 'input-event', listener: (event: Event,
10574
+ inputEvent: InputEvent) => void): this;
10575
+ removeListener(event: 'input-event', listener: (event: Event,
10576
+ inputEvent: InputEvent) => void): this;
10506
10577
  /**
10507
10578
  * Emitted when the renderer process sends an asynchronous message via
10508
10579
  * `ipcRenderer.send()`.
@@ -10583,138 +10654,6 @@ declare namespace Electron {
10583
10654
  once(event: 'media-started-playing', listener: Function): this;
10584
10655
  addListener(event: 'media-started-playing', listener: Function): this;
10585
10656
  removeListener(event: 'media-started-playing', listener: Function): this;
10586
- /**
10587
- * Deprecated in favor of `webContents.setWindowOpenHandler`.
10588
- *
10589
- * Emitted when the page requests to open a new window for a `url`. It could be
10590
- * requested by `window.open` or an external link like `<a target='_blank'>`.
10591
- *
10592
- * By default a new `BrowserWindow` will be created for the `url`.
10593
- *
10594
- * Calling `event.preventDefault()` will prevent Electron from automatically
10595
- * creating a new `BrowserWindow`. If you call `event.preventDefault()` and
10596
- * manually create a new `BrowserWindow` then you must set `event.newGuest` to
10597
- * reference the new `BrowserWindow` instance, failing to do so may result in
10598
- * unexpected behavior. For example:
10599
- *
10600
- * @deprecated
10601
- */
10602
- on(event: 'new-window', listener: (event: NewWindowWebContentsEvent,
10603
- url: string,
10604
- frameName: string,
10605
- /**
10606
- * Can be `default`, `foreground-tab`, `background-tab`, `new-window`,
10607
- * `save-to-disk` and `other`.
10608
- */
10609
- disposition: ('default' | 'foreground-tab' | 'background-tab' | 'new-window' | 'save-to-disk' | 'other'),
10610
- /**
10611
- * The options which will be used for creating the new `BrowserWindow`.
10612
- */
10613
- options: BrowserWindowConstructorOptions,
10614
- /**
10615
- * The non-standard features (features not handled by Chromium or Electron) given
10616
- * to `window.open()`. Deprecated, and will now always be the empty array `[]`.
10617
- */
10618
- additionalFeatures: string[],
10619
- /**
10620
- * The referrer that will be passed to the new window. May or may not result in the
10621
- * `Referer` header being sent, depending on the referrer policy.
10622
- */
10623
- referrer: Referrer,
10624
- /**
10625
- * The post data that will be sent to the new window, along with the appropriate
10626
- * headers that will be set. If no post data is to be sent, the value will be
10627
- * `null`. Only defined when the window is being created by a form that set
10628
- * `target=_blank`.
10629
- */
10630
- postBody: PostBody) => void): this;
10631
- once(event: 'new-window', listener: (event: NewWindowWebContentsEvent,
10632
- url: string,
10633
- frameName: string,
10634
- /**
10635
- * Can be `default`, `foreground-tab`, `background-tab`, `new-window`,
10636
- * `save-to-disk` and `other`.
10637
- */
10638
- disposition: ('default' | 'foreground-tab' | 'background-tab' | 'new-window' | 'save-to-disk' | 'other'),
10639
- /**
10640
- * The options which will be used for creating the new `BrowserWindow`.
10641
- */
10642
- options: BrowserWindowConstructorOptions,
10643
- /**
10644
- * The non-standard features (features not handled by Chromium or Electron) given
10645
- * to `window.open()`. Deprecated, and will now always be the empty array `[]`.
10646
- */
10647
- additionalFeatures: string[],
10648
- /**
10649
- * The referrer that will be passed to the new window. May or may not result in the
10650
- * `Referer` header being sent, depending on the referrer policy.
10651
- */
10652
- referrer: Referrer,
10653
- /**
10654
- * The post data that will be sent to the new window, along with the appropriate
10655
- * headers that will be set. If no post data is to be sent, the value will be
10656
- * `null`. Only defined when the window is being created by a form that set
10657
- * `target=_blank`.
10658
- */
10659
- postBody: PostBody) => void): this;
10660
- addListener(event: 'new-window', listener: (event: NewWindowWebContentsEvent,
10661
- url: string,
10662
- frameName: string,
10663
- /**
10664
- * Can be `default`, `foreground-tab`, `background-tab`, `new-window`,
10665
- * `save-to-disk` and `other`.
10666
- */
10667
- disposition: ('default' | 'foreground-tab' | 'background-tab' | 'new-window' | 'save-to-disk' | 'other'),
10668
- /**
10669
- * The options which will be used for creating the new `BrowserWindow`.
10670
- */
10671
- options: BrowserWindowConstructorOptions,
10672
- /**
10673
- * The non-standard features (features not handled by Chromium or Electron) given
10674
- * to `window.open()`. Deprecated, and will now always be the empty array `[]`.
10675
- */
10676
- additionalFeatures: string[],
10677
- /**
10678
- * The referrer that will be passed to the new window. May or may not result in the
10679
- * `Referer` header being sent, depending on the referrer policy.
10680
- */
10681
- referrer: Referrer,
10682
- /**
10683
- * The post data that will be sent to the new window, along with the appropriate
10684
- * headers that will be set. If no post data is to be sent, the value will be
10685
- * `null`. Only defined when the window is being created by a form that set
10686
- * `target=_blank`.
10687
- */
10688
- postBody: PostBody) => void): this;
10689
- removeListener(event: 'new-window', listener: (event: NewWindowWebContentsEvent,
10690
- url: string,
10691
- frameName: string,
10692
- /**
10693
- * Can be `default`, `foreground-tab`, `background-tab`, `new-window`,
10694
- * `save-to-disk` and `other`.
10695
- */
10696
- disposition: ('default' | 'foreground-tab' | 'background-tab' | 'new-window' | 'save-to-disk' | 'other'),
10697
- /**
10698
- * The options which will be used for creating the new `BrowserWindow`.
10699
- */
10700
- options: BrowserWindowConstructorOptions,
10701
- /**
10702
- * The non-standard features (features not handled by Chromium or Electron) given
10703
- * to `window.open()`. Deprecated, and will now always be the empty array `[]`.
10704
- */
10705
- additionalFeatures: string[],
10706
- /**
10707
- * The referrer that will be passed to the new window. May or may not result in the
10708
- * `Referer` header being sent, depending on the referrer policy.
10709
- */
10710
- referrer: Referrer,
10711
- /**
10712
- * The post data that will be sent to the new window, along with the appropriate
10713
- * headers that will be set. If no post data is to be sent, the value will be
10714
- * `null`. Only defined when the window is being created by a form that set
10715
- * `target=_blank`.
10716
- */
10717
- postBody: PostBody) => void): this;
10718
10657
  /**
10719
10658
  * Emitted when page receives favicon urls.
10720
10659
  */
@@ -11121,6 +11060,14 @@ declare namespace Electron {
11121
11060
  * Clears the navigation history.
11122
11061
  */
11123
11062
  clearHistory(): void;
11063
+ /**
11064
+ * Closes the page, as if the web content had called `window.close()`.
11065
+ *
11066
+ * If the page is successfully closed (i.e. the unload is not prevented by the
11067
+ * page, or `waitForBeforeUnload` is false or unspecified), the WebContents will be
11068
+ * destroyed and no longer usable. The `destroyed` event will be emitted.
11069
+ */
11070
+ close(opts?: Opts): void;
11124
11071
  /**
11125
11072
  * Closes the devtools.
11126
11073
  */
@@ -12361,13 +12308,6 @@ declare namespace Electron {
12361
12308
  */
12362
12309
  addEventListener(event: 'found-in-page', listener: (event: FoundInPageEvent) => void, useCapture?: boolean): this;
12363
12310
  removeEventListener(event: 'found-in-page', listener: (event: FoundInPageEvent) => void): this;
12364
- /**
12365
- * Fired when the guest page attempts to open a new browser window.
12366
- *
12367
- * The following example code opens the new url in system's default browser.
12368
- */
12369
- addEventListener(event: 'new-window', listener: (event: NewWindowEvent) => void, useCapture?: boolean): this;
12370
- removeEventListener(event: 'new-window', listener: (event: NewWindowEvent) => void): this;
12371
12311
  /**
12372
12312
  * Emitted when a user or the page wants to start navigation. It can happen when
12373
12313
  * the `window.location` object is changed or a user clicks a link in the page.
@@ -14056,6 +13996,29 @@ declare namespace Electron {
14056
13996
  respectQuietTime?: boolean;
14057
13997
  }
14058
13998
 
13999
+ interface DisplayMediaRequestHandlerHandlerRequest {
14000
+ /**
14001
+ * Frame that is requesting access to media.
14002
+ */
14003
+ frame: WebFrameMain;
14004
+ /**
14005
+ * Origin of the page making the request.
14006
+ */
14007
+ securityOrigin: string;
14008
+ /**
14009
+ * true if the web content requested a video stream.
14010
+ */
14011
+ videoRequested: boolean;
14012
+ /**
14013
+ * true if the web content requested an audio stream.
14014
+ */
14015
+ audioRequested: boolean;
14016
+ /**
14017
+ * Whether a user gesture was active when this request was triggered.
14018
+ */
14019
+ userGesture: boolean;
14020
+ }
14021
+
14059
14022
  interface EnableNetworkEmulationOptions {
14060
14023
  /**
14061
14024
  * Whether to emulate network outage. Defaults to false.
@@ -14755,20 +14718,6 @@ declare namespace Electron {
14755
14718
  conflictHandler?: (conflictType: 'exists' | 'existsAndRunning') => boolean;
14756
14719
  }
14757
14720
 
14758
- interface NewWindowEvent extends Event {
14759
- url: string;
14760
- frameName: string;
14761
- /**
14762
- * Can be `default`, `foreground-tab`, `background-tab`, `new-window`,
14763
- * `save-to-disk` and `other`.
14764
- */
14765
- disposition: ('default' | 'foreground-tab' | 'background-tab' | 'new-window' | 'save-to-disk' | 'other');
14766
- /**
14767
- * The options which should be used for creating the new `BrowserWindow`.
14768
- */
14769
- options: BrowserWindowConstructorOptions;
14770
- }
14771
-
14772
14721
  interface NotificationConstructorOptions {
14773
14722
  /**
14774
14723
  * A title for the notification, which will be shown at the top of the notification
@@ -15116,6 +15065,15 @@ declare namespace Electron {
15116
15065
  interface Options {
15117
15066
  }
15118
15067
 
15068
+ interface Opts {
15069
+ /**
15070
+ * if true, fire the `beforeunload` event before closing the page. If the page
15071
+ * prevents the unload, the WebContents will not be closed. The
15072
+ * `will-prevent-unload` will be fired if the page requests prevention of unload.
15073
+ */
15074
+ waitForBeforeUnload: boolean;
15075
+ }
15076
+
15119
15077
  interface PageFaviconUpdatedEvent extends Event {
15120
15078
  /**
15121
15079
  * Array of URLs.
@@ -15688,6 +15646,16 @@ declare namespace Electron {
15688
15646
  maxFileSize?: number;
15689
15647
  }
15690
15648
 
15649
+ interface Streams {
15650
+ video?: (Video) | (WebFrameMain);
15651
+ /**
15652
+ * If a string is specified, can be `loopback` or `loopbackWithMute`. Specifying a
15653
+ * loopback device will capture system audio, and is currently only supported on
15654
+ * Windows. If a WebFrameMain is specified, will capture audio from that frame.
15655
+ */
15656
+ audio?: (('loopback' | 'loopbackWithMute')) | (WebFrameMain);
15657
+ }
15658
+
15691
15659
  interface SystemMemoryInfo {
15692
15660
  /**
15693
15661
  * The total amount of physical memory in Kilobytes available to the system.
@@ -16451,6 +16419,19 @@ declare namespace Electron {
16451
16419
  height?: number;
16452
16420
  }
16453
16421
 
16422
+ interface Video {
16423
+ /**
16424
+ * The id of the stream being granted. This will usually come from a
16425
+ * DesktopCapturerSource object.
16426
+ */
16427
+ id: string;
16428
+ /**
16429
+ * The name of the stream being granted. This will usually come from a
16430
+ * DesktopCapturerSource object.
16431
+ */
16432
+ name: string;
16433
+ }
16434
+
16454
16435
  interface WebPreferences {
16455
16436
  /**
16456
16437
  * Whether to enable DevTools. If it is set to `false`, can not use
@@ -16802,6 +16783,7 @@ declare namespace Electron {
16802
16783
  type DidRedirectNavigationEvent = Electron.DidRedirectNavigationEvent;
16803
16784
  type DidStartNavigationEvent = Electron.DidStartNavigationEvent;
16804
16785
  type DisplayBalloonOptions = Electron.DisplayBalloonOptions;
16786
+ type DisplayMediaRequestHandlerHandlerRequest = Electron.DisplayMediaRequestHandlerHandlerRequest;
16805
16787
  type EnableNetworkEmulationOptions = Electron.EnableNetworkEmulationOptions;
16806
16788
  type FeedURLOptions = Electron.FeedURLOptions;
16807
16789
  type FileIconOptions = Electron.FileIconOptions;
@@ -16837,7 +16819,6 @@ declare namespace Electron {
16837
16819
  type MessageDetails = Electron.MessageDetails;
16838
16820
  type MessageEvent = Electron.MessageEvent;
16839
16821
  type MoveToApplicationsFolderOptions = Electron.MoveToApplicationsFolderOptions;
16840
- type NewWindowEvent = Electron.NewWindowEvent;
16841
16822
  type NotificationConstructorOptions = Electron.NotificationConstructorOptions;
16842
16823
  type OnBeforeRedirectListenerDetails = Electron.OnBeforeRedirectListenerDetails;
16843
16824
  type OnBeforeRequestListenerDetails = Electron.OnBeforeRequestListenerDetails;
@@ -16853,6 +16834,7 @@ declare namespace Electron {
16853
16834
  type OpenDialogSyncOptions = Electron.OpenDialogSyncOptions;
16854
16835
  type OpenExternalOptions = Electron.OpenExternalOptions;
16855
16836
  type Options = Electron.Options;
16837
+ type Opts = Electron.Opts;
16856
16838
  type PageFaviconUpdatedEvent = Electron.PageFaviconUpdatedEvent;
16857
16839
  type PageTitleUpdatedEvent = Electron.PageTitleUpdatedEvent;
16858
16840
  type Parameters = Electron.Parameters;
@@ -16883,6 +16865,7 @@ declare namespace Electron {
16883
16865
  type SourcesOptions = Electron.SourcesOptions;
16884
16866
  type SSLConfigConfig = Electron.SSLConfigConfig;
16885
16867
  type StartLoggingOptions = Electron.StartLoggingOptions;
16868
+ type Streams = Electron.Streams;
16886
16869
  type SystemMemoryInfo = Electron.SystemMemoryInfo;
16887
16870
  type TitleBarOverlayOptions = Electron.TitleBarOverlayOptions;
16888
16871
  type TitleOptions = Electron.TitleOptions;
@@ -16915,6 +16898,7 @@ declare namespace Electron {
16915
16898
  type PageRanges = Electron.PageRanges;
16916
16899
  type Params = Electron.Params;
16917
16900
  type TitleBarOverlay = Electron.TitleBarOverlay;
16901
+ type Video = Electron.Video;
16918
16902
  type WebPreferences = Electron.WebPreferences;
16919
16903
  type DefaultFontFamily = Electron.DefaultFontFamily;
16920
16904
  type BluetoothDevice = Electron.BluetoothDevice;
@@ -16947,7 +16931,6 @@ declare namespace Electron {
16947
16931
  type MimeTypedBuffer = Electron.MimeTypedBuffer;
16948
16932
  type MouseInputEvent = Electron.MouseInputEvent;
16949
16933
  type MouseWheelInputEvent = Electron.MouseWheelInputEvent;
16950
- type NewWindowWebContentsEvent = Electron.NewWindowWebContentsEvent;
16951
16934
  type NotificationAction = Electron.NotificationAction;
16952
16935
  type NotificationResponse = Electron.NotificationResponse;
16953
16936
  type PaymentDiscount = Electron.PaymentDiscount;
@@ -17101,6 +17084,7 @@ declare namespace Electron {
17101
17084
  type DidRedirectNavigationEvent = Electron.DidRedirectNavigationEvent;
17102
17085
  type DidStartNavigationEvent = Electron.DidStartNavigationEvent;
17103
17086
  type DisplayBalloonOptions = Electron.DisplayBalloonOptions;
17087
+ type DisplayMediaRequestHandlerHandlerRequest = Electron.DisplayMediaRequestHandlerHandlerRequest;
17104
17088
  type EnableNetworkEmulationOptions = Electron.EnableNetworkEmulationOptions;
17105
17089
  type FeedURLOptions = Electron.FeedURLOptions;
17106
17090
  type FileIconOptions = Electron.FileIconOptions;
@@ -17136,7 +17120,6 @@ declare namespace Electron {
17136
17120
  type MessageDetails = Electron.MessageDetails;
17137
17121
  type MessageEvent = Electron.MessageEvent;
17138
17122
  type MoveToApplicationsFolderOptions = Electron.MoveToApplicationsFolderOptions;
17139
- type NewWindowEvent = Electron.NewWindowEvent;
17140
17123
  type NotificationConstructorOptions = Electron.NotificationConstructorOptions;
17141
17124
  type OnBeforeRedirectListenerDetails = Electron.OnBeforeRedirectListenerDetails;
17142
17125
  type OnBeforeRequestListenerDetails = Electron.OnBeforeRequestListenerDetails;
@@ -17152,6 +17135,7 @@ declare namespace Electron {
17152
17135
  type OpenDialogSyncOptions = Electron.OpenDialogSyncOptions;
17153
17136
  type OpenExternalOptions = Electron.OpenExternalOptions;
17154
17137
  type Options = Electron.Options;
17138
+ type Opts = Electron.Opts;
17155
17139
  type PageFaviconUpdatedEvent = Electron.PageFaviconUpdatedEvent;
17156
17140
  type PageTitleUpdatedEvent = Electron.PageTitleUpdatedEvent;
17157
17141
  type Parameters = Electron.Parameters;
@@ -17182,6 +17166,7 @@ declare namespace Electron {
17182
17166
  type SourcesOptions = Electron.SourcesOptions;
17183
17167
  type SSLConfigConfig = Electron.SSLConfigConfig;
17184
17168
  type StartLoggingOptions = Electron.StartLoggingOptions;
17169
+ type Streams = Electron.Streams;
17185
17170
  type SystemMemoryInfo = Electron.SystemMemoryInfo;
17186
17171
  type TitleBarOverlayOptions = Electron.TitleBarOverlayOptions;
17187
17172
  type TitleOptions = Electron.TitleOptions;
@@ -17214,6 +17199,7 @@ declare namespace Electron {
17214
17199
  type PageRanges = Electron.PageRanges;
17215
17200
  type Params = Electron.Params;
17216
17201
  type TitleBarOverlay = Electron.TitleBarOverlay;
17202
+ type Video = Electron.Video;
17217
17203
  type WebPreferences = Electron.WebPreferences;
17218
17204
  type DefaultFontFamily = Electron.DefaultFontFamily;
17219
17205
  type BluetoothDevice = Electron.BluetoothDevice;
@@ -17246,7 +17232,6 @@ declare namespace Electron {
17246
17232
  type MimeTypedBuffer = Electron.MimeTypedBuffer;
17247
17233
  type MouseInputEvent = Electron.MouseInputEvent;
17248
17234
  type MouseWheelInputEvent = Electron.MouseWheelInputEvent;
17249
- type NewWindowWebContentsEvent = Electron.NewWindowWebContentsEvent;
17250
17235
  type NotificationAction = Electron.NotificationAction;
17251
17236
  type NotificationResponse = Electron.NotificationResponse;
17252
17237
  type PaymentDiscount = Electron.PaymentDiscount;
@@ -17335,6 +17320,7 @@ declare namespace Electron {
17335
17320
  type DidRedirectNavigationEvent = Electron.DidRedirectNavigationEvent;
17336
17321
  type DidStartNavigationEvent = Electron.DidStartNavigationEvent;
17337
17322
  type DisplayBalloonOptions = Electron.DisplayBalloonOptions;
17323
+ type DisplayMediaRequestHandlerHandlerRequest = Electron.DisplayMediaRequestHandlerHandlerRequest;
17338
17324
  type EnableNetworkEmulationOptions = Electron.EnableNetworkEmulationOptions;
17339
17325
  type FeedURLOptions = Electron.FeedURLOptions;
17340
17326
  type FileIconOptions = Electron.FileIconOptions;
@@ -17370,7 +17356,6 @@ declare namespace Electron {
17370
17356
  type MessageDetails = Electron.MessageDetails;
17371
17357
  type MessageEvent = Electron.MessageEvent;
17372
17358
  type MoveToApplicationsFolderOptions = Electron.MoveToApplicationsFolderOptions;
17373
- type NewWindowEvent = Electron.NewWindowEvent;
17374
17359
  type NotificationConstructorOptions = Electron.NotificationConstructorOptions;
17375
17360
  type OnBeforeRedirectListenerDetails = Electron.OnBeforeRedirectListenerDetails;
17376
17361
  type OnBeforeRequestListenerDetails = Electron.OnBeforeRequestListenerDetails;
@@ -17386,6 +17371,7 @@ declare namespace Electron {
17386
17371
  type OpenDialogSyncOptions = Electron.OpenDialogSyncOptions;
17387
17372
  type OpenExternalOptions = Electron.OpenExternalOptions;
17388
17373
  type Options = Electron.Options;
17374
+ type Opts = Electron.Opts;
17389
17375
  type PageFaviconUpdatedEvent = Electron.PageFaviconUpdatedEvent;
17390
17376
  type PageTitleUpdatedEvent = Electron.PageTitleUpdatedEvent;
17391
17377
  type Parameters = Electron.Parameters;
@@ -17416,6 +17402,7 @@ declare namespace Electron {
17416
17402
  type SourcesOptions = Electron.SourcesOptions;
17417
17403
  type SSLConfigConfig = Electron.SSLConfigConfig;
17418
17404
  type StartLoggingOptions = Electron.StartLoggingOptions;
17405
+ type Streams = Electron.Streams;
17419
17406
  type SystemMemoryInfo = Electron.SystemMemoryInfo;
17420
17407
  type TitleBarOverlayOptions = Electron.TitleBarOverlayOptions;
17421
17408
  type TitleOptions = Electron.TitleOptions;
@@ -17448,6 +17435,7 @@ declare namespace Electron {
17448
17435
  type PageRanges = Electron.PageRanges;
17449
17436
  type Params = Electron.Params;
17450
17437
  type TitleBarOverlay = Electron.TitleBarOverlay;
17438
+ type Video = Electron.Video;
17451
17439
  type WebPreferences = Electron.WebPreferences;
17452
17440
  type DefaultFontFamily = Electron.DefaultFontFamily;
17453
17441
  type BluetoothDevice = Electron.BluetoothDevice;
@@ -17480,7 +17468,6 @@ declare namespace Electron {
17480
17468
  type MimeTypedBuffer = Electron.MimeTypedBuffer;
17481
17469
  type MouseInputEvent = Electron.MouseInputEvent;
17482
17470
  type MouseWheelInputEvent = Electron.MouseWheelInputEvent;
17483
- type NewWindowWebContentsEvent = Electron.NewWindowWebContentsEvent;
17484
17471
  type NotificationAction = Electron.NotificationAction;
17485
17472
  type NotificationResponse = Electron.NotificationResponse;
17486
17473
  type PaymentDiscount = Electron.PaymentDiscount;
@@ -17648,6 +17635,7 @@ declare namespace Electron {
17648
17635
  type DidRedirectNavigationEvent = Electron.DidRedirectNavigationEvent;
17649
17636
  type DidStartNavigationEvent = Electron.DidStartNavigationEvent;
17650
17637
  type DisplayBalloonOptions = Electron.DisplayBalloonOptions;
17638
+ type DisplayMediaRequestHandlerHandlerRequest = Electron.DisplayMediaRequestHandlerHandlerRequest;
17651
17639
  type EnableNetworkEmulationOptions = Electron.EnableNetworkEmulationOptions;
17652
17640
  type FeedURLOptions = Electron.FeedURLOptions;
17653
17641
  type FileIconOptions = Electron.FileIconOptions;
@@ -17683,7 +17671,6 @@ declare namespace Electron {
17683
17671
  type MessageDetails = Electron.MessageDetails;
17684
17672
  type MessageEvent = Electron.MessageEvent;
17685
17673
  type MoveToApplicationsFolderOptions = Electron.MoveToApplicationsFolderOptions;
17686
- type NewWindowEvent = Electron.NewWindowEvent;
17687
17674
  type NotificationConstructorOptions = Electron.NotificationConstructorOptions;
17688
17675
  type OnBeforeRedirectListenerDetails = Electron.OnBeforeRedirectListenerDetails;
17689
17676
  type OnBeforeRequestListenerDetails = Electron.OnBeforeRequestListenerDetails;
@@ -17699,6 +17686,7 @@ declare namespace Electron {
17699
17686
  type OpenDialogSyncOptions = Electron.OpenDialogSyncOptions;
17700
17687
  type OpenExternalOptions = Electron.OpenExternalOptions;
17701
17688
  type Options = Electron.Options;
17689
+ type Opts = Electron.Opts;
17702
17690
  type PageFaviconUpdatedEvent = Electron.PageFaviconUpdatedEvent;
17703
17691
  type PageTitleUpdatedEvent = Electron.PageTitleUpdatedEvent;
17704
17692
  type Parameters = Electron.Parameters;
@@ -17729,6 +17717,7 @@ declare namespace Electron {
17729
17717
  type SourcesOptions = Electron.SourcesOptions;
17730
17718
  type SSLConfigConfig = Electron.SSLConfigConfig;
17731
17719
  type StartLoggingOptions = Electron.StartLoggingOptions;
17720
+ type Streams = Electron.Streams;
17732
17721
  type SystemMemoryInfo = Electron.SystemMemoryInfo;
17733
17722
  type TitleBarOverlayOptions = Electron.TitleBarOverlayOptions;
17734
17723
  type TitleOptions = Electron.TitleOptions;
@@ -17761,6 +17750,7 @@ declare namespace Electron {
17761
17750
  type PageRanges = Electron.PageRanges;
17762
17751
  type Params = Electron.Params;
17763
17752
  type TitleBarOverlay = Electron.TitleBarOverlay;
17753
+ type Video = Electron.Video;
17764
17754
  type WebPreferences = Electron.WebPreferences;
17765
17755
  type DefaultFontFamily = Electron.DefaultFontFamily;
17766
17756
  type BluetoothDevice = Electron.BluetoothDevice;
@@ -17793,7 +17783,6 @@ declare namespace Electron {
17793
17783
  type MimeTypedBuffer = Electron.MimeTypedBuffer;
17794
17784
  type MouseInputEvent = Electron.MouseInputEvent;
17795
17785
  type MouseWheelInputEvent = Electron.MouseWheelInputEvent;
17796
- type NewWindowWebContentsEvent = Electron.NewWindowWebContentsEvent;
17797
17786
  type NotificationAction = Electron.NotificationAction;
17798
17787
  type NotificationResponse = Electron.NotificationResponse;
17799
17788
  type PaymentDiscount = Electron.PaymentDiscount;
package/package.json CHANGED
@@ -8,15 +8,15 @@
8
8
  "postinstall": "node install.js"
9
9
  },
10
10
  "dependencies": {
11
- "@electron/get": "^1.14.1",
11
+ "@electron/get": "^2.0.0",
12
12
  "@types/node": "^16.11.26",
13
13
  "extract-zip": "^2.0.1"
14
14
  },
15
15
  "engines": {
16
- "node": ">= 10.17.0"
16
+ "node": ">= 12.20.55"
17
17
  },
18
18
  "name": "electron",
19
- "version": "21.1.0",
19
+ "version": "22.0.0-alpha.3",
20
20
  "repository": "https://github.com/electron/electron",
21
21
  "description": "Build cross platform desktop apps with JavaScript, HTML, and CSS",
22
22
  "license": "MIT",