electron 17.0.0-beta.8 β†’ 18.0.0-alpha.2

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
@@ -2,7 +2,7 @@
2
2
 
3
3
  [![CircleCI Build Status](https://circleci.com/gh/electron/electron/tree/main.svg?style=shield)](https://circleci.com/gh/electron/electron/tree/main)
4
4
  [![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/4lggi9dpjc1qob7k/branch/main?svg=true)](https://ci.appveyor.com/project/electron-bot/electron-ljo26/branch/main)
5
- [![Electron Discord Invite](https://img.shields.io/discord/745037351163527189?color=%237289DA&label=chat&logo=discord&logoColor=white)](https://discord.com/invite/electron)
5
+ [![Electron Discord Invite](https://img.shields.io/discord/745037351163527189?color=%237289DA&label=chat&logo=discord&logoColor=white)](https://discord.com/invite/APGC3k5yaH)
6
6
 
7
7
  :memo: Available Translations: πŸ‡¨πŸ‡³ πŸ‡§πŸ‡· πŸ‡ͺπŸ‡Έ πŸ‡―πŸ‡΅ πŸ‡·πŸ‡Ί πŸ‡«πŸ‡· πŸ‡ΊπŸ‡Έ πŸ‡©πŸ‡ͺ.
8
8
  View these docs in other languages at [electron/i18n](https://github.com/electron/i18n/tree/master/content/).
@@ -80,7 +80,7 @@ const child = proc.spawn(electron)
80
80
 
81
81
  ### Mirrors
82
82
 
83
- - [China](https://npm.taobao.org/mirrors/electron)
83
+ - [China](https://npmmirror.com/mirrors/electron)
84
84
 
85
85
  ## Documentation Translations
86
86
 
package/checksums.json CHANGED
@@ -1,80 +1,80 @@
1
1
  {
2
- "chromedriver-v17.0.0-beta.8-darwin-arm64.zip": "23c8c0977cca74c0edd265e50fb453a1c8fa66864770211d9cab1ba0c80f41d6",
3
- "chromedriver-v17.0.0-beta.8-darwin-x64.zip": "431a6b7935e7b146d3182c9663ebeb812671a3c219309cc2a5e3bf58adf4c0af",
4
- "chromedriver-v17.0.0-beta.8-linux-arm64.zip": "59697738be667b40db156d6a4c13e242380b2ee08da0250cd40b86dc2889dcfe",
5
- "chromedriver-v17.0.0-beta.8-linux-armv7l.zip": "64b454fbb6bdb06344f692c405f31d76c2e80ddaa60b237e915a1fe9dbf60c3d",
6
- "chromedriver-v17.0.0-beta.8-linux-ia32.zip": "fb773fd153b08194d103580b965c0bdfdf75ce4ddc37b106c176c733b0d131f8",
7
- "chromedriver-v17.0.0-beta.8-linux-x64.zip": "c8f17ba81ff5b65caaa17afd390851237f209771aa4f39dba98e62b45a614812",
8
- "chromedriver-v17.0.0-beta.8-mas-arm64.zip": "6336813f92c2a2ddcc176dad7aa019126d14d1e33b52e1741583fe3a901dbbe7",
9
- "chromedriver-v17.0.0-beta.8-mas-x64.zip": "6392471a0f2a51a5afeb0a4ba500aff99b5632773ea2d58837d52d32168f80ea",
10
- "chromedriver-v17.0.0-beta.8-win32-arm64.zip": "874f6b5e55c811a3174b9a1b843abbab4953045d2b56b3a4231e3c56dea0c41b",
11
- "chromedriver-v17.0.0-beta.8-win32-ia32.zip": "53105fa08114cc61241f2d36fafd0a96ca560bfce06f6c6e32e8b9b3dd873279",
12
- "chromedriver-v17.0.0-beta.8-win32-x64.zip": "35c8726fc146333dc3a58674943bd0a9e9b695e6abff228bdb501885b51839ca",
13
- "electron-api.json": "026b5dab5547d63b15cbeb156f2249295da0591fd6ebe87b54e6ae6a89d8edf1",
14
- "electron-v17.0.0-beta.8-darwin-arm64-dsym.zip": "0b78f659367327fa99e82c6ee6c12ed2732460d1d7d91b70d6949542bc9156d7",
15
- "electron-v17.0.0-beta.8-darwin-arm64-symbols.zip": "c47be4dc55cddee9c936f082a86107ac1d757c4944ae506353c077d6a13aa5d8",
16
- "electron-v17.0.0-beta.8-darwin-arm64.zip": "0be076e6a43a284d256064c7e6f86985a57da13c8d490918daefb5eba205ab40",
17
- "electron-v17.0.0-beta.8-darwin-x64-dsym.zip": "029831c20098a2f648230c311b05a709b87a0ae0ab89b6b9291e8b8f4efb3917",
18
- "electron-v17.0.0-beta.8-darwin-x64-symbols.zip": "0a3217b49fc7ce43fb470c0231ef0e8304a53f32fe9303fa224594c63d929a32",
19
- "electron-v17.0.0-beta.8-darwin-x64.zip": "921a6abd4b78ded3c9ddb7b8c258af603f25cc74293828072399e6f8f5fcc047",
20
- "electron-v17.0.0-beta.8-linux-arm64-debug.zip": "3daa85e499c5602ffed34d812f5d849a44696aa8277aa036db3e6db1759e08b0",
21
- "electron-v17.0.0-beta.8-linux-arm64-symbols.zip": "32605186c8e16447eb43834209f2c70a0158c4814d7ebafdbef61a7c0856037d",
22
- "electron-v17.0.0-beta.8-linux-arm64.zip": "fd116b98d965f435b1ac6696308297fd995e91c040c24f02081b1eb3705eb114",
23
- "electron-v17.0.0-beta.8-linux-armv7l-debug.zip": "3daa85e499c5602ffed34d812f5d849a44696aa8277aa036db3e6db1759e08b0",
24
- "electron-v17.0.0-beta.8-linux-armv7l-symbols.zip": "1c9065b65fefa6d2ff1d06b660ed45a4d41512fb5f6bc45303b9a0ecc42e05dd",
25
- "electron-v17.0.0-beta.8-linux-armv7l.zip": "f6d7bc963b27930a4f9c367a9dfea26214bb309bad9cc6e7594adbcb90ac5cc6",
26
- "electron-v17.0.0-beta.8-linux-ia32-debug.zip": "3daa85e499c5602ffed34d812f5d849a44696aa8277aa036db3e6db1759e08b0",
27
- "electron-v17.0.0-beta.8-linux-ia32-symbols.zip": "bcf10cdcd029ae63b0b5ec7f4dadc854b415158c46e81d6ed39712973f386efb",
28
- "electron-v17.0.0-beta.8-linux-ia32.zip": "96e99d642835a98332f320e8ffb94180632c5c37023acaed26c775b2c5712035",
29
- "electron-v17.0.0-beta.8-linux-x64-debug.zip": "00a516534bf3e7e8c9604e7df70c4e5bd985d29609627e78e2c5c5623bb86279",
30
- "electron-v17.0.0-beta.8-linux-x64-symbols.zip": "e50d43c56840089093a9a4caba88dd1acb3907989d22e91aff14b8caadbb469a",
31
- "electron-v17.0.0-beta.8-linux-x64.zip": "d346cdb4b333caa6078b4c2196d45e9a3a631cf46fef109ce78e423089e82e85",
32
- "electron-v17.0.0-beta.8-mas-arm64-dsym.zip": "be9d5084db87c5bbf1266e09552ca5f2b341da53fbf315e9e568df514d50b8fc",
33
- "electron-v17.0.0-beta.8-mas-arm64-symbols.zip": "091a88d448d4f5aa971d2085d91f0f344ce0d61d6eec18d1a0fec0f232e2c809",
34
- "electron-v17.0.0-beta.8-mas-arm64.zip": "1011a08976a5440989670831b74081cbff93d15e2fa9ee8fdec7688c8cdb9095",
35
- "electron-v17.0.0-beta.8-mas-x64-dsym.zip": "dfc8fc112a883ccb2e7aa2589ba8a03501136b8707fc6105b8a13978f1207b53",
36
- "electron-v17.0.0-beta.8-mas-x64-symbols.zip": "7a320a69ed4a5b5bb4d77c49e878233f9dc5fba7b3fae010e65b54988af77136",
37
- "electron-v17.0.0-beta.8-mas-x64.zip": "67ddedc4fcccd070e953c6f62a44d2ce55014f5075946919f864422dc6940786",
38
- "electron-v17.0.0-beta.8-win32-arm64-pdb.zip": "420571293cd8c8e16a3c88b5a25fef3f31f685f01422838be32eea773b088609",
39
- "electron-v17.0.0-beta.8-win32-arm64-symbols.zip": "54a666096994ccecc291e04af1ae1d9c523fb6a921f225ffe8cccc31619b5c4f",
40
- "electron-v17.0.0-beta.8-win32-arm64-toolchain-profile.zip": "834c0069d539f7463da9a346aabc18033904aaba4672fd0e7cdcfae3bb679ed4",
41
- "electron-v17.0.0-beta.8-win32-arm64.zip": "5ad6b0802fc026d44cde0731d91402f741bdcc386dffaa5db9c1eeecde7fc348",
42
- "electron-v17.0.0-beta.8-win32-ia32-pdb.zip": "f03b20831248bfb14ccda5741bb70c836d406e377ee209c7bb4b332e72929a1a",
43
- "electron-v17.0.0-beta.8-win32-ia32-symbols.zip": "f4e7a4bcba55f38610db0b1b108c8fa172818c8a4631a91a654a690e4540e218",
44
- "electron-v17.0.0-beta.8-win32-ia32-toolchain-profile.zip": "834c0069d539f7463da9a346aabc18033904aaba4672fd0e7cdcfae3bb679ed4",
45
- "electron-v17.0.0-beta.8-win32-ia32.zip": "80908a295d348b2877621b82908aa51902906f4ba239d0021972240b031beb54",
46
- "electron-v17.0.0-beta.8-win32-x64-pdb.zip": "1f6fff8f9c81479a6eed5a0f52f5115fc4e808633df0268fb553b2005c535bc8",
47
- "electron-v17.0.0-beta.8-win32-x64-symbols.zip": "1ce5ce3b02d39e3a02a6653b46cebd96fc135af354c2ba575a1a3d72f96417dd",
48
- "electron-v17.0.0-beta.8-win32-x64-toolchain-profile.zip": "834c0069d539f7463da9a346aabc18033904aaba4672fd0e7cdcfae3bb679ed4",
49
- "electron-v17.0.0-beta.8-win32-x64.zip": "683c6274b9c72a98ceea81d2b7a360e2c6041f1e38f0d5156191ae1fecd27b3b",
50
- "electron.d.ts": "47bc07f06a740966328657924815207c6bb0e3f6359e8cdafbf6db4f60f53623",
51
- "ffmpeg-v17.0.0-beta.8-darwin-arm64.zip": "89a600e8954b0624ab2b0f4b780a1ac724993de1ba0295ecd7cac18587614aa1",
52
- "ffmpeg-v17.0.0-beta.8-darwin-x64.zip": "339fa7755598fe0a5a416c81f6762ab91d20834e5dbfbdd2fd19c96c3e711741",
53
- "ffmpeg-v17.0.0-beta.8-linux-arm64.zip": "8739ee90c55fc0367ff64ebf06e7030d93e08e28279b9ee5ea9bf2486ef50a9f",
54
- "ffmpeg-v17.0.0-beta.8-linux-armv7l.zip": "cf851f4dda0590ac2c32e11708e8e4f8b347494364cfc3bc1a60ba9ec47cc489",
55
- "ffmpeg-v17.0.0-beta.8-linux-ia32.zip": "294be6fa46ce2f175714cbe01f1b7922c281191b5abf28bf013d30c82fa3eaa9",
56
- "ffmpeg-v17.0.0-beta.8-linux-x64.zip": "95c81db0cc343275b59a881965f6e1e8e737ac9db861d372a3ea811ad514350c",
57
- "ffmpeg-v17.0.0-beta.8-mas-arm64.zip": "89a600e8954b0624ab2b0f4b780a1ac724993de1ba0295ecd7cac18587614aa1",
58
- "ffmpeg-v17.0.0-beta.8-mas-x64.zip": "339fa7755598fe0a5a416c81f6762ab91d20834e5dbfbdd2fd19c96c3e711741",
59
- "ffmpeg-v17.0.0-beta.8-win32-arm64.zip": "5f5c948f2024bea39cca94cd9e1b77c906084727bce2f39f97edc23f4c7c5c60",
60
- "ffmpeg-v17.0.0-beta.8-win32-ia32.zip": "4bf377da8d47eae9d4797ffa2d4b98f45b6294c78df1f7736030d2376b8ad008",
61
- "ffmpeg-v17.0.0-beta.8-win32-x64.zip": "9a130ccf03a8b76e7bf01fc5b7d6da1c0c18518699272b7bf8b8c1d0f868206b",
62
- "hunspell_dictionaries.zip": "1262351253680c3f36cf43dcdc841ab91b3374c9bdaf4eeacc13ce050f75f0f9",
63
- "libcxx-objects-v17.0.0-beta.8-linux-arm64.zip": "99c267836e8047308a103d449f34b34270c1f1ab0370d21700ee3dd1a023f61b",
64
- "libcxx-objects-v17.0.0-beta.8-linux-armv7l.zip": "d4a4554a59e40caf9a324e1a3cf9e044daf5fe1d81f96ee51de6132f5443fab3",
65
- "libcxx-objects-v17.0.0-beta.8-linux-ia32.zip": "8d78decdcf6a83726a5269e11fd8ae5ac0cc1b2d9b297316448f618481f4e4f5",
66
- "libcxx-objects-v17.0.0-beta.8-linux-x64.zip": "926b241f5de8faf37ca466e6a73d8e2b736e20e91feb0a63b9db110ecfe2d345",
67
- "libcxx_headers.zip": "7a71c447eba942f955870ea323a6785f0dcffe5a17f5a1502ac815f5c8545887",
68
- "libcxxabi_headers.zip": "502d47b4b86051e9a478effede562b203173d5771a0af9c890260f456ebfa13d",
69
- "mksnapshot-v17.0.0-beta.8-darwin-arm64.zip": "a4c8582eb4d541c0ae85dd77a18d3253346613f98a066a46f7975e6d3dbabf8e",
70
- "mksnapshot-v17.0.0-beta.8-darwin-x64.zip": "64a73224bf9c67dcad999ecbedb079c383732916d2636273b03b05a9691a67a8",
71
- "mksnapshot-v17.0.0-beta.8-linux-arm64-x64.zip": "b0323aa24c7f9e484b17df02bede775ad9fa97364d44791e9567ce228e27c9df",
72
- "mksnapshot-v17.0.0-beta.8-linux-armv7l-x64.zip": "6ad2b47dfe852ed2a0197f0bf5a94f2df1fc3f8a85a28cb1e24c4debaacf09c8",
73
- "mksnapshot-v17.0.0-beta.8-linux-ia32.zip": "5445b873e8418f6736dacac738a1eaaf621d92834f23ceca97d8cfd68867ab23",
74
- "mksnapshot-v17.0.0-beta.8-linux-x64.zip": "f3666f2f3b0b6e4fd4a50e57c24446f9c4fd38303f4a017750b2b517ca682472",
75
- "mksnapshot-v17.0.0-beta.8-mas-arm64.zip": "e82f87fc84ecf5f19bfec8c89b9e05f49c9938f1a711a047c7d628274433c3c2",
76
- "mksnapshot-v17.0.0-beta.8-mas-x64.zip": "5d380959c1045022171e0c7e62db9e159d58829cf8e8a66ef86935dea3219e1d",
77
- "mksnapshot-v17.0.0-beta.8-win32-arm64-x64.zip": "87bea0b584f62d97a789e798632e32d90a63ea3f02dfefd76d5d0e4114786738",
78
- "mksnapshot-v17.0.0-beta.8-win32-ia32.zip": "667583099177528d5267dc7c8d9c35e69f357ba96c3fd4a35a1ca8f99c983f4a",
79
- "mksnapshot-v17.0.0-beta.8-win32-x64.zip": "2ac98fda6aef1e5de0579cde65cb3a8c8316daf1dd3d40dd0294ed64b57ee435"
2
+ "chromedriver-v18.0.0-alpha.2-darwin-arm64.zip": "aa2f2a5b9230b051eaf74612190f3c7dd13ec049e12273455332545c4d7e28f6",
3
+ "chromedriver-v18.0.0-alpha.2-darwin-x64.zip": "b179dc70d7af46ef90c992dd9931b919103008f50f35bad66d58776bb8b569a8",
4
+ "chromedriver-v18.0.0-alpha.2-linux-arm64.zip": "b28d5796c4a0be3787cfc5dd578e24d53fb3b534be8b8e9b3c59b03936ddc582",
5
+ "chromedriver-v18.0.0-alpha.2-linux-armv7l.zip": "f9683323fa11b76567323f4703009750779060eec0d26156b7e3e9af8ed32337",
6
+ "chromedriver-v18.0.0-alpha.2-linux-ia32.zip": "30c52f631ba44ac0959960c380b68f5c898b0ee44b37f26f7571cb04a039634b",
7
+ "chromedriver-v18.0.0-alpha.2-linux-x64.zip": "e0d2bc3904f02399dbbdef2a2c8fbf55eac964bac771086c995b87c0bfc24efd",
8
+ "chromedriver-v18.0.0-alpha.2-mas-arm64.zip": "13fb1169cb024b932697141204ba3af4d459a117ae1b708ca65c0a9733ca7674",
9
+ "chromedriver-v18.0.0-alpha.2-mas-x64.zip": "508b9038a9ead340b775212e5dab9e2627915c65c00ad06e1ce5be1297fe102a",
10
+ "chromedriver-v18.0.0-alpha.2-win32-arm64.zip": "c89358611b5379ab0337e008ea75a450054b3ede44c917591252bb3b30acfbfe",
11
+ "chromedriver-v18.0.0-alpha.2-win32-ia32.zip": "6d5152dea4dee8305f54b8746c3fbde1f9d143e51b6629192c1fa14a64a695b6",
12
+ "chromedriver-v18.0.0-alpha.2-win32-x64.zip": "239680a026779b6ec8cdee4da8b7c2507c51cee8f0db09d0a2d75a3672e9df57",
13
+ "electron-api.json": "5652efa8b7c53ffb3ae7868c2a8a7cc54975c35e9de0e965c92ae922ac7d1def",
14
+ "electron-v18.0.0-alpha.2-darwin-arm64-dsym.zip": "e563b5407dc14c7a5854e0d76e759eecd78c0a791f391427632b17f50d74ce79",
15
+ "electron-v18.0.0-alpha.2-darwin-arm64-symbols.zip": "606cbbf7e36f78dce126808cafe115f0381e7bfa6b58a303ff632f6ffca8bb5c",
16
+ "electron-v18.0.0-alpha.2-darwin-arm64.zip": "c39492c58c03ab5df250d8b066668a24c0fb769cfabea827b33378686df2fbc1",
17
+ "electron-v18.0.0-alpha.2-darwin-x64-dsym.zip": "14887d97e244933cd11678a63046002de5c138ed93d43d923f2c3a9bf051706c",
18
+ "electron-v18.0.0-alpha.2-darwin-x64-symbols.zip": "bbaa3b0e4b988cd78d7d04bc65e138f1c9198d9ea511b2889a954e3d89451543",
19
+ "electron-v18.0.0-alpha.2-darwin-x64.zip": "1438f1d2fe702ee1d23ffa0decf7dc567e763ddf12a8dd22f1315a02f110b405",
20
+ "electron-v18.0.0-alpha.2-linux-arm64-debug.zip": "7e091ff483b662f792079cf49efb189556c0ba173372e60d782111de6338c0b2",
21
+ "electron-v18.0.0-alpha.2-linux-arm64-symbols.zip": "63fd33d50ef62262ae53b6f429104f91f498ebd5d5ce4f955064aefdddb9299d",
22
+ "electron-v18.0.0-alpha.2-linux-arm64.zip": "6665c59764bd61c7913ba8a18a3f992d31c667fc5c377adc666ea55c1023fded",
23
+ "electron-v18.0.0-alpha.2-linux-armv7l-debug.zip": "7e091ff483b662f792079cf49efb189556c0ba173372e60d782111de6338c0b2",
24
+ "electron-v18.0.0-alpha.2-linux-armv7l-symbols.zip": "f9fac27dbb5a3d86b3e84df8acea973bbc4d2bb795baa9b3e6b76a1004416807",
25
+ "electron-v18.0.0-alpha.2-linux-armv7l.zip": "a3cbd911cfe4601bfd21bffa47d8948a1805fb3d3b4a5efc6ce6056da67b1955",
26
+ "electron-v18.0.0-alpha.2-linux-ia32-debug.zip": "7e091ff483b662f792079cf49efb189556c0ba173372e60d782111de6338c0b2",
27
+ "electron-v18.0.0-alpha.2-linux-ia32-symbols.zip": "f71662ede010a78a85f56d6d036ffc28378ded8cae4f806dbb89e85487f8b342",
28
+ "electron-v18.0.0-alpha.2-linux-ia32.zip": "3a6b410c610fdf4f1f4f089834bca5fd6e1909df87fa03596a15af211cb0bbc5",
29
+ "electron-v18.0.0-alpha.2-linux-x64-debug.zip": "120a8152fa66fbec9f8e168c057a0f5cd99466acdd7a511d7dfc65f49673073e",
30
+ "electron-v18.0.0-alpha.2-linux-x64-symbols.zip": "79def8d94eacf12c78e4c4bcfb64749deff1eb71613fc6cb632696ffeec01c58",
31
+ "electron-v18.0.0-alpha.2-linux-x64.zip": "a4cd5e75fa6a3a36ac5a77ae40d295c652dec62b8e620ab8c387a34ffed78a9b",
32
+ "electron-v18.0.0-alpha.2-mas-arm64-dsym.zip": "67082a5e9dfd7285ac9677a88af2810e34d80cf11e5aff28e12b244e7320c3b5",
33
+ "electron-v18.0.0-alpha.2-mas-arm64-symbols.zip": "29456fbdd6efeab40540c57808d9d8fce5aa2526a2a8e71e97b06102daf49393",
34
+ "electron-v18.0.0-alpha.2-mas-arm64.zip": "536e81628f08c312c2e35f06981aadb5ad2eca23322b4694a757d69f077082ae",
35
+ "electron-v18.0.0-alpha.2-mas-x64-dsym.zip": "a978d1e5d03a5ac2f19e90b81b50f96c9d58b724735f581096ac1bdbd735ae13",
36
+ "electron-v18.0.0-alpha.2-mas-x64-symbols.zip": "b71ebd7ecc9b2335d3ca9adce3f3f4c7071b382ed16e7ca7ab4d9f552cd56c09",
37
+ "electron-v18.0.0-alpha.2-mas-x64.zip": "2d6ea84a460efa824d6d2924f2d55d33111a9365009b81b365690b8f6a729acb",
38
+ "electron-v18.0.0-alpha.2-win32-arm64-pdb.zip": "58b8137fc1dcef618e190a8c8401e5171bcfccc9715f87d290e72ba5fefc6553",
39
+ "electron-v18.0.0-alpha.2-win32-arm64-symbols.zip": "79d91fdfa459183243b521ad3b7c6e078387f075467c2c0169a22586d2fd31aa",
40
+ "electron-v18.0.0-alpha.2-win32-arm64-toolchain-profile.zip": "834c0069d539f7463da9a346aabc18033904aaba4672fd0e7cdcfae3bb679ed4",
41
+ "electron-v18.0.0-alpha.2-win32-arm64.zip": "2d00e4c2bb6e8e5a161e124551682897823950867e3dd5965cf6259c72ba1666",
42
+ "electron-v18.0.0-alpha.2-win32-ia32-pdb.zip": "5fadf9fb0099104c86a2ed5c1fd34c6121d68a9a92682bf96cada0a900d451ed",
43
+ "electron-v18.0.0-alpha.2-win32-ia32-symbols.zip": "8461e370e08f5f85f0206c8e14a1073f1f90179f3a5325edcdb018f9b2565f8e",
44
+ "electron-v18.0.0-alpha.2-win32-ia32-toolchain-profile.zip": "834c0069d539f7463da9a346aabc18033904aaba4672fd0e7cdcfae3bb679ed4",
45
+ "electron-v18.0.0-alpha.2-win32-ia32.zip": "1767767fa1e9d6cbcae1d833424ad368923328c3a00ad880201ca46babebaff5",
46
+ "electron-v18.0.0-alpha.2-win32-x64-pdb.zip": "9a0d4ba3bb731f8f422c5837cfd431498c74338bf85cbfe472c2611fae4cde82",
47
+ "electron-v18.0.0-alpha.2-win32-x64-symbols.zip": "50e0d45fdbff904504987b1150f58b90f0e741e2a373167315ec89e12427c2d4",
48
+ "electron-v18.0.0-alpha.2-win32-x64-toolchain-profile.zip": "834c0069d539f7463da9a346aabc18033904aaba4672fd0e7cdcfae3bb679ed4",
49
+ "electron-v18.0.0-alpha.2-win32-x64.zip": "c0ff0870b97540b700f55de3c3531c4adb5785c890deffe7c95a8cfcf1438ed5",
50
+ "electron.d.ts": "9c6c630a50721646eb3d64a737bdf18820975bf3b09c6e26feb6f028622c1ed9",
51
+ "ffmpeg-v18.0.0-alpha.2-darwin-arm64.zip": "0739b99836bb4a3d76f1fdd9a5b853cf0f5274e7f1469e707739fc844ab8b0fb",
52
+ "ffmpeg-v18.0.0-alpha.2-darwin-x64.zip": "8755e967e7f60259af54e648fb0abca528862a2e1160baf1a9c4d5113df93bf0",
53
+ "ffmpeg-v18.0.0-alpha.2-linux-arm64.zip": "87a6f36f5a8be7756232cb988c3504da86ee729d0f4c4cd434cc0119c6379fc2",
54
+ "ffmpeg-v18.0.0-alpha.2-linux-armv7l.zip": "f3d243661455ec55e15c6458600b56d6e86d4dc5fc3774ea8fc82a3921959913",
55
+ "ffmpeg-v18.0.0-alpha.2-linux-ia32.zip": "7fc940a3d6b7426dd9cb0a4ba9a67774b93253374e8a101a56ae1831319c92bc",
56
+ "ffmpeg-v18.0.0-alpha.2-linux-x64.zip": "4fa7a3210e6f20f463dfe31a677945a290ad18063797bd18c1c7b00859d0ee2f",
57
+ "ffmpeg-v18.0.0-alpha.2-mas-arm64.zip": "0739b99836bb4a3d76f1fdd9a5b853cf0f5274e7f1469e707739fc844ab8b0fb",
58
+ "ffmpeg-v18.0.0-alpha.2-mas-x64.zip": "8755e967e7f60259af54e648fb0abca528862a2e1160baf1a9c4d5113df93bf0",
59
+ "ffmpeg-v18.0.0-alpha.2-win32-arm64.zip": "00eeccd662e25d436976b032fe753dadd781d3ee2b00707e4ea911d21b52cc8f",
60
+ "ffmpeg-v18.0.0-alpha.2-win32-ia32.zip": "e1e9e7d2a78b5ed16fa4b641e87223289b717e8123767e1d9b930ccab33bdfc5",
61
+ "ffmpeg-v18.0.0-alpha.2-win32-x64.zip": "f443a9a7ebdaed87b7fc27da5c36ed10939d85c40addf86f7b07d26d54582d60",
62
+ "hunspell_dictionaries.zip": "deae23beeb0ad1b978b2de43e053fe5a28f6f1e31336eaf2acf0069b8c1c56c3",
63
+ "libcxx-objects-v18.0.0-alpha.2-linux-arm64.zip": "518bc09b7375c89d409c88aaade8cb77440d66dc811b4eaab9ccf568210dab54",
64
+ "libcxx-objects-v18.0.0-alpha.2-linux-armv7l.zip": "3b36743e526a5c91af3ffc299acab3fcc2ea44b6a36bfa9a65b10bac90411d69",
65
+ "libcxx-objects-v18.0.0-alpha.2-linux-ia32.zip": "4ef3cdd6f077d9c135ea73889d07179d5429327f59cf59125294a3ce7eedceac",
66
+ "libcxx-objects-v18.0.0-alpha.2-linux-x64.zip": "a0b2936da476feea11f2e8ae1821dab9e6f7b1bf46de63282ad971ebcec728e7",
67
+ "libcxx_headers.zip": "be3ae183ecd764c2f7b281e6b523d4acd873ac0f382ea514076361fc261cc836",
68
+ "libcxxabi_headers.zip": "4f5740d38b223e2626dcdbf3dce933a85bd32732e076893b81b3494ab63714f7",
69
+ "mksnapshot-v18.0.0-alpha.2-darwin-arm64.zip": "6726abddbf7fa7148f6e3df24e2f305c367dbc62c73d1a303f14b35d93b3a4e1",
70
+ "mksnapshot-v18.0.0-alpha.2-darwin-x64.zip": "4a9d2f11cdd42627bb8c257429e487cef6d961ce55ef6f874111599f7560201b",
71
+ "mksnapshot-v18.0.0-alpha.2-linux-arm64-x64.zip": "1968f730c079f01268374119176f38f60d674872b56625c8cfe7d86778c3177e",
72
+ "mksnapshot-v18.0.0-alpha.2-linux-armv7l-x64.zip": "fa088908284dcd632539043964404287045834846f73139957a71d9be6a10159",
73
+ "mksnapshot-v18.0.0-alpha.2-linux-ia32.zip": "05f2f6c49ec3c8294dc2fd6d0346019d51d95daa3106807ffcbff53d17584832",
74
+ "mksnapshot-v18.0.0-alpha.2-linux-x64.zip": "a945533af14b13cac6be669753ff87514e44abe418b5746a6071307326a953ed",
75
+ "mksnapshot-v18.0.0-alpha.2-mas-arm64.zip": "6ffd9287d5e80efdf7596c0f6117697c577a2021bb02eefe5e9cad2890177f58",
76
+ "mksnapshot-v18.0.0-alpha.2-mas-x64.zip": "429b946e7f8d219cc214304fc93a3be1769c2f965d009004585978576122fada",
77
+ "mksnapshot-v18.0.0-alpha.2-win32-arm64-x64.zip": "b66269f2cb669e29b08ab0d01e50c48105b01735400e75ca6ec51f57491c6bf8",
78
+ "mksnapshot-v18.0.0-alpha.2-win32-ia32.zip": "f1900f807346dd13d9a3834ba576f486f7d5ffe9486362cdb851c68a34ef439a",
79
+ "mksnapshot-v18.0.0-alpha.2-win32-x64.zip": "ac9677bd5ec34cac6441f029c8a1fb2f5a17fad61ad223699740cf982d0e9c58"
80
80
  }
package/electron.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Type definitions for Electron 17.0.0-beta.8
1
+ // Type definitions for Electron 18.0.0-alpha.2
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
@@ -314,6 +314,35 @@ declare namespace Electron {
314
314
  once(event: 'did-become-active', listener: (event: Event) => void): this;
315
315
  addListener(event: 'did-become-active', listener: (event: Event) => void): this;
316
316
  removeListener(event: 'did-become-active', listener: (event: Event) => void): this;
317
+ /**
318
+ * This event will be emitted within the second instance during the call to
319
+ * `app.requestSingleInstanceLock()`, when the first instance calls the
320
+ * `ackCallback` provided by the `second-instance` event handler.
321
+ */
322
+ on(event: 'first-instance-ack', listener: (event: Event,
323
+ /**
324
+ * A JSON object of additional data passed from the first instance, in response to
325
+ * the first instance's `second-instance` event.
326
+ */
327
+ additionalData: unknown) => void): this;
328
+ once(event: 'first-instance-ack', listener: (event: Event,
329
+ /**
330
+ * A JSON object of additional data passed from the first instance, in response to
331
+ * the first instance's `second-instance` event.
332
+ */
333
+ additionalData: unknown) => void): this;
334
+ addListener(event: 'first-instance-ack', listener: (event: Event,
335
+ /**
336
+ * A JSON object of additional data passed from the first instance, in response to
337
+ * the first instance's `second-instance` event.
338
+ */
339
+ additionalData: unknown) => void): this;
340
+ removeListener(event: 'first-instance-ack', listener: (event: Event,
341
+ /**
342
+ * A JSON object of additional data passed from the first instance, in response to
343
+ * the first instance's `second-instance` event.
344
+ */
345
+ additionalData: unknown) => void): this;
317
346
  /**
318
347
  * Emitted whenever there is a GPU info update.
319
348
  */
@@ -499,6 +528,19 @@ declare namespace Electron {
499
528
  * **Note:** If the second instance is started by a different user than the first,
500
529
  * the `argv` array will not include the arguments.
501
530
  *
531
+ * **Note:** `ackCallback` allows the user to send data back to the second instance
532
+ * during the `app.requestSingleInstanceLock()` flow. This callback can be used for
533
+ * cases where the second instance needs to obtain additional information from the
534
+ * first instance before quitting.
535
+ *
536
+ * Currently, the limit on the message size is kMaxMessageLength, or around 32kB.
537
+ * To be safe, keep the amount of data passed to 31kB at most.
538
+ *
539
+ * In order to call the callback, `event.preventDefault()` must be called, first.
540
+ * If the callback is not called in either case, `null` will be sent back. If
541
+ * `event.preventDefault()` is not called, but `ackCallback` is called by the user
542
+ * in the event, then the behaviour is undefined.
543
+ *
502
544
  * This event is guaranteed to be emitted after the `ready` event of `app` gets
503
545
  * emitted.
504
546
  *
@@ -517,7 +559,11 @@ declare namespace Electron {
517
559
  /**
518
560
  * A JSON object of additional data passed from the second instance
519
561
  */
520
- additionalData: unknown) => void): this;
562
+ additionalData: unknown,
563
+ /**
564
+ * A function that can be used to send data back to the second instance
565
+ */
566
+ ackCallback: unknown) => void): this;
521
567
  once(event: 'second-instance', listener: (event: Event,
522
568
  /**
523
569
  * An array of the second instance's command line arguments
@@ -530,7 +576,11 @@ declare namespace Electron {
530
576
  /**
531
577
  * A JSON object of additional data passed from the second instance
532
578
  */
533
- additionalData: unknown) => void): this;
579
+ additionalData: unknown,
580
+ /**
581
+ * A function that can be used to send data back to the second instance
582
+ */
583
+ ackCallback: unknown) => void): this;
534
584
  addListener(event: 'second-instance', listener: (event: Event,
535
585
  /**
536
586
  * An array of the second instance's command line arguments
@@ -543,7 +593,11 @@ declare namespace Electron {
543
593
  /**
544
594
  * A JSON object of additional data passed from the second instance
545
595
  */
546
- additionalData: unknown) => void): this;
596
+ additionalData: unknown,
597
+ /**
598
+ * A function that can be used to send data back to the second instance
599
+ */
600
+ ackCallback: unknown) => void): this;
547
601
  removeListener(event: 'second-instance', listener: (event: Event,
548
602
  /**
549
603
  * An array of the second instance's command line arguments
@@ -556,7 +610,11 @@ declare namespace Electron {
556
610
  /**
557
611
  * A JSON object of additional data passed from the second instance
558
612
  */
559
- additionalData: unknown) => void): this;
613
+ additionalData: unknown,
614
+ /**
615
+ * A function that can be used to send data back to the second instance
616
+ */
617
+ ackCallback: unknown) => void): this;
560
618
  /**
561
619
  * Emitted when a client certificate is requested.
562
620
  *
@@ -3036,44 +3094,6 @@ declare namespace Electron {
3036
3094
  readonly webContents: WebContents;
3037
3095
  }
3038
3096
 
3039
- class BrowserWindowProxy {
3040
-
3041
- // Docs: https://electronjs.org/docs/api/browser-window-proxy
3042
-
3043
- /**
3044
- * Removes focus from the child window.
3045
- */
3046
- blur(): void;
3047
- /**
3048
- * Forcefully closes the child window without calling its unload event.
3049
- */
3050
- close(): void;
3051
- /**
3052
- * Evaluates the code in the child window.
3053
- */
3054
- eval(code: string): void;
3055
- /**
3056
- * Focuses the child window (brings the window to front).
3057
- */
3058
- focus(): void;
3059
- /**
3060
- * Sends a message to the child window with the specified origin or `*` for no
3061
- * origin preference.
3062
- *
3063
- * In addition to these methods, the child window implements `window.opener` object
3064
- * with no properties and a single method.
3065
- */
3066
- postMessage(message: any, targetOrigin: string): void;
3067
- /**
3068
- * Invokes the print dialog on the child window.
3069
- */
3070
- print(): void;
3071
- /**
3072
- * A `boolean` that is set to true after the child window gets closed.
3073
- */
3074
- closed: boolean;
3075
- }
3076
-
3077
3097
  interface Certificate {
3078
3098
 
3079
3099
  // Docs: https://electronjs.org/docs/api/structures/certificate
@@ -4338,8 +4358,8 @@ declare namespace Electron {
4338
4358
  * However, the request remains active until either the application becomes active
4339
4359
  * or the request is canceled.
4340
4360
  *
4341
- * **Nota Bene:** This method can only be used while the app is not focused; when
4342
- * the app is focused it will return -1.
4361
+ * **Note:** This method can only be used while the app is not focused; when the
4362
+ * app is focused it will return -1.
4343
4363
  *
4344
4364
  * @platform darwin
4345
4365
  */
@@ -4926,6 +4946,14 @@ declare namespace Electron {
4926
4946
  * An `Integer` indicating the HTTP protocol minor version number.
4927
4947
  */
4928
4948
  httpVersionMinor: number;
4949
+ /**
4950
+ * A `string[]` containing the raw HTTP response headers exactly as they were
4951
+ * received. The keys and values are in the same list. It is not a list of tuples.
4952
+ * So, the even-numbered offsets are key values, and the odd-numbered offsets are
4953
+ * the associated values. Header names are not lowercased, and duplicates are not
4954
+ * merged.
4955
+ */
4956
+ rawHeaders: string[];
4929
4957
  /**
4930
4958
  * An `Integer` indicating the HTTP response status code.
4931
4959
  */
@@ -9566,6 +9594,13 @@ declare namespace Electron {
9566
9594
  * Input properties.
9567
9595
  */
9568
9596
  input: Input) => void): this;
9597
+ /**
9598
+ * Emitted when the `WebContents` loses focus.
9599
+ */
9600
+ on(event: 'blur', listener: Function): this;
9601
+ once(event: 'blur', listener: Function): this;
9602
+ addListener(event: 'blur', listener: Function): this;
9603
+ removeListener(event: 'blur', listener: Function): this;
9569
9604
  /**
9570
9605
  * Emitted when failed to verify the `certificate` for `url`.
9571
9606
  *
@@ -10182,6 +10217,22 @@ declare namespace Electron {
10182
10217
  once(event: 'enter-html-full-screen', listener: Function): this;
10183
10218
  addListener(event: 'enter-html-full-screen', listener: Function): this;
10184
10219
  removeListener(event: 'enter-html-full-screen', listener: Function): this;
10220
+ /**
10221
+ * Emitted when the `WebContents` gains focus.
10222
+ *
10223
+ * Note that on macOS, having focus means the `WebContents` is the first responder
10224
+ * of window, so switching focus between windows would not trigger the `focus` and
10225
+ * `blur` events of `WebContents`, as the first responder of each window is not
10226
+ * changed.
10227
+ *
10228
+ * The `focus` and `blur` events of `WebContents` should only be used to detect
10229
+ * focus change between different `WebContents` and `BrowserView` in the same
10230
+ * window.
10231
+ */
10232
+ on(event: 'focus', listener: Function): this;
10233
+ once(event: 'focus', listener: Function): this;
10234
+ addListener(event: 'focus', listener: Function): this;
10235
+ removeListener(event: 'focus', listener: Function): this;
10185
10236
  /**
10186
10237
  * Emitted when a result is available for [`webContents.findInPage`] request.
10187
10238
  */
@@ -10711,7 +10762,7 @@ declare namespace Electron {
10711
10762
  addListener(event: 'will-prevent-unload', listener: (event: Event) => void): this;
10712
10763
  removeListener(event: 'will-prevent-unload', listener: (event: Event) => void): this;
10713
10764
  /**
10714
- * Emitted as a server side redirect occurs during navigation. For example a 302
10765
+ * Emitted when a server side redirect occurs during navigation. For example a 302
10715
10766
  * redirect.
10716
10767
  *
10717
10768
  * This event will be emitted after `did-start-navigation` and always before the
@@ -12964,7 +13015,7 @@ declare namespace Electron {
12964
13015
  */
12965
13016
  webPreferences?: WebPreferences;
12966
13017
  /**
12967
- * When using a frameless window in conjuction with
13018
+ * When using a frameless window in conjunction with
12968
13019
  * `win.setWindowButtonVisibility(true)` on macOS or using a `titleBarStyle` so
12969
13020
  * that the standard window controls ("traffic lights" on macOS) are visible, this
12970
13021
  * property enables the Window Controls Overlay JavaScript APIs and CSS Environment
@@ -14036,13 +14087,15 @@ declare namespace Electron {
14036
14087
  * `selectAll`, `reload`, `forceReload`, `toggleDevTools`, `resetZoom`, `zoomIn`,
14037
14088
  * `zoomOut`, `toggleSpellChecker`, `togglefullscreen`, `window`, `minimize`,
14038
14089
  * `close`, `help`, `about`, `services`, `hide`, `hideOthers`, `unhide`, `quit`,
14039
- * `startSpeaking`, `stopSpeaking`, `zoom`, `front`, `appMenu`, `fileMenu`,
14040
- * `editMenu`, `viewMenu`, `shareMenu`, `recentDocuments`, `toggleTabBar`,
14041
- * `selectNextTab`, `selectPreviousTab`, `mergeAllWindows`, `clearRecentDocuments`,
14042
- * `moveTabToNewWindow` or `windowMenu` - Define the action of the menu item, when
14043
- * specified the `click` property will be ignored. See roles.
14090
+ * 'showSubstitutions', 'toggleSmartQuotes', 'toggleSmartDashes',
14091
+ * 'toggleTextReplacement', `startSpeaking`, `stopSpeaking`, `zoom`, `front`,
14092
+ * `appMenu`, `fileMenu`, `editMenu`, `viewMenu`, `shareMenu`, `recentDocuments`,
14093
+ * `toggleTabBar`, `selectNextTab`, `selectPreviousTab`, `mergeAllWindows`,
14094
+ * `clearRecentDocuments`, `moveTabToNewWindow` or `windowMenu` - Define the action
14095
+ * of the menu item, when specified the `click` property will be ignored. See
14096
+ * roles.
14044
14097
  */
14045
- role?: ('undo' | 'redo' | 'cut' | 'copy' | 'paste' | 'pasteAndMatchStyle' | 'delete' | 'selectAll' | 'reload' | 'forceReload' | 'toggleDevTools' | 'resetZoom' | 'zoomIn' | 'zoomOut' | 'toggleSpellChecker' | 'togglefullscreen' | 'window' | 'minimize' | 'close' | 'help' | 'about' | 'services' | 'hide' | 'hideOthers' | 'unhide' | 'quit' | 'startSpeaking' | 'stopSpeaking' | 'zoom' | 'front' | 'appMenu' | 'fileMenu' | 'editMenu' | 'viewMenu' | 'shareMenu' | 'recentDocuments' | 'toggleTabBar' | 'selectNextTab' | 'selectPreviousTab' | 'mergeAllWindows' | 'clearRecentDocuments' | 'moveTabToNewWindow' | 'windowMenu');
14098
+ role?: ('undo' | 'redo' | 'cut' | 'copy' | 'paste' | 'pasteAndMatchStyle' | 'delete' | 'selectAll' | 'reload' | 'forceReload' | 'toggleDevTools' | 'resetZoom' | 'zoomIn' | 'zoomOut' | 'toggleSpellChecker' | 'togglefullscreen' | 'window' | 'minimize' | 'close' | 'help' | 'about' | 'services' | 'hide' | 'hideOthers' | 'unhide' | 'quit' | 'showSubstitutions' | 'toggleSmartQuotes' | 'toggleSmartDashes' | 'toggleTextReplacement' | 'startSpeaking' | 'stopSpeaking' | 'zoom' | 'front' | 'appMenu' | 'fileMenu' | 'editMenu' | 'viewMenu' | 'shareMenu' | 'recentDocuments' | 'toggleTabBar' | 'selectNextTab' | 'selectPreviousTab' | 'mergeAllWindows' | 'clearRecentDocuments' | 'moveTabToNewWindow' | 'windowMenu');
14046
14099
  /**
14047
14100
  * Can be `normal`, `separator`, `submenu`, `checkbox` or `radio`.
14048
14101
  */
@@ -14468,6 +14521,7 @@ declare namespace Electron {
14468
14521
  resourceType: ('mainFrame' | 'subFrame' | 'stylesheet' | 'script' | 'image' | 'font' | 'object' | 'xhr' | 'ping' | 'cspReport' | 'media' | 'webSocket' | 'other');
14469
14522
  referrer: string;
14470
14523
  timestamp: number;
14524
+ uploadData?: UploadData[];
14471
14525
  requestHeaders: Record<string, string>;
14472
14526
  }
14473
14527
 
@@ -15967,6 +16021,13 @@ declare namespace Electron {
15967
16021
  * @platform win32
15968
16022
  */
15969
16023
  symbolColor?: string;
16024
+ /**
16025
+ * The height of the title bar and Window Controls Overlay in pixels. Default is
16026
+ * system height.
16027
+ *
16028
+ * @platform darwin,win32
16029
+ */
16030
+ height?: number;
15970
16031
  }
15971
16032
 
15972
16033
  interface WebPreferences {
@@ -16126,12 +16187,6 @@ declare namespace Electron {
16126
16187
  * tab.
16127
16188
  */
16128
16189
  contextIsolation?: boolean;
16129
- /**
16130
- * Whether to use native `window.open()`. Defaults to `true`. Child windows will
16131
- * always have node integration disabled unless `nodeIntegrationInSubFrames` is
16132
- * true.
16133
- */
16134
- nativeWindowOpen?: boolean;
16135
16190
  /**
16136
16191
  * Whether to enable the `<webview>` tag. Defaults to `false`. **Note:** The
16137
16192
  * `preload` script configured for the `<webview>` will have node integration
@@ -16794,7 +16849,6 @@ declare namespace Electron {
16794
16849
  }
16795
16850
 
16796
16851
  namespace Renderer {
16797
- type BrowserWindowProxy = Electron.BrowserWindowProxy;
16798
16852
  const contextBridge: ContextBridge;
16799
16853
  type ContextBridge = Electron.ContextBridge;
16800
16854
  const ipcRenderer: IpcRenderer;
@@ -17030,7 +17084,6 @@ declare namespace Electron {
17030
17084
  type AutoUpdater = Electron.AutoUpdater;
17031
17085
  class BrowserView extends Electron.BrowserView {}
17032
17086
  class BrowserWindow extends Electron.BrowserWindow {}
17033
- type BrowserWindowProxy = Electron.BrowserWindowProxy;
17034
17087
  type ClientRequest = Electron.ClientRequest;
17035
17088
  const clipboard: Clipboard;
17036
17089
  type Clipboard = Electron.Clipboard;
package/package.json CHANGED
@@ -16,7 +16,7 @@
16
16
  "node": ">= 8.6"
17
17
  },
18
18
  "name": "electron",
19
- "version": "17.0.0-beta.8",
19
+ "version": "18.0.0-alpha.2",
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",