Packages

electron

45.3.4 · 17 Nov 2026MIT12.9M / weekRepositoryHomepagenpmAtom feed

Your version

40.9.1

15 Apr 2026Where it was published

40.10.6 is the newest release of 40.x.

In short

1 new10 fixed3 changed

Security

Fixes 10 advisories that affected 40.8.5

19 advisories affect 40.9.1; 42.11.16 fixes them

14 more

Release note

Release Notes for v40.9.1

Features

  • Added allowExtensions privilege to protocol.registerSchemesAsPrivileged() to enable Chrome extensions on custom protocols. #50588 (Also in 41, 42)

Fixes

  • Fixed fs.stat on files inside asar archives returning undefined for blksize and blocks instead of numeric values. #50875 (Also in 41, 42)

  • Fixed a memory leak where Menu items were not cleaned up after Menu.setApplicationMenu was called repeatedly. #50831 (Also in 41, 42)

  • Fixed an intermittent Invoke in DisallowJavascriptExecutionScope crash on application quit when a WebContents (or other JS-emitting native object) is garbage-collected during shutdown. #50693 (Also in 41, 42)

  • Fixed an issue on macOS where show/hide events and WebContents visibility state could be reported incorrectly when multiple WebContentsViews were attached to a window. #50713 (Also in 41, 42)

  • Fixed an issue where DevTools would re-attach to the window when opened after previously being detached. #50817 (Also in 39, 41, 42)

  • Fixed an issue where setSimpleFullScreen on macOS would exit when web content called requestFullscreen(). #50986 (Also in 42)

  • Fixed an issue where concurrent getFileHandle requests on the same path could stall indefinitely. #50672 (Also in 41, 42)

  • Fixed aspect ratio min/max size clamping to correctly account for extraSize on macOS. #50834 (Also in 41, 42)

  • Fixed the crash keys being lost and the crash reporter hanging on macOS when many dynamic crash keys were registered. #50838 (Also in 41, 42)

  • Moved Electron-specific help menu links to the default app only; unpackaged apps will no longer see these items in their default menu. #50860 (Also in 41, 42)

Other Changes

  • Backported fix for 489711638. #50623

  • Backported fix for 493952652. #50619

  • Backported fix for none. #50881

  • Backported upstream v8 fixes for several maglev, inspector, and arm64 code-generation edge cases. #50992

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.