electron 18.0.0 → 19.0.0-alpha.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
@@ -34,6 +34,17 @@ For more installation options and troubleshooting tips, see
34
34
  [installation](docs/tutorial/installation.md). For info on how to manage Electron versions in your apps, see
35
35
  [Electron versioning](docs/tutorial/electron-versioning.md).
36
36
 
37
+ ## Platform support
38
+
39
+ Each Electron release provides binaries for macOS, Windows, and Linux.
40
+
41
+ * macOS (El Capitan and up): Electron provides 64-bit Intel and ARM binaries for macOS. Apple Silicon support was added in Electron 11.
42
+ * Windows (Windows 7 and up): Electron provides `ia32` (`x86`), `x64` (`amd64`), and `arm64` binaries for Windows. Windows on ARM support was added in Electron 5.0.8.
43
+ * Linux: The prebuilt binaries of Electron are built on Ubuntu 20.04. They have also been verified to work on:
44
+ * Ubuntu 14.04 and newer
45
+ * Fedora 24 and newer
46
+ * Debian 8 and newer
47
+
37
48
  ## Quick start & Electron Fiddle
38
49
 
39
50
  Use [`Electron Fiddle`](https://github.com/electron/fiddle)
@@ -54,12 +65,10 @@ npm start
54
65
 
55
66
  ## Resources for learning Electron
56
67
 
57
- - [electronjs.org/docs](https://electronjs.org/docs) - All of Electron's documentation
58
- - [electron/fiddle](https://github.com/electron/fiddle) - A tool to build, run, and package small Electron experiments
59
- - [electron/electron-quick-start](https://github.com/electron/electron-quick-start) - A very basic starter Electron app
60
- - [electronjs.org/community#boilerplates](https://electronjs.org/community#boilerplates) - Sample starter apps created by the community
61
- - [electron/simple-samples](https://github.com/electron/simple-samples) - Small applications with ideas for taking them further
62
- - [electron/electron-api-demos](https://github.com/electron/electron-api-demos) - An Electron app that teaches you how to use Electron
68
+ * [electronjs.org/docs](https://electronjs.org/docs) - All of Electron's documentation
69
+ * [electron/fiddle](https://github.com/electron/fiddle) - A tool to build, run, and package small Electron experiments
70
+ * [electron/electron-quick-start](https://github.com/electron/electron-quick-start) - A very basic starter Electron app
71
+ * [electronjs.org/community#boilerplates](https://electronjs.org/community#boilerplates) - Sample starter apps created by the community
63
72
 
64
73
  ## Programmatic usage
65
74
 
@@ -80,11 +89,15 @@ const child = proc.spawn(electron)
80
89
 
81
90
  ### Mirrors
82
91
 
83
- - [China](https://npmmirror.com/mirrors/electron)
92
+ * [China](https://npmmirror.com/mirrors/electron/)
93
+
94
+ See the [Advanced Installation Instructions](https://www.electronjs.org/docs/latest/tutorial/installation#mirror) to learn how to use a custom mirror.
84
95
 
85
- ## Documentation Translations
96
+ ## Documentation translations
86
97
 
87
- Find documentation translations in [electron/i18n](https://github.com/electron/i18n).
98
+ We crowdsource translations for our documentation via [Crowdin](https://crowdin.com/project/electron).
99
+ We currently accept translations for Chinese (Simplified), French, German, Japanese, Portuguese,
100
+ Russian, and Spanish.
88
101
 
89
102
  ## Contributing
90
103
 
@@ -93,10 +106,10 @@ If you are interested in reporting/fixing issues and contributing directly to th
93
106
  ## Community
94
107
 
95
108
  Info on reporting bugs, getting help, finding third-party tools and sample apps,
96
- and more can be found in the [support document](docs/tutorial/support.md#finding-support).
109
+ and more can be found on the [Community page](https://www.electronjs.org/community).
97
110
 
98
111
  ## License
99
112
 
100
113
  [MIT](https://github.com/electron/electron/blob/main/LICENSE)
101
114
 
102
- When using the Electron or other GitHub logos, be sure to follow the [GitHub logo guidelines](https://github.com/logos).
115
+ When using Electron logos, make sure to follow [OpenJS Foundation Trademark Policy](https://openjsf.org/wp-content/uploads/sites/84/2021/01/OpenJS-Foundation-Trademark-Policy-2021-01-12.docx.pdf).
package/checksums.json CHANGED
@@ -1,84 +1,84 @@
1
1
  {
2
- "chromedriver-v18.0.0-darwin-arm64.zip": "3f0842339c7467cec395a6b03ebef8203d089b5943eef76775669bde6b65cd9f",
3
- "chromedriver-v18.0.0-darwin-x64.zip": "95bcf0eee6d6d71eb0f6a1588cf7485962bbf14bf71cf5505989607e7bd32981",
4
- "chromedriver-v18.0.0-linux-arm64.zip": "6b4a87f066a2e9b65b447f6bd745389efe8315ab796875cf5311854db64573b6",
5
- "chromedriver-v18.0.0-linux-armv7l.zip": "8752397841ba6274c9e0948d9b56f0d9adf767c49de84026a805615500eb8ce1",
6
- "chromedriver-v18.0.0-linux-ia32.zip": "2894f62e55300c289dd9456a81edf8e1fa066654401c21813e3f05a0de5daaff",
7
- "chromedriver-v18.0.0-linux-x64.zip": "15a05442e1b33370ade5ba3c6ef8ed6dd4c3238f699f6863a659e7b1de9a73b7",
8
- "chromedriver-v18.0.0-mas-arm64.zip": "378711a6377fd5de7fddf1c263914ca849daade82033c860ef7855c61be3fe3c",
9
- "chromedriver-v18.0.0-mas-x64.zip": "a59585d445efda23a992b1a48ac85fccbe39bfa199b21bd08510df9e5d95b255",
10
- "chromedriver-v18.0.0-win32-arm64.zip": "f993ec8277f2e5de9e45e6929f8fd017b4a7b80f0275275578b7095c0b4285aa",
11
- "chromedriver-v18.0.0-win32-ia32.zip": "0d729c92f4e89247f7b6fe6a8ee9391db39c4c21d61fb12ee3fee92f877bf982",
12
- "chromedriver-v18.0.0-win32-x64.zip": "99167e37abbc54a46878158de598516f697c2ea95e1bd5ed140efb8f9bf21327",
13
- "electron-api.json": "17a3492c4188574c59bb03815765b08708765bd3501f2f504f8b21d0b5203458",
14
- "electron-v18.0.0-darwin-arm64-dsym-snapshot.zip": "8ea6846f1a58aad2dc7f22b47f51a17df97b056d107334295ce177fb03604b8d",
15
- "electron-v18.0.0-darwin-arm64-dsym.zip": "4509c41bbda9d1dbd8ae8acf391a65c9ac80f17d4c20410112273c4cf4c041dd",
16
- "electron-v18.0.0-darwin-arm64-symbols.zip": "3d33ea39b0c0f7b28df118ba31660ecc8d9f72206df5be1260f200724529d99c",
17
- "electron-v18.0.0-darwin-arm64.zip": "2798464196f28ae601b6ad2e4a7811b99f37772c440e5031fceb5f3d066a555c",
18
- "electron-v18.0.0-darwin-x64-dsym-snapshot.zip": "2e495b99870c6ced5d23a94b6337724f1c713f1dbc258ded016f7516d674653c",
19
- "electron-v18.0.0-darwin-x64-dsym.zip": "145d13521e1ab6a8991f5009ab444c5d79aee80cd4b49ef53635862f922f4da7",
20
- "electron-v18.0.0-darwin-x64-symbols.zip": "07a87bddc9dede0c85bd24190c5f359d83e4807ed55a56413dbd57e00ddfa47e",
21
- "electron-v18.0.0-darwin-x64.zip": "a065a24cf8a10e31afa28600bb9c2e7060f7826d4ebaed65076a969bd18a0e0c",
22
- "electron-v18.0.0-linux-arm64-debug.zip": "94e6233fe1055ffd829283436b6c6e464d30018cf4b44bfa5ccf3bc55ada065c",
23
- "electron-v18.0.0-linux-arm64-symbols.zip": "fab17701a8560252dc22470956c9a7152a944dee8fb83d897092c8010b00576b",
24
- "electron-v18.0.0-linux-arm64.zip": "b3c088672deab866b0da85ec02338a3e2c541332a946814b7cd09e9a16cd41d6",
25
- "electron-v18.0.0-linux-armv7l-debug.zip": "94e6233fe1055ffd829283436b6c6e464d30018cf4b44bfa5ccf3bc55ada065c",
26
- "electron-v18.0.0-linux-armv7l-symbols.zip": "744f540cb98abed9da16189b62c6ed112b942fca67d8495b4df04c18ec2ec53f",
27
- "electron-v18.0.0-linux-armv7l.zip": "991c54c875102c1440f45a97509693003c8c5c3f1c69123e0913236396202dba",
28
- "electron-v18.0.0-linux-ia32-debug.zip": "94e6233fe1055ffd829283436b6c6e464d30018cf4b44bfa5ccf3bc55ada065c",
29
- "electron-v18.0.0-linux-ia32-symbols.zip": "d4020c88a96188ed9b45c26b436dc65aa073c5ba18a1ff1b3421ba482cd6c8a4",
30
- "electron-v18.0.0-linux-ia32.zip": "995fd56b0c03abcac575b920092876b85185d3e13d63b2007e8e49f395f64061",
31
- "electron-v18.0.0-linux-x64-debug.zip": "754c6ddb59879015c58ab8c155a08f6ae922f6993f9d5596e887b537ad3615e2",
32
- "electron-v18.0.0-linux-x64-symbols.zip": "cc7643a1c49b6b266d87fefade1dcc863f0b7d3babb5e33222eb744aaa1b95b1",
33
- "electron-v18.0.0-linux-x64.zip": "115737fb1e6759bcb9822e642f9457c2ee1ae7c3413dc3f356bf5d15576fec4d",
34
- "electron-v18.0.0-mas-arm64-dsym-snapshot.zip": "8ea6846f1a58aad2dc7f22b47f51a17df97b056d107334295ce177fb03604b8d",
35
- "electron-v18.0.0-mas-arm64-dsym.zip": "30a6f653a33ee83debd780df076e0ea33a38457d61a98da9c9649204900a8d48",
36
- "electron-v18.0.0-mas-arm64-symbols.zip": "0634dc86e7b34db3d0a2569b61f8559653587ebd18ba0b3c904e730a92f3abf4",
37
- "electron-v18.0.0-mas-arm64.zip": "a5c6546ae83ad2f4c38c88b42c9787bad05a9251273fe3b5d6000e0f9df138fd",
38
- "electron-v18.0.0-mas-x64-dsym-snapshot.zip": "d5ea9d0e8b680260cbf39bf1c516c9925207afe57c11bdefac03a2b7ea81c11f",
39
- "electron-v18.0.0-mas-x64-dsym.zip": "1bbd7a53b74074bfae0063b2ed7e427eca27b9f64f8c50d5b7d15f4871b805af",
40
- "electron-v18.0.0-mas-x64-symbols.zip": "ec1efd8a98bcce25a5f02ec3dfa03e29d19eb6fa0ffa5fd42d68421832b7ff83",
41
- "electron-v18.0.0-mas-x64.zip": "e7956e5db4ddc365add4db3e939859ecf1e9f8164386a93acd71d1a76b443229",
42
- "electron-v18.0.0-win32-arm64-pdb.zip": "c6cf2aa5631167b99816a67c8662d1a4dcef92b7d2a562e05712e0016952a542",
43
- "electron-v18.0.0-win32-arm64-symbols.zip": "094cf1f328066e3e161201632d74870ba8e860dbfe83f4d93cdbcc84516fd07e",
44
- "electron-v18.0.0-win32-arm64-toolchain-profile.zip": "834c0069d539f7463da9a346aabc18033904aaba4672fd0e7cdcfae3bb679ed4",
45
- "electron-v18.0.0-win32-arm64.zip": "c1bd9dd77c3f3f0afc40e8f23fdecd48be2efa47354caaea4457123c7deadc66",
46
- "electron-v18.0.0-win32-ia32-pdb.zip": "b97cdfd16ad119f96688609e45d1039f8ef321ccb73e9c34831309b76bef5a30",
47
- "electron-v18.0.0-win32-ia32-symbols.zip": "dd25cb92885858cc3440347ae8540f6b503b3e5f28545f5af226140a4207e127",
48
- "electron-v18.0.0-win32-ia32-toolchain-profile.zip": "834c0069d539f7463da9a346aabc18033904aaba4672fd0e7cdcfae3bb679ed4",
49
- "electron-v18.0.0-win32-ia32.zip": "612641b158ee4a7872ef7040a7d54b4a46a46e90852dee0777bcb16aa7453c39",
50
- "electron-v18.0.0-win32-x64-pdb.zip": "5551ec663c08eb63380bb778dfbce07223c9f93c23f17d3f4598915f947446b4",
51
- "electron-v18.0.0-win32-x64-symbols.zip": "168dc35dbad7004fbea086d57c1db4a931954be567818be9b7e658f3bda9101b",
52
- "electron-v18.0.0-win32-x64-toolchain-profile.zip": "834c0069d539f7463da9a346aabc18033904aaba4672fd0e7cdcfae3bb679ed4",
53
- "electron-v18.0.0-win32-x64.zip": "6706372e6590636d582a8287b6796d058e4987b4fbb16194167e2f82258e2d46",
54
- "electron.d.ts": "3f020561f8cd30e0fb51b82686fbb3b2a81a92990e9dd009234f19fcac48a2ce",
55
- "ffmpeg-v18.0.0-darwin-arm64.zip": "56d1cd1b3b2bc526f721ab1c095aeba12633cdaf3334689ce9b0c1bc387ff26c",
56
- "ffmpeg-v18.0.0-darwin-x64.zip": "0f70e10e3dabdcc1ef618b79398e1707dfabbd08710c1aacb17306ab227f8d77",
57
- "ffmpeg-v18.0.0-linux-arm64.zip": "9d80371fc2a146f6671aeb70dea36638400569fd130f2773a2f79b83b3e2c127",
58
- "ffmpeg-v18.0.0-linux-armv7l.zip": "60cf19bf219cb7ccf190f86e1bc6e8cc0ed0d7e9889faffc0138f443aaf17baf",
59
- "ffmpeg-v18.0.0-linux-ia32.zip": "af80bceef443bf01bced73eea3e8f700cca1f20560c97a0b588b49577d0a9141",
60
- "ffmpeg-v18.0.0-linux-x64.zip": "1d7c771bdfd727b7707cf7635c8b0fad66c89d03610b9bac793429ae3ddb458c",
61
- "ffmpeg-v18.0.0-mas-arm64.zip": "c87b5e3b0b6b14b37ca3ec7407915d0b545041321778c4097a114b54ea046f70",
62
- "ffmpeg-v18.0.0-mas-x64.zip": "835ca1417cf4aec42cb2d20ff8ade23230de6983b14da547f53538fd1501dc77",
63
- "ffmpeg-v18.0.0-win32-arm64.zip": "5b034a0518f6c3cfea9919a4a23bb4def6cda5480e91da933bde05488c7606a9",
64
- "ffmpeg-v18.0.0-win32-ia32.zip": "e43bf25ed740356bc5445c7e3dcaf799c5c9e19c5016dfd7c9387cf634cb69ee",
65
- "ffmpeg-v18.0.0-win32-x64.zip": "a5f38ec8ca8faa5caf4bf814d67753ebd05419bac5973de1d7536b52563744e7",
66
- "hunspell_dictionaries.zip": "b929a2a1ec4a97090d4702a25bc410af61e0397a79d48520fdefcde59e04b5fd",
67
- "libcxx-objects-v18.0.0-linux-arm64.zip": "a03aae7da9ff589adf53d0a2e5c3c09b67bd246a24a37c246c8655086d3a290c",
68
- "libcxx-objects-v18.0.0-linux-armv7l.zip": "a3c9b43465eaf8e59d215ac47e295d3f39e44991d26beb058eb88551fa66124a",
69
- "libcxx-objects-v18.0.0-linux-ia32.zip": "65b585c5a8404d8da798c588c0da3a45e36cd9ccbd07b66e8f066eb5e644404e",
70
- "libcxx-objects-v18.0.0-linux-x64.zip": "ef7d963f76aca1e67ed66e458690dfe13f05b62d7d949472e012b12718d41f33",
71
- "libcxx_headers.zip": "91dd32ae92c1bacc60afed5c88640c77593155dfd5c101f1ddee7952d69b230b",
72
- "libcxxabi_headers.zip": "1aed7773f3639ff84c8a608ceca94296756f0d8edf21434dd77ea57b213f7cb3",
73
- "mksnapshot-v18.0.0-darwin-arm64.zip": "c3bae249a2cddcef7a2133174b3f3eb4db0af543e2e23ec939ba84c5a44620dd",
74
- "mksnapshot-v18.0.0-darwin-x64.zip": "0f484e4ed86be139a73b8af974fe709d89c0e65cb0a12a797d8449f90d309fb4",
75
- "mksnapshot-v18.0.0-linux-arm64-x64.zip": "3d66b875655c3ffc9ee5320c3b8310acf8022116772b7d5a16fcec2da05bee91",
76
- "mksnapshot-v18.0.0-linux-armv7l-x64.zip": "baa7b425f53271f7cf147dd64d87f9cf0b62331a779fd81d663d990192d28d40",
77
- "mksnapshot-v18.0.0-linux-ia32.zip": "8747d1226dcb1ffea466682810d232c1bd1a9776fdc727d098412fe85c3ad022",
78
- "mksnapshot-v18.0.0-linux-x64.zip": "6114d7b0736d0fd71827153d99f7ecd3bdc4d0dbd0e6c8381189ec96ac8a8465",
79
- "mksnapshot-v18.0.0-mas-arm64.zip": "63a5d954e707bf391a59e87d7dcdb38a0e6c091f26089fc7da5eeb43f2a44b7c",
80
- "mksnapshot-v18.0.0-mas-x64.zip": "e891ef4bcf60dc2472b78afd0a2d4d8c3c2a75237514512507ce271c42e9ecd3",
81
- "mksnapshot-v18.0.0-win32-arm64-x64.zip": "25403f84f103522c9aff5151aef34b65a390b6c58a9740d9f3d95c2c0ad2aab5",
82
- "mksnapshot-v18.0.0-win32-ia32.zip": "ef3d952283d8656988b6441bcae8c3672b18958ef19bcb76ba38512632730921",
83
- "mksnapshot-v18.0.0-win32-x64.zip": "b0d6bc1c8360156e826ff866cc5167e6b93bafca6d93b88163809e9502e2903e"
2
+ "chromedriver-v19.0.0-alpha.1-darwin-arm64.zip": "4df6ab35fc7709a3b97fa9ea42e7deff445ded578316137a28901516f021ae46",
3
+ "chromedriver-v19.0.0-alpha.1-darwin-x64.zip": "bcd353f289ac8b7799d3c71191b6880fdcab97fd18965474da099da1cfb33d4d",
4
+ "chromedriver-v19.0.0-alpha.1-linux-arm64.zip": "bc4e51bc35ca17870b543757204a5c0f6531b441e41fe72d0d2c8baeacd15ab6",
5
+ "chromedriver-v19.0.0-alpha.1-linux-armv7l.zip": "8c6c895515079ee01b933de686a94d1bc994f1509f54d06b5e299b7afc4a8ebd",
6
+ "chromedriver-v19.0.0-alpha.1-linux-ia32.zip": "00d69cf86e07910d30efdecf1666e3576eaf13bf5f41675ab2ce16f65ab4134d",
7
+ "chromedriver-v19.0.0-alpha.1-linux-x64.zip": "b31da51b2a494e08d05413fe6b4d4cce80b0ddb0167e0caeaf12d4028ed6b56b",
8
+ "chromedriver-v19.0.0-alpha.1-mas-arm64.zip": "7e6a67cbddda9b611c72d771d45955cef15f9aeb36abc48f00d35e6918261611",
9
+ "chromedriver-v19.0.0-alpha.1-mas-x64.zip": "9e27edaa4b646cd473251435b0f90ec2cd88c6dde6340296ed83c75330c60567",
10
+ "chromedriver-v19.0.0-alpha.1-win32-arm64.zip": "a915bb706590dde3cafce66b191bf41d4ed6a19209bb57524b240cee14a0129b",
11
+ "chromedriver-v19.0.0-alpha.1-win32-ia32.zip": "3545d7e23ba220f80fb5370492ed66120a2d6edab8bae7886a2cb8ffff7444f9",
12
+ "chromedriver-v19.0.0-alpha.1-win32-x64.zip": "d2a43a875e7fd32cef6356edb0d3884247f7195881debbbe307afa52761888b8",
13
+ "electron-api.json": "0b3b191e05e8e0c1e38a21174b82a595bf7c1c5eb0595a5ee9badd67522b45fe",
14
+ "electron-v19.0.0-alpha.1-darwin-arm64-dsym-snapshot.zip": "b1cc9c1ecc07a199d24093f03f0ea635ebbf1e0497efe10b85922df570b41f81",
15
+ "electron-v19.0.0-alpha.1-darwin-arm64-dsym.zip": "c99d62af479b21d2ef096e6fb42776a158fc8f29ab0125df40d6284bd4488d5c",
16
+ "electron-v19.0.0-alpha.1-darwin-arm64-symbols.zip": "5126429ff3a6577af88cf21662f48e5e46fba15762fa0d58d851f7d17b97a145",
17
+ "electron-v19.0.0-alpha.1-darwin-arm64.zip": "fa7d81c2c06889527588260a8dda203c663519a54ce1dd4701f322bd9c4bfab3",
18
+ "electron-v19.0.0-alpha.1-darwin-x64-dsym-snapshot.zip": "5ec4ffbf520a8205cf20cb0f704e613ce0fd770793e1d73c5c93e84ad03e1d4d",
19
+ "electron-v19.0.0-alpha.1-darwin-x64-dsym.zip": "93b60b9a0af33fd839a9c2e875c11f85c3c678839df24828b5295f7740a1e5cf",
20
+ "electron-v19.0.0-alpha.1-darwin-x64-symbols.zip": "e62c4b9864428c2b38b086a8f8f5be67ce4ce3d5bb2d764b4c64039501b144f3",
21
+ "electron-v19.0.0-alpha.1-darwin-x64.zip": "ea864d2ad14a8e095d8bf092d5506e8cb24bca319a3072f01b613924d57dfd0a",
22
+ "electron-v19.0.0-alpha.1-linux-arm64-debug.zip": "adcdcf414f19da5389ad4958f3458c1c7c89d635470984bfbbc78d4f757ac5ce",
23
+ "electron-v19.0.0-alpha.1-linux-arm64-symbols.zip": "b86586d9e8cd7c7fe3bc08615a5ace4bb3b15315d94651bbb884a2aec3bbd518",
24
+ "electron-v19.0.0-alpha.1-linux-arm64.zip": "7182b153d777e667b57de0171e5e12e32f870d7e9247634cbebb9118049a28c0",
25
+ "electron-v19.0.0-alpha.1-linux-armv7l-debug.zip": "adcdcf414f19da5389ad4958f3458c1c7c89d635470984bfbbc78d4f757ac5ce",
26
+ "electron-v19.0.0-alpha.1-linux-armv7l-symbols.zip": "16366eef4326e09874fbceee20c23f913d7cb08bb42716e7e6b319a2f93495a0",
27
+ "electron-v19.0.0-alpha.1-linux-armv7l.zip": "2d6845c5ed979d03d88ee11d6acfda6ea74f8fffd17e915544a031cb8c812f6f",
28
+ "electron-v19.0.0-alpha.1-linux-ia32-debug.zip": "adcdcf414f19da5389ad4958f3458c1c7c89d635470984bfbbc78d4f757ac5ce",
29
+ "electron-v19.0.0-alpha.1-linux-ia32-symbols.zip": "b3784e88bd1a82eaebfe4d7a670cba61ffbd71118c90185ffd433164a5bdeba8",
30
+ "electron-v19.0.0-alpha.1-linux-ia32.zip": "70c94a09bdc5dbfb560164caaadcdc451fb6b4f3aaf9583495b27e1544a8cb8c",
31
+ "electron-v19.0.0-alpha.1-linux-x64-debug.zip": "9a995e590f4178891e0f69f3f9499483d93600988ca9c697e6c66fd5b9640bb0",
32
+ "electron-v19.0.0-alpha.1-linux-x64-symbols.zip": "c293d5faa40979d29c36c7b690bf014397a921f12321a4d7011c8c10f40e37a8",
33
+ "electron-v19.0.0-alpha.1-linux-x64.zip": "c6b6b6a0f567f7c2052fee5daaa69ac0304c1e9919f9a0955d406a66a98ad34d",
34
+ "electron-v19.0.0-alpha.1-mas-arm64-dsym-snapshot.zip": "b1cc9c1ecc07a199d24093f03f0ea635ebbf1e0497efe10b85922df570b41f81",
35
+ "electron-v19.0.0-alpha.1-mas-arm64-dsym.zip": "25e571f0f649974ab1d75c93b98732d0751a3640561706b53c21c7c97ef10e70",
36
+ "electron-v19.0.0-alpha.1-mas-arm64-symbols.zip": "ce8fc13b8de80b5021b3bd4d256e8ac3c03def6b1e34e1ed49feb72f5fc0ec18",
37
+ "electron-v19.0.0-alpha.1-mas-arm64.zip": "51a1cab697561486e0911b4c5563c30a8ea5b51c4bde4b5d6356d1a8eb6d69a4",
38
+ "electron-v19.0.0-alpha.1-mas-x64-dsym-snapshot.zip": "a6d5351cde90df9f6cafa55f7e5006c6085f08b7f23309b2417b9c1610b4afa4",
39
+ "electron-v19.0.0-alpha.1-mas-x64-dsym.zip": "3675aa4da16b46400e5cbc45d608afa919741f9d21c10908a157e0227f4b21b7",
40
+ "electron-v19.0.0-alpha.1-mas-x64-symbols.zip": "ade956547258fda3978b52964ba410a16ab9c756a410974ff2675e0747d7c2cd",
41
+ "electron-v19.0.0-alpha.1-mas-x64.zip": "b341cf0ffce3e20861a19153827dbac6ef38467f90a2528e42e51062e38388f4",
42
+ "electron-v19.0.0-alpha.1-win32-arm64-pdb.zip": "b76c66f4fa4a22f1a31f54f522061c8d10eeaf25730627dd67cae5363926b27e",
43
+ "electron-v19.0.0-alpha.1-win32-arm64-symbols.zip": "9f9be403df661492d76ee674272829e3c1e36b48bf0f5f6988236246d82b1acb",
44
+ "electron-v19.0.0-alpha.1-win32-arm64-toolchain-profile.zip": "834c0069d539f7463da9a346aabc18033904aaba4672fd0e7cdcfae3bb679ed4",
45
+ "electron-v19.0.0-alpha.1-win32-arm64.zip": "5ac4c08affe76514b322a5bc5b1b6aa5b2a135462f8ad294124b47f1c08d9f26",
46
+ "electron-v19.0.0-alpha.1-win32-ia32-pdb.zip": "ef65161de1d53958a33d4cb41bd258d1cf994e4360e4423c134871fe73ffd961",
47
+ "electron-v19.0.0-alpha.1-win32-ia32-symbols.zip": "a4d82996d0c35078ae62192c90931bda72343dc65f9c50d4f9f60e8fc43de5e2",
48
+ "electron-v19.0.0-alpha.1-win32-ia32-toolchain-profile.zip": "834c0069d539f7463da9a346aabc18033904aaba4672fd0e7cdcfae3bb679ed4",
49
+ "electron-v19.0.0-alpha.1-win32-ia32.zip": "ba219294bd792fe6d54a641c086296e94795b157c25542ec5aa2f3a0690a7102",
50
+ "electron-v19.0.0-alpha.1-win32-x64-pdb.zip": "67db71b967cac977f220525ad93b553039a4dbe47d8f8aec8d4bce7aab1a61a4",
51
+ "electron-v19.0.0-alpha.1-win32-x64-symbols.zip": "6b259e05b47d6bd01c02dd3ea25b31922aaaa3a10f2184bffb0cc67b14693e5e",
52
+ "electron-v19.0.0-alpha.1-win32-x64-toolchain-profile.zip": "834c0069d539f7463da9a346aabc18033904aaba4672fd0e7cdcfae3bb679ed4",
53
+ "electron-v19.0.0-alpha.1-win32-x64.zip": "b17b4ea86655a2d31110e30d71cc8e4503941510cbc89e4fc0ddd4dc97f68ab1",
54
+ "electron.d.ts": "30fe2612d333dc40b46b59d96362543bd120eb144f2fc6b2ae463808439a793a",
55
+ "ffmpeg-v19.0.0-alpha.1-darwin-arm64.zip": "4f419cd1485a10d53522a539566b33a3887ab9f71771a17b3c28525390107dcf",
56
+ "ffmpeg-v19.0.0-alpha.1-darwin-x64.zip": "7ee9aab5ada6e96add817b9b56df4198170881edacc3e865c6daeca756841ad9",
57
+ "ffmpeg-v19.0.0-alpha.1-linux-arm64.zip": "0045c09548a7e388f1e4d7b6f383dae85c97f53800b39b641a562667efbbbd1e",
58
+ "ffmpeg-v19.0.0-alpha.1-linux-armv7l.zip": "210769a2a470bd82be3eeaec385fb01070aa32b90cfa4af0cd3132a76de70c31",
59
+ "ffmpeg-v19.0.0-alpha.1-linux-ia32.zip": "6aa1f1e6a675f38e9fb587e53c2a60f46c6e92bfef61fe2d2f95e8f1a57836ad",
60
+ "ffmpeg-v19.0.0-alpha.1-linux-x64.zip": "1496f23e617392b00fb30ecf7518996cdc88acadf5a3de02840a6da532d45fd4",
61
+ "ffmpeg-v19.0.0-alpha.1-mas-arm64.zip": "3ccb72bf1eee5d88e25c06f3e0a2846479323f59aacf12765a6b2f4b79d02171",
62
+ "ffmpeg-v19.0.0-alpha.1-mas-x64.zip": "d16ad5c58035054efe4a5c7cefab1eaa11173437079b47753a4c0817c95f601c",
63
+ "ffmpeg-v19.0.0-alpha.1-win32-arm64.zip": "b7eee34cbfb7bfa3b2eaef19f80b624a1b580a6bd2ae0c2928aa82f7d57143a5",
64
+ "ffmpeg-v19.0.0-alpha.1-win32-ia32.zip": "04927449fd83cf7c168de7a5e498599ebadeb41ffb4de550ac50d023fa8e7a8b",
65
+ "ffmpeg-v19.0.0-alpha.1-win32-x64.zip": "3a9a0a1db752c6d93e21d17df8a0a25d47032b7ebbc472b8a6be690b56026560",
66
+ "hunspell_dictionaries.zip": "fc22b61a0d671b56a2e8da585c7cd5c66e12663c6f7675815905946fa8d9bcb6",
67
+ "libcxx-objects-v19.0.0-alpha.1-linux-arm64.zip": "4e010fcba267a4a953cc81b60ca5e29fb9fccc746ebe3b25c691f205825d3aff",
68
+ "libcxx-objects-v19.0.0-alpha.1-linux-armv7l.zip": "c27f25ca66b5551332989fc322d02cc416d193fdfc385de0faad37db6fbf4ce0",
69
+ "libcxx-objects-v19.0.0-alpha.1-linux-ia32.zip": "535cd6c77412e8dd05516cb9508c67b0a1b6d059cee181479b1a448b7d205677",
70
+ "libcxx-objects-v19.0.0-alpha.1-linux-x64.zip": "54cae84183830b43a1972e6527d8424de715fecb87e4aa923c49a09b69ff270e",
71
+ "libcxx_headers.zip": "198d3149141d469f745ee5cc6cff81eeb6a690b1f41f8d721a294ee3c4734113",
72
+ "libcxxabi_headers.zip": "3db14d0e90593e2f09f585751767fae5b6eae5d334863311179db9edae65a8ce",
73
+ "mksnapshot-v19.0.0-alpha.1-darwin-arm64.zip": "b9d7fe54f354b63b3cc0df4a8170ec8456ecb0134a07e4cfa511edb8a7c27f6d",
74
+ "mksnapshot-v19.0.0-alpha.1-darwin-x64.zip": "e75427a6e996e57b79f6ac3a4505d19a32f26d875c88e4aeb90d7761971cdac4",
75
+ "mksnapshot-v19.0.0-alpha.1-linux-arm64-x64.zip": "02432d6752f0b23fb7b3e4530117ddc7cf4958f7807eed58a07911cce2c23471",
76
+ "mksnapshot-v19.0.0-alpha.1-linux-armv7l-x64.zip": "9a9c17247b5a43241c5697977849299b0566074d04bed6156d76e3155ee31d58",
77
+ "mksnapshot-v19.0.0-alpha.1-linux-ia32.zip": "ae79d857077c9aad2a6345c8df79a0b18f505699ced356b414bc84bf2a3ae5cb",
78
+ "mksnapshot-v19.0.0-alpha.1-linux-x64.zip": "40ee010b3286abba513973d22292aa08e3c340931cd93e63d23f750b9ce939e2",
79
+ "mksnapshot-v19.0.0-alpha.1-mas-arm64.zip": "5ba88377e46ac87bced8f41ae987a48ff7cc67dd16e5e21e5fdf1a602a2f13a5",
80
+ "mksnapshot-v19.0.0-alpha.1-mas-x64.zip": "04ae268c374493b5c8eb5e28b807842bc73b012d4d64cc5a2a040d8ffe888ca2",
81
+ "mksnapshot-v19.0.0-alpha.1-win32-arm64-x64.zip": "5fb44bb900d989a47ba39b020cc33d5e390a16ac39585233eb5b013a07aef955",
82
+ "mksnapshot-v19.0.0-alpha.1-win32-ia32.zip": "2a6cce18763721eb856d9e28fe27a53bedf50ffc8e02e0b672f873ff22695607",
83
+ "mksnapshot-v19.0.0-alpha.1-win32-x64.zip": "f480bd62f4ac14e8b5cbb9eeeaeb981b7583c2f5ad526b8467a90ed18d91aa84"
84
84
  }
package/electron.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Type definitions for Electron 18.0.0
1
+ // Type definitions for Electron 19.0.0-alpha.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/electron-typescript-definitions
@@ -8547,7 +8547,7 @@ declare namespace Electron {
8547
8547
  *
8548
8548
  * @platform darwin
8549
8549
  */
8550
- setUserDefault(key: string, type: 'string' | 'boolean' | 'integer' | 'float' | 'double' | 'url' | 'array' | 'dictionary', value: string): void;
8550
+ setUserDefault<Type extends keyof UserDefaultTypes>(key: string, type: Type, value: UserDefaultTypes[Type]): void;
8551
8551
  /**
8552
8552
  * The ID of this subscription
8553
8553
  *
@@ -9652,7 +9652,8 @@ declare namespace Electron {
9652
9652
  */
9653
9653
  static getAllWebContents(): WebContents[];
9654
9654
  /**
9655
- * The web contents that is focused in this application, otherwise returns `null`.
9655
+ * | null - The web contents that is focused in this application, otherwise returns
9656
+ * `null`.
9656
9657
  */
9657
9658
  static getFocusedWebContents(): WebContents;
9658
9659
  /**
@@ -10765,9 +10766,6 @@ declare namespace Electron {
10765
10766
  * This event can be used to configure `webPreferences` for the `webContents` of a
10766
10767
  * `<webview>` before it's loaded, and provides the ability to set settings that
10767
10768
  * can't be set via `<webview>` attributes.
10768
- *
10769
- * **Note:** The specified `preload` script option will appear as `preloadURL` (not
10770
- * `preload`) in the `webPreferences` object emitted with this event.
10771
10769
  */
10772
10770
  on(event: 'will-attach-webview', listener: (event: Event,
10773
10771
  /**
@@ -11706,6 +11704,19 @@ declare namespace Electron {
11706
11704
  * specified.
11707
11705
  */
11708
11706
  setIsolatedWorldInfo(worldId: number, info: Info): void;
11707
+ /**
11708
+ * Sets a provider for spell checking in input fields and text areas.
11709
+ *
11710
+ * If you want to use this method you must disable the builtin spellchecker when
11711
+ * you construct the window.
11712
+ *
11713
+ * The `provider` must be an object that has a `spellCheck` method that accepts an
11714
+ * array of individual words for spellchecking. The `spellCheck` function runs
11715
+ * asynchronously and calls the `callback` function with an array of misspelt words
11716
+ * when complete.
11717
+ *
11718
+ * An example of using node-spellchecker as provider:
11719
+ */
11709
11720
  setSpellCheckProvider(language: string, provider: Provider): void;
11710
11721
  /**
11711
11722
  * Sets the maximum and minimum pinch-to-zoom level.
@@ -11825,10 +11836,9 @@ declare namespace Electron {
11825
11836
  reload(): boolean;
11826
11837
  /**
11827
11838
  * Send an asynchronous message to the renderer process via `channel`, along with
11828
- * arguments. Arguments will be serialized with the [Structured Clone
11829
- * Algorithm][SCA], just like [`postMessage`][], so prototype chains will not be
11830
- * included. Sending Functions, Promises, Symbols, WeakMaps, or WeakSets will throw
11831
- * an exception.
11839
+ * arguments. Arguments will be serialized with the Structured Clone Algorithm,
11840
+ * just like `postMessage`, so prototype chains will not be included. Sending
11841
+ * Functions, Promises, Symbols, WeakMaps, or WeakSets will throw an exception.
11832
11842
  *
11833
11843
  * The renderer process can handle the message by listening to `channel` with the
11834
11844
  * `ipcRenderer` module.
@@ -12610,9 +12620,6 @@ declare namespace Electron {
12610
12620
  * When the guest page doesn't have node integration this script will still have
12611
12621
  * access to all Node APIs, but global objects injected by Node will be deleted
12612
12622
  * after this script has finished executing.
12613
- *
12614
- * **Note:** This option will appear as `preloadURL` (not `preload`) in the
12615
- * `webPreferences` specified to the `will-attach-webview` event.
12616
12623
  */
12617
12624
  preload: string;
12618
12625
  /**
@@ -12866,7 +12873,7 @@ declare namespace Electron {
12866
12873
  */
12867
12874
  useContentSize?: boolean;
12868
12875
  /**
12869
- * Show window in the center of the screen.
12876
+ * Show window in the center of the screen. Default is `false`.
12870
12877
  */
12871
12878
  center?: boolean;
12872
12879
  /**
@@ -12936,6 +12943,8 @@ declare namespace Electron {
12936
12943
  simpleFullscreen?: boolean;
12937
12944
  /**
12938
12945
  * Whether to show the window in taskbar. Default is `false`.
12946
+ *
12947
+ * @platform darwin,win32
12939
12948
  */
12940
12949
  skipTaskbar?: boolean;
12941
12950
  /**
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "postinstall": "node install.js"
9
9
  },
10
10
  "dependencies": {
11
- "@electron/get": "^1.13.0",
11
+ "@electron/get": "^1.14.1",
12
12
  "@types/node": "^16.11.26",
13
13
  "extract-zip": "^1.0.3"
14
14
  },
@@ -16,7 +16,7 @@
16
16
  "node": ">= 8.6"
17
17
  },
18
18
  "name": "electron",
19
- "version": "18.0.0",
19
+ "version": "19.0.0-alpha.1",
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",