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 +24 -11
- package/checksums.json +82 -82
- package/electron.d.ts +23 -14
- package/package.json +2 -2
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
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
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
|
-
|
|
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
|
|
96
|
+
## Documentation translations
|
|
86
97
|
|
|
87
|
-
|
|
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
|
|
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
|
|
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-
|
|
3
|
-
"chromedriver-
|
|
4
|
-
"chromedriver-
|
|
5
|
-
"chromedriver-
|
|
6
|
-
"chromedriver-
|
|
7
|
-
"chromedriver-
|
|
8
|
-
"chromedriver-
|
|
9
|
-
"chromedriver-
|
|
10
|
-
"chromedriver-
|
|
11
|
-
"chromedriver-
|
|
12
|
-
"chromedriver-
|
|
13
|
-
"electron-api.json": "
|
|
14
|
-
"electron-
|
|
15
|
-
"electron-
|
|
16
|
-
"electron-
|
|
17
|
-
"electron-
|
|
18
|
-
"electron-
|
|
19
|
-
"electron-
|
|
20
|
-
"electron-
|
|
21
|
-
"electron-
|
|
22
|
-
"electron-
|
|
23
|
-
"electron-
|
|
24
|
-
"electron-
|
|
25
|
-
"electron-
|
|
26
|
-
"electron-
|
|
27
|
-
"electron-
|
|
28
|
-
"electron-
|
|
29
|
-
"electron-
|
|
30
|
-
"electron-
|
|
31
|
-
"electron-
|
|
32
|
-
"electron-
|
|
33
|
-
"electron-
|
|
34
|
-
"electron-
|
|
35
|
-
"electron-
|
|
36
|
-
"electron-
|
|
37
|
-
"electron-
|
|
38
|
-
"electron-
|
|
39
|
-
"electron-
|
|
40
|
-
"electron-
|
|
41
|
-
"electron-
|
|
42
|
-
"electron-
|
|
43
|
-
"electron-
|
|
44
|
-
"electron-
|
|
45
|
-
"electron-
|
|
46
|
-
"electron-
|
|
47
|
-
"electron-
|
|
48
|
-
"electron-
|
|
49
|
-
"electron-
|
|
50
|
-
"electron-
|
|
51
|
-
"electron-
|
|
52
|
-
"electron-
|
|
53
|
-
"electron-
|
|
54
|
-
"electron.d.ts": "
|
|
55
|
-
"ffmpeg-
|
|
56
|
-
"ffmpeg-
|
|
57
|
-
"ffmpeg-
|
|
58
|
-
"ffmpeg-
|
|
59
|
-
"ffmpeg-
|
|
60
|
-
"ffmpeg-
|
|
61
|
-
"ffmpeg-
|
|
62
|
-
"ffmpeg-
|
|
63
|
-
"ffmpeg-
|
|
64
|
-
"ffmpeg-
|
|
65
|
-
"ffmpeg-
|
|
66
|
-
"hunspell_dictionaries.zip": "
|
|
67
|
-
"libcxx-objects-
|
|
68
|
-
"libcxx-objects-
|
|
69
|
-
"libcxx-objects-
|
|
70
|
-
"libcxx-objects-
|
|
71
|
-
"libcxx_headers.zip": "
|
|
72
|
-
"libcxxabi_headers.zip": "
|
|
73
|
-
"mksnapshot-
|
|
74
|
-
"mksnapshot-
|
|
75
|
-
"mksnapshot-
|
|
76
|
-
"mksnapshot-
|
|
77
|
-
"mksnapshot-
|
|
78
|
-
"mksnapshot-
|
|
79
|
-
"mksnapshot-
|
|
80
|
-
"mksnapshot-
|
|
81
|
-
"mksnapshot-
|
|
82
|
-
"mksnapshot-
|
|
83
|
-
"mksnapshot-
|
|
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
|
|
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:
|
|
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
|
|
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
|
|
11829
|
-
*
|
|
11830
|
-
*
|
|
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.
|
|
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": "
|
|
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",
|