electron-types 41.10.5 → 41.10.6
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 +3 -3
- package/dist/electron.d.ts +8 -1
- package/dist/version.json +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -14,11 +14,11 @@ The official `electron` package is ~200MB because it includes the Electron binar
|
|
|
14
14
|
Since this package only provides TypeScript types, install it as a dev dependency. **Install the version that matches your Electron version** (see [Version Matching](#version-matching)):
|
|
15
15
|
|
|
16
16
|
```bash
|
|
17
|
-
npm install -D electron-types@41.10.
|
|
17
|
+
npm install -D electron-types@41.10.6
|
|
18
18
|
# or
|
|
19
|
-
yarn add -D electron-types@41.10.
|
|
19
|
+
yarn add -D electron-types@41.10.6
|
|
20
20
|
# or
|
|
21
|
-
pnpm add -D electron-types@41.10.
|
|
21
|
+
pnpm add -D electron-types@41.10.6
|
|
22
22
|
```
|
|
23
23
|
|
|
24
24
|
## Usage
|
package/dist/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 41.10.
|
|
1
|
+
// Type definitions for Electron 41.10.6
|
|
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/typescript-definitions
|
|
@@ -19841,6 +19841,13 @@ declare namespace Electron {
|
|
|
19841
19841
|
* another value by including an `=`, followed by the value. Special values `yes`
|
|
19842
19842
|
* and `1` are interpreted as `true`, while `no` and `0` are interpreted as
|
|
19843
19843
|
* `false`.
|
|
19844
|
+
*
|
|
19845
|
+
* Security-critical preferences cannot be used to make the guest less secure than
|
|
19846
|
+
* its embedder. When the embedder has any of `contextIsolation`, `javascript`,
|
|
19847
|
+
* `nodeIntegration`, `nodeIntegrationInWorker`, `sandbox`,
|
|
19848
|
+
* `nodeIntegrationInSubFrames` or `enableWebSQL` set to its more secure value, the
|
|
19849
|
+
* guest inherits that value and the corresponding `webpreferences` entry is
|
|
19850
|
+
* ignored.
|
|
19844
19851
|
*/
|
|
19845
19852
|
webpreferences: string;
|
|
19846
19853
|
}
|
package/dist/version.json
CHANGED