electron-types 40.10.5 → 40.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 CHANGED
@@ -1,6 +1,5 @@
1
1
  # electron-types
2
2
 
3
- [![CI](https://badgen.net/github/checks/biw/electron-types)](https://github.com/biw/electron-types/actions)
4
3
  [![npm version](https://badgen.net/npm/v/electron-types)](https://www.npmjs.com/package/electron-types)
5
4
  [![npm downloads](https://badgen.net/npm/dt/electron-types)](https://www.npmjs.com/package/electron-types)
6
5
 
@@ -15,11 +14,11 @@ The official `electron` package is ~200MB because it includes the Electron binar
15
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)):
16
15
 
17
16
  ```bash
18
- npm install -D electron-types@40.10.5
17
+ npm install -D electron-types@40.10.6
19
18
  # or
20
- yarn add -D electron-types@40.10.5
19
+ yarn add -D electron-types@40.10.6
21
20
  # or
22
- pnpm add -D electron-types@40.10.5
21
+ pnpm add -D electron-types@40.10.6
23
22
  ```
24
23
 
25
24
  ## Usage
@@ -56,24 +55,27 @@ This package is automatically updated via CI:
56
55
 
57
56
  ## Development
58
57
 
58
+ Local development requires Node.js 22.13+ for pnpm 11. Enable Corepack once with
59
+ `corepack enable` if pnpm is not already available.
60
+
59
61
  ```bash
60
62
  # Install dependencies
61
- yarn install
63
+ pnpm install
62
64
 
63
65
  # Extract types from latest electron
64
- yarn extract
66
+ pnpm extract
65
67
 
66
68
  # Extract types from a specific version
67
- yarn extract 39.2.7
69
+ pnpm extract 39.2.7
68
70
 
69
71
  # Build package for a specific version (extract + update version)
70
- yarn build 39.2.7
72
+ pnpm build 39.2.7
71
73
 
72
74
  # Test that types work correctly
73
- yarn test
75
+ pnpm test
74
76
 
75
77
  # Check if a new version needs to be published
76
- yarn check-versions
78
+ pnpm check-versions
77
79
  ```
78
80
 
79
81
  ## License
@@ -1,4 +1,4 @@
1
- // Type definitions for Electron 40.10.5
1
+ // Type definitions for Electron 40.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
package/dist/version.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
- "electronVersion": "40.10.5",
3
- "extractedAt": "2026-06-24T07:25:49.423Z"
2
+ "electronVersion": "40.10.6",
3
+ "extractedAt": "2026-08-11T22:05:37.598Z"
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electron-types",
3
- "version": "40.10.5",
3
+ "version": "40.10.6",
4
4
  "type": "module",
5
5
  "description": "TypeScript type definitions extracted from the electron package",
6
6
  "types": "./dist/electron.d.ts",
@@ -38,7 +38,7 @@
38
38
  "typescript": "^5.0.0",
39
39
  "vitest": "^4.0.16"
40
40
  },
41
- "packageManager": "yarn@4.12.0",
41
+ "packageManager": "pnpm@11.18.0",
42
42
  "engines": {
43
43
  "node": ">=18.0.0"
44
44
  }