electron-types 40.0.0-beta.4 → 40.0.0-beta.5

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/LICENSE CHANGED
@@ -1,7 +1,7 @@
1
1
  MIT License
2
2
 
3
3
  Copyright (c) Electron contributors
4
- Copyright (c) 2024 electron-types contributors
4
+ Copyright (c) 2025 Ben Williams
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
7
7
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -11,28 +11,11 @@ The official `electron` package is ~200MB because it includes the Electron binar
11
11
  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)):
12
12
 
13
13
  ```bash
14
- # Replace X.Y.Z with your Electron version (e.g., 39.2.7)
15
- npm install -D electron-types@X.Y.Z
14
+ npm install -D electron-types@40.0.0-beta.5
16
15
  # or
17
- yarn add -D electron-types@X.Y.Z
16
+ yarn add -D electron-types@40.0.0-beta.5
18
17
  # or
19
- pnpm add -D electron-types@X.Y.Z
20
- ```
21
-
22
- You can also use semver ranges to stay compatible with your Electron version:
23
-
24
- ```bash
25
- # Match any 39.x.x version
26
- npm install -D electron-types@^39.0.0
27
-
28
- # Match any 39.2.x version
29
- npm install -D electron-types@~39.2.0
30
- ```
31
-
32
- Or install without a version to get the latest:
33
-
34
- ```bash
35
- npm install -D electron-types
18
+ pnpm add -D electron-types@40.0.0-beta.5
36
19
  ```
37
20
 
38
21
  ## Usage
@@ -1,4 +1,4 @@
1
- // Type definitions for Electron 40.0.0-beta.4
1
+ // Type definitions for Electron 40.0.0-beta.5
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.0.0-beta.4",
3
- "extractedAt": "2025-12-24T03:15:00.486Z"
2
+ "electronVersion": "40.0.0-beta.5",
3
+ "extractedAt": "2026-01-06T00:39:33.059Z"
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electron-types",
3
- "version": "40.0.0-beta.4",
3
+ "version": "40.0.0-beta.5",
4
4
  "type": "module",
5
5
  "description": "TypeScript type definitions extracted from the electron package",
6
6
  "types": "./dist/electron.d.ts",