electron 18.0.0-beta.4 → 18.0.0
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/checksums.json +81 -81
- package/electron.d.ts +132 -5
- package/package.json +2 -2
package/checksums.json
CHANGED
|
@@ -1,84 +1,84 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-v18.0.0-
|
|
3
|
-
"chromedriver-v18.0.0-
|
|
4
|
-
"chromedriver-v18.0.0-
|
|
5
|
-
"chromedriver-v18.0.0-
|
|
6
|
-
"chromedriver-v18.0.0-
|
|
7
|
-
"chromedriver-v18.0.0-
|
|
8
|
-
"chromedriver-v18.0.0-
|
|
9
|
-
"chromedriver-v18.0.0-
|
|
10
|
-
"chromedriver-v18.0.0-
|
|
11
|
-
"chromedriver-v18.0.0-
|
|
12
|
-
"chromedriver-v18.0.0-
|
|
13
|
-
"electron-api.json": "
|
|
14
|
-
"electron-v18.0.0-
|
|
15
|
-
"electron-v18.0.0-
|
|
16
|
-
"electron-v18.0.0-
|
|
17
|
-
"electron-v18.0.0-
|
|
18
|
-
"electron-v18.0.0-
|
|
19
|
-
"electron-v18.0.0-
|
|
20
|
-
"electron-v18.0.0-
|
|
21
|
-
"electron-v18.0.0-
|
|
22
|
-
"electron-v18.0.0-
|
|
23
|
-
"electron-v18.0.0-
|
|
24
|
-
"electron-v18.0.0-
|
|
25
|
-
"electron-v18.0.0-
|
|
26
|
-
"electron-v18.0.0-
|
|
27
|
-
"electron-v18.0.0-
|
|
28
|
-
"electron-v18.0.0-
|
|
29
|
-
"electron-v18.0.0-
|
|
30
|
-
"electron-v18.0.0-
|
|
31
|
-
"electron-v18.0.0-
|
|
32
|
-
"electron-v18.0.0-
|
|
33
|
-
"electron-v18.0.0-
|
|
34
|
-
"electron-v18.0.0-
|
|
35
|
-
"electron-v18.0.0-
|
|
36
|
-
"electron-v18.0.0-
|
|
37
|
-
"electron-v18.0.0-
|
|
38
|
-
"electron-v18.0.0-
|
|
39
|
-
"electron-v18.0.0-
|
|
40
|
-
"electron-v18.0.0-
|
|
41
|
-
"electron-v18.0.0-
|
|
42
|
-
"electron-v18.0.0-
|
|
43
|
-
"electron-v18.0.0-
|
|
44
|
-
"electron-v18.0.0-
|
|
45
|
-
"electron-v18.0.0-
|
|
46
|
-
"electron-v18.0.0-
|
|
47
|
-
"electron-v18.0.0-
|
|
48
|
-
"electron-v18.0.0-
|
|
49
|
-
"electron-v18.0.0-
|
|
50
|
-
"electron-v18.0.0-
|
|
51
|
-
"electron-v18.0.0-
|
|
52
|
-
"electron-v18.0.0-
|
|
53
|
-
"electron-v18.0.0-
|
|
54
|
-
"electron.d.ts": "
|
|
55
|
-
"ffmpeg-v18.0.0-
|
|
56
|
-
"ffmpeg-v18.0.0-
|
|
57
|
-
"ffmpeg-v18.0.0-
|
|
58
|
-
"ffmpeg-v18.0.0-
|
|
59
|
-
"ffmpeg-v18.0.0-
|
|
60
|
-
"ffmpeg-v18.0.0-
|
|
61
|
-
"ffmpeg-v18.0.0-
|
|
62
|
-
"ffmpeg-v18.0.0-
|
|
63
|
-
"ffmpeg-v18.0.0-
|
|
64
|
-
"ffmpeg-v18.0.0-
|
|
65
|
-
"ffmpeg-v18.0.0-
|
|
66
|
-
"hunspell_dictionaries.zip": "
|
|
67
|
-
"libcxx-objects-v18.0.0-
|
|
68
|
-
"libcxx-objects-v18.0.0-
|
|
69
|
-
"libcxx-objects-v18.0.0-
|
|
70
|
-
"libcxx-objects-v18.0.0-
|
|
71
|
-
"libcxx_headers.zip": "
|
|
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
72
|
"libcxxabi_headers.zip": "1aed7773f3639ff84c8a608ceca94296756f0d8edf21434dd77ea57b213f7cb3",
|
|
73
|
-
"mksnapshot-v18.0.0-
|
|
74
|
-
"mksnapshot-v18.0.0-
|
|
75
|
-
"mksnapshot-v18.0.0-
|
|
76
|
-
"mksnapshot-v18.0.0-
|
|
77
|
-
"mksnapshot-v18.0.0-
|
|
78
|
-
"mksnapshot-v18.0.0-
|
|
79
|
-
"mksnapshot-v18.0.0-
|
|
80
|
-
"mksnapshot-v18.0.0-
|
|
81
|
-
"mksnapshot-v18.0.0-
|
|
82
|
-
"mksnapshot-v18.0.0-
|
|
83
|
-
"mksnapshot-v18.0.0-
|
|
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"
|
|
84
84
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 18.0.0
|
|
1
|
+
// Type definitions for Electron 18.0.0
|
|
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
|
|
@@ -1673,6 +1673,36 @@ declare namespace Electron {
|
|
|
1673
1673
|
*/
|
|
1674
1674
|
getBounds(): Rectangle;
|
|
1675
1675
|
setAutoResize(options: AutoResizeOptions): void;
|
|
1676
|
+
/**
|
|
1677
|
+
* Examples of valid `color` values:
|
|
1678
|
+
*
|
|
1679
|
+
* * Hex
|
|
1680
|
+
* * #fff (RGB)
|
|
1681
|
+
* * #ffff (ARGB)
|
|
1682
|
+
* * #ffffff (RRGGBB)
|
|
1683
|
+
* * #ffffffff (AARRGGBB)
|
|
1684
|
+
* * RGB
|
|
1685
|
+
* * rgb(([\d]+),\s*([\d]+),\s*([\d]+))
|
|
1686
|
+
* * e.g. rgb(255, 255, 255)
|
|
1687
|
+
* * RGBA
|
|
1688
|
+
* * rgba(([\d]+),\s*([\d]+),\s*([\d]+),\s*([\d.]+))
|
|
1689
|
+
* * e.g. rgba(255, 255, 255, 1.0)
|
|
1690
|
+
* * HSL
|
|
1691
|
+
* * hsl((-?[\d.]+),\s*([\d.]+)%,\s*([\d.]+)%)
|
|
1692
|
+
* * e.g. hsl(200, 20%, 50%)
|
|
1693
|
+
* * HSLA
|
|
1694
|
+
* * hsla((-?[\d.]+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+))
|
|
1695
|
+
* * e.g. hsla(200, 20%, 50%, 0.5)
|
|
1696
|
+
* * Color name
|
|
1697
|
+
* * Options are listed in SkParseColor.cpp
|
|
1698
|
+
* * Similar to CSS Color Module Level 3 keywords, but case-sensitive.
|
|
1699
|
+
* * e.g. `blueviolet` or `red`
|
|
1700
|
+
*
|
|
1701
|
+
* **Note:** Hex format with alpha takes `AARRGGBB` or `ARGB`, _not_ `RRGGBBA` or
|
|
1702
|
+
* `RGA`.
|
|
1703
|
+
*
|
|
1704
|
+
* @experimental
|
|
1705
|
+
*/
|
|
1676
1706
|
setBackgroundColor(color: string): void;
|
|
1677
1707
|
/**
|
|
1678
1708
|
* Resizes and moves the view to the supplied bounds relative to the window.
|
|
@@ -2205,7 +2235,12 @@ declare namespace Electron {
|
|
|
2205
2235
|
focus(): void;
|
|
2206
2236
|
focusOnWebView(): void;
|
|
2207
2237
|
/**
|
|
2208
|
-
* Gets the background color of the window
|
|
2238
|
+
* Gets the background color of the window in Hex (`#RRGGBB`) format.
|
|
2239
|
+
*
|
|
2240
|
+
* See Setting `backgroundColor`.
|
|
2241
|
+
*
|
|
2242
|
+
* **Note:** The alpha value is _not_ returned alongside the red, green, and blue
|
|
2243
|
+
* values.
|
|
2209
2244
|
*/
|
|
2210
2245
|
getBackgroundColor(): string;
|
|
2211
2246
|
/**
|
|
@@ -2606,6 +2641,30 @@ declare namespace Electron {
|
|
|
2606
2641
|
*/
|
|
2607
2642
|
setAutoHideMenuBar(hide: boolean): void;
|
|
2608
2643
|
/**
|
|
2644
|
+
* Examples of valid `backgroundColor` values:
|
|
2645
|
+
*
|
|
2646
|
+
* * Hex
|
|
2647
|
+
* * #fff (shorthand RGB)
|
|
2648
|
+
* * #ffff (shorthand ARGB)
|
|
2649
|
+
* * #ffffff (RGB)
|
|
2650
|
+
* * #ffffffff (ARGB)
|
|
2651
|
+
* * RGB
|
|
2652
|
+
* * rgb(([\d]+),\s*([\d]+),\s*([\d]+))
|
|
2653
|
+
* * e.g. rgb(255, 255, 255)
|
|
2654
|
+
* * RGBA
|
|
2655
|
+
* * rgba(([\d]+),\s*([\d]+),\s*([\d]+),\s*([\d.]+))
|
|
2656
|
+
* * e.g. rgba(255, 255, 255, 1.0)
|
|
2657
|
+
* * HSL
|
|
2658
|
+
* * hsl((-?[\d.]+),\s*([\d.]+)%,\s*([\d.]+)%)
|
|
2659
|
+
* * e.g. hsl(200, 20%, 50%)
|
|
2660
|
+
* * HSLA
|
|
2661
|
+
* * hsla((-?[\d.]+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+))
|
|
2662
|
+
* * e.g. hsla(200, 20%, 50%, 0.5)
|
|
2663
|
+
* * Color name
|
|
2664
|
+
* * Options are listed in SkParseColor.cpp
|
|
2665
|
+
* * Similar to CSS Color Module Level 3 keywords, but case-sensitive.
|
|
2666
|
+
* * e.g. `blueviolet` or `red`
|
|
2667
|
+
*
|
|
2609
2668
|
* Sets the background color of the window. See Setting `backgroundColor`.
|
|
2610
2669
|
*/
|
|
2611
2670
|
setBackgroundColor(backgroundColor: string): void;
|
|
@@ -2874,6 +2933,13 @@ declare namespace Electron {
|
|
|
2874
2933
|
* Changes the title of native window to `title`.
|
|
2875
2934
|
*/
|
|
2876
2935
|
setTitle(title: string): void;
|
|
2936
|
+
/**
|
|
2937
|
+
* On a Window with Window Controls Overlay already enabled, this method updates
|
|
2938
|
+
* the style of the title bar overlay.
|
|
2939
|
+
*
|
|
2940
|
+
* @platform win32
|
|
2941
|
+
*/
|
|
2942
|
+
setTitleBarOverlay(options: TitleBarOverlayOptions): void;
|
|
2877
2943
|
/**
|
|
2878
2944
|
* Raises `browserView` above other `BrowserView`s attached to `win`. Throws an
|
|
2879
2945
|
* error if `browserView` is not attached to `win`.
|
|
@@ -5908,6 +5974,14 @@ declare namespace Electron {
|
|
|
5908
5974
|
once(event: 'updated', listener: Function): this;
|
|
5909
5975
|
addListener(event: 'updated', listener: Function): this;
|
|
5910
5976
|
removeListener(event: 'updated', listener: Function): this;
|
|
5977
|
+
/**
|
|
5978
|
+
* A `boolean` indicating whether Chromium is in forced colors mode, controlled by
|
|
5979
|
+
* system accessibility settings. Currently, Windows high contrast is the only
|
|
5980
|
+
* system setting that triggers forced colors mode.
|
|
5981
|
+
*
|
|
5982
|
+
* @platform win32
|
|
5983
|
+
*/
|
|
5984
|
+
readonly inForcedColorsMode: boolean;
|
|
5911
5985
|
/**
|
|
5912
5986
|
* A `boolean` for if the OS / Chromium currently has a dark mode enabled or is
|
|
5913
5987
|
* being instructed to show a dark-style UI. If you want to modify this value you
|
|
@@ -7602,6 +7676,10 @@ declare namespace Electron {
|
|
|
7602
7676
|
* Clears the session’s HTTP cache.
|
|
7603
7677
|
*/
|
|
7604
7678
|
clearCache(): Promise<void>;
|
|
7679
|
+
/**
|
|
7680
|
+
* resolves when the code cache clear operation is complete.
|
|
7681
|
+
*/
|
|
7682
|
+
clearCodeCaches(options: ClearCodeCachesOptions): Promise<void>;
|
|
7605
7683
|
/**
|
|
7606
7684
|
* Resolves when the operation is complete.
|
|
7607
7685
|
*
|
|
@@ -7773,6 +7851,16 @@ declare namespace Electron {
|
|
|
7773
7851
|
* > **NOTE:** The result of this procedure is cached by the network service.
|
|
7774
7852
|
*/
|
|
7775
7853
|
setCertificateVerifyProc(proc: ((request: Request, callback: (verificationResult: number) => void) => void) | (null)): void;
|
|
7854
|
+
/**
|
|
7855
|
+
* Sets the directory to store the generated JS code cache for this session. The
|
|
7856
|
+
* directory is not required to be created by the user before this call, the
|
|
7857
|
+
* runtime will create if it does not exist otherwise will use the existing
|
|
7858
|
+
* directory. If directory cannot be created, then code cache will not be used and
|
|
7859
|
+
* all operations related to code cache will fail silently inside the runtime. By
|
|
7860
|
+
* default, the directory will be `Code Cache` under the respective user data
|
|
7861
|
+
* folder.
|
|
7862
|
+
*/
|
|
7863
|
+
setCodeCachePath(path: string): void;
|
|
7776
7864
|
/**
|
|
7777
7865
|
* Sets the handler which can be used to respond to device permission checks for
|
|
7778
7866
|
* the `session`. Returning `true` will allow the device to be permitted and
|
|
@@ -12908,9 +12996,10 @@ declare namespace Electron {
|
|
|
12908
12996
|
*/
|
|
12909
12997
|
enableLargerThanScreen?: boolean;
|
|
12910
12998
|
/**
|
|
12911
|
-
*
|
|
12912
|
-
*
|
|
12913
|
-
* `true
|
|
12999
|
+
* The window's background color in Hex, RGB, RGBA, HSL, HSLA or named CSS color
|
|
13000
|
+
* format. Alpha in #AARRGGBB format is supported if `transparent` is set to
|
|
13001
|
+
* `true`. Default is `#FFF` (white). See win.setBackgroundColor for more
|
|
13002
|
+
* information.
|
|
12914
13003
|
*/
|
|
12915
13004
|
backgroundColor?: string;
|
|
12916
13005
|
/**
|
|
@@ -13019,6 +13108,15 @@ declare namespace Electron {
|
|
|
13019
13108
|
message: string;
|
|
13020
13109
|
}
|
|
13021
13110
|
|
|
13111
|
+
interface ClearCodeCachesOptions {
|
|
13112
|
+
/**
|
|
13113
|
+
* An array of url corresponding to the resource whose generated code cache needs
|
|
13114
|
+
* to be removed. If the list is empty then all entries in the cache directory will
|
|
13115
|
+
* be removed.
|
|
13116
|
+
*/
|
|
13117
|
+
urls?: string[];
|
|
13118
|
+
}
|
|
13119
|
+
|
|
13022
13120
|
interface ClearStorageDataOptions {
|
|
13023
13121
|
/**
|
|
13024
13122
|
* Should follow `window.location.origin`’s representation `scheme://host:port`.
|
|
@@ -15294,6 +15392,27 @@ declare namespace Electron {
|
|
|
15294
15392
|
swapFree: number;
|
|
15295
15393
|
}
|
|
15296
15394
|
|
|
15395
|
+
interface TitleBarOverlayOptions {
|
|
15396
|
+
/**
|
|
15397
|
+
* The CSS color of the Window Controls Overlay when enabled.
|
|
15398
|
+
*
|
|
15399
|
+
* @platform win32
|
|
15400
|
+
*/
|
|
15401
|
+
color?: string;
|
|
15402
|
+
/**
|
|
15403
|
+
* The CSS color of the symbols on the Window Controls Overlay when enabled.
|
|
15404
|
+
*
|
|
15405
|
+
* @platform win32
|
|
15406
|
+
*/
|
|
15407
|
+
symbolColor?: string;
|
|
15408
|
+
/**
|
|
15409
|
+
* The height of the title bar and Window Controls Overlay in pixels.
|
|
15410
|
+
*
|
|
15411
|
+
* @platform win32
|
|
15412
|
+
*/
|
|
15413
|
+
height?: number;
|
|
15414
|
+
}
|
|
15415
|
+
|
|
15297
15416
|
interface TitleOptions {
|
|
15298
15417
|
/**
|
|
15299
15418
|
* The font family variant to display, can be `monospaced` or `monospacedDigit`.
|
|
@@ -16331,6 +16450,7 @@ declare namespace Electron {
|
|
|
16331
16450
|
type BrowserViewConstructorOptions = Electron.BrowserViewConstructorOptions;
|
|
16332
16451
|
type BrowserWindowConstructorOptions = Electron.BrowserWindowConstructorOptions;
|
|
16333
16452
|
type CertificateTrustDialogOptions = Electron.CertificateTrustDialogOptions;
|
|
16453
|
+
type ClearCodeCachesOptions = Electron.ClearCodeCachesOptions;
|
|
16334
16454
|
type ClearStorageDataOptions = Electron.ClearStorageDataOptions;
|
|
16335
16455
|
type ClientRequestConstructorOptions = Electron.ClientRequestConstructorOptions;
|
|
16336
16456
|
type Config = Electron.Config;
|
|
@@ -16439,6 +16559,7 @@ declare namespace Electron {
|
|
|
16439
16559
|
type SSLConfigConfig = Electron.SSLConfigConfig;
|
|
16440
16560
|
type StartLoggingOptions = Electron.StartLoggingOptions;
|
|
16441
16561
|
type SystemMemoryInfo = Electron.SystemMemoryInfo;
|
|
16562
|
+
type TitleBarOverlayOptions = Electron.TitleBarOverlayOptions;
|
|
16442
16563
|
type TitleOptions = Electron.TitleOptions;
|
|
16443
16564
|
type ToBitmapOptions = Electron.ToBitmapOptions;
|
|
16444
16565
|
type ToDataURLOptions = Electron.ToDataURLOptions;
|
|
@@ -16623,6 +16744,7 @@ declare namespace Electron {
|
|
|
16623
16744
|
type BrowserViewConstructorOptions = Electron.BrowserViewConstructorOptions;
|
|
16624
16745
|
type BrowserWindowConstructorOptions = Electron.BrowserWindowConstructorOptions;
|
|
16625
16746
|
type CertificateTrustDialogOptions = Electron.CertificateTrustDialogOptions;
|
|
16747
|
+
type ClearCodeCachesOptions = Electron.ClearCodeCachesOptions;
|
|
16626
16748
|
type ClearStorageDataOptions = Electron.ClearStorageDataOptions;
|
|
16627
16749
|
type ClientRequestConstructorOptions = Electron.ClientRequestConstructorOptions;
|
|
16628
16750
|
type Config = Electron.Config;
|
|
@@ -16731,6 +16853,7 @@ declare namespace Electron {
|
|
|
16731
16853
|
type SSLConfigConfig = Electron.SSLConfigConfig;
|
|
16732
16854
|
type StartLoggingOptions = Electron.StartLoggingOptions;
|
|
16733
16855
|
type SystemMemoryInfo = Electron.SystemMemoryInfo;
|
|
16856
|
+
type TitleBarOverlayOptions = Electron.TitleBarOverlayOptions;
|
|
16734
16857
|
type TitleOptions = Electron.TitleOptions;
|
|
16735
16858
|
type ToBitmapOptions = Electron.ToBitmapOptions;
|
|
16736
16859
|
type ToDataURLOptions = Electron.ToDataURLOptions;
|
|
@@ -16852,6 +16975,7 @@ declare namespace Electron {
|
|
|
16852
16975
|
type BrowserViewConstructorOptions = Electron.BrowserViewConstructorOptions;
|
|
16853
16976
|
type BrowserWindowConstructorOptions = Electron.BrowserWindowConstructorOptions;
|
|
16854
16977
|
type CertificateTrustDialogOptions = Electron.CertificateTrustDialogOptions;
|
|
16978
|
+
type ClearCodeCachesOptions = Electron.ClearCodeCachesOptions;
|
|
16855
16979
|
type ClearStorageDataOptions = Electron.ClearStorageDataOptions;
|
|
16856
16980
|
type ClientRequestConstructorOptions = Electron.ClientRequestConstructorOptions;
|
|
16857
16981
|
type Config = Electron.Config;
|
|
@@ -16960,6 +17084,7 @@ declare namespace Electron {
|
|
|
16960
17084
|
type SSLConfigConfig = Electron.SSLConfigConfig;
|
|
16961
17085
|
type StartLoggingOptions = Electron.StartLoggingOptions;
|
|
16962
17086
|
type SystemMemoryInfo = Electron.SystemMemoryInfo;
|
|
17087
|
+
type TitleBarOverlayOptions = Electron.TitleBarOverlayOptions;
|
|
16963
17088
|
type TitleOptions = Electron.TitleOptions;
|
|
16964
17089
|
type ToBitmapOptions = Electron.ToBitmapOptions;
|
|
16965
17090
|
type ToDataURLOptions = Electron.ToDataURLOptions;
|
|
@@ -17158,6 +17283,7 @@ declare namespace Electron {
|
|
|
17158
17283
|
type BrowserViewConstructorOptions = Electron.BrowserViewConstructorOptions;
|
|
17159
17284
|
type BrowserWindowConstructorOptions = Electron.BrowserWindowConstructorOptions;
|
|
17160
17285
|
type CertificateTrustDialogOptions = Electron.CertificateTrustDialogOptions;
|
|
17286
|
+
type ClearCodeCachesOptions = Electron.ClearCodeCachesOptions;
|
|
17161
17287
|
type ClearStorageDataOptions = Electron.ClearStorageDataOptions;
|
|
17162
17288
|
type ClientRequestConstructorOptions = Electron.ClientRequestConstructorOptions;
|
|
17163
17289
|
type Config = Electron.Config;
|
|
@@ -17266,6 +17392,7 @@ declare namespace Electron {
|
|
|
17266
17392
|
type SSLConfigConfig = Electron.SSLConfigConfig;
|
|
17267
17393
|
type StartLoggingOptions = Electron.StartLoggingOptions;
|
|
17268
17394
|
type SystemMemoryInfo = Electron.SystemMemoryInfo;
|
|
17395
|
+
type TitleBarOverlayOptions = Electron.TitleBarOverlayOptions;
|
|
17269
17396
|
type TitleOptions = Electron.TitleOptions;
|
|
17270
17397
|
type ToBitmapOptions = Electron.ToBitmapOptions;
|
|
17271
17398
|
type ToDataURLOptions = Electron.ToDataURLOptions;
|
package/package.json
CHANGED
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@electron/get": "^1.13.0",
|
|
12
|
-
"@types/node": "^
|
|
12
|
+
"@types/node": "^16.11.26",
|
|
13
13
|
"extract-zip": "^1.0.3"
|
|
14
14
|
},
|
|
15
15
|
"engines": {
|
|
16
16
|
"node": ">= 8.6"
|
|
17
17
|
},
|
|
18
18
|
"name": "electron",
|
|
19
|
-
"version": "18.0.0
|
|
19
|
+
"version": "18.0.0",
|
|
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",
|