electron-types 45.2.1 → 45.2.3

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
@@ -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@45.2.1
17
+ npm install -D electron-types@45.2.3
18
18
  # or
19
- yarn add -D electron-types@45.2.1
19
+ yarn add -D electron-types@45.2.3
20
20
  # or
21
- pnpm add -D electron-types@45.2.1
21
+ pnpm add -D electron-types@45.2.3
22
22
  ```
23
23
 
24
24
  ## Usage
@@ -1,4 +1,4 @@
1
- // Type definitions for Electron 45.2.1
1
+ // Type definitions for Electron 45.2.3
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
@@ -4587,12 +4587,10 @@ declare namespace Electron {
4587
4587
  /**
4588
4588
  * The `bounds` of this BrowserView instance as `Object`.
4589
4589
  *
4590
- * @experimental
4591
4590
  * @deprecated
4592
4591
  */
4593
4592
  getBounds(): Rectangle;
4594
4593
  /**
4595
- * @experimental
4596
4594
  * @deprecated
4597
4595
  */
4598
4596
  setAutoResize(options: AutoResizeOptions): void;
@@ -4624,21 +4622,18 @@ declare namespace Electron {
4624
4622
  * > [!NOTE] Hex format with alpha takes `AARRGGBB` or `ARGB`, _not_ `RRGGBBAA` or
4625
4623
  * `RGB`.
4626
4624
  *
4627
- * @experimental
4628
4625
  * @deprecated
4629
4626
  */
4630
4627
  setBackgroundColor(color: string): void;
4631
4628
  /**
4632
4629
  * Resizes and moves the view to the supplied bounds relative to the window.
4633
4630
  *
4634
- * @experimental
4635
4631
  * @deprecated
4636
4632
  */
4637
4633
  setBounds(bounds: Rectangle): void;
4638
4634
  /**
4639
4635
  * A `WebContents` object owned by this view.
4640
4636
  *
4641
- * @experimental
4642
4637
  * @deprecated
4643
4638
  */
4644
4639
  webContents: WebContents;
@@ -5908,7 +5903,6 @@ declare namespace Electron {
5908
5903
  * > [!WARNING] The `BrowserView` class is deprecated, and replaced by the new
5909
5904
  * `WebContentsView` class.
5910
5905
  *
5911
- * @experimental
5912
5906
  * @deprecated
5913
5907
  */
5914
5908
  addBrowserView(browserView: BrowserView): void;
@@ -6013,7 +6007,6 @@ declare namespace Electron {
6013
6007
  * > [!WARNING] The `BrowserView` class is deprecated, and replaced by the new
6014
6008
  * `WebContentsView` class.
6015
6009
  *
6016
- * @experimental
6017
6010
  * @deprecated
6018
6011
  */
6019
6012
  getBrowserView(): (BrowserView) | (null);
@@ -6025,7 +6018,6 @@ declare namespace Electron {
6025
6018
  * > [!WARNING] The `BrowserView` class is deprecated, and replaced by the new
6026
6019
  * `WebContentsView` class.
6027
6020
  *
6028
- * @experimental
6029
6021
  * @deprecated
6030
6022
  */
6031
6023
  getBrowserViews(): BrowserView[];
@@ -6388,7 +6380,6 @@ declare namespace Electron {
6388
6380
  * > [!WARNING] The `BrowserView` class is deprecated, and replaced by the new
6389
6381
  * `WebContentsView` class.
6390
6382
  *
6391
- * @experimental
6392
6383
  * @deprecated
6393
6384
  */
6394
6385
  removeBrowserView(browserView: BrowserView): void;
@@ -6547,7 +6538,6 @@ declare namespace Electron {
6547
6538
  * > [!WARNING] The `BrowserView` class is deprecated, and replaced by the new
6548
6539
  * `WebContentsView` class.
6549
6540
  *
6550
- * @experimental
6551
6541
  * @deprecated
6552
6542
  */
6553
6543
  setBrowserView(browserView: (BrowserView) | (null)): void;
@@ -6877,7 +6867,6 @@ declare namespace Electron {
6877
6867
  * > [!WARNING] The `BrowserView` class is deprecated, and replaced by the new
6878
6868
  * `WebContentsView` class.
6879
6869
  *
6880
- * @experimental
6881
6870
  * @deprecated
6882
6871
  */
6883
6872
  setTopBrowserView(browserView: BrowserView): void;
package/dist/version.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
- "electronVersion": "45.2.1",
3
- "extractedAt": "2026-10-31T01:09:38.106Z"
2
+ "electronVersion": "45.2.3",
3
+ "extractedAt": "2026-11-04T22:07:57.113Z"
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electron-types",
3
- "version": "45.2.1",
3
+ "version": "45.2.3",
4
4
  "type": "module",
5
5
  "description": "TypeScript type definitions extracted from the electron package",
6
6
  "types": "./dist/electron.d.ts",