Packages

electron

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

Your version

40.8.1

12 Mar 2026Where it was published

40.10.6 is the newest release of 40.x.

In short

1 new10 fixed1 changed

Security

Fixes 4 advisories that affected 40.8.0

34 advisories affect 40.8.1; 42.11.16 fixes them

29 more

Release note

Release Notes for v40.8.1

Fixes

  • Added validation to protocol client methods to reject protocol names that do not conform to the RFC 3986 URI scheme grammar. #50158 (Also in 38, 39, 41)

  • Fixed an issue on macOS where calling autoUpdater.quitAndInstall() could fail if checkForUpdates() was called again after an update was already downloaded. #50216 (Also in 39, 41)

  • Fixed an issue where Chrome Devtools menus may not appear in certain embedded windows. #50138 (Also in 39, 41)

  • Fixed an issue where additionalData passed to app.requestSingleInstanceLock on Windows could be truncated or fail to deserialize in the primary instance's second-instance event. #50162 (Also in 38, 39, 41)

  • Fixed an issue where screen.getCursorScreenPoint() crashed on Wayland when it was called before a BrowserWindow had been created. #50104 (Also in 39, 41)

  • Fixed an issue where calling setBounds on a WebContentsView could trigger redundant page-favicon-updated events even when the favicon had not changed. #50084 (Also in 39, 41)

  • Fixed an issue where invalid characters in custom protocol or webRequest response header values were not rejected. #50131 (Also in 38, 39, 41)

  • Fixed an issue where permission and device-chooser handlers received the top-level page origin instead of the requesting subframe's origin. #50149 (Also in 38, 39, 41)

  • Fixed an issue where traffic light buttons would flash at position (0,0) when restoring a window with a custom trafficLightPosition from minimization on macOS. #50207 (Also in 39, 41)

  • Fixed bug where opening a message box immediately upon closing a child window may cause the parent window to freeze on Windows. #50189 (Also in 39, 41)

  • Reverted AltGr key fix that caused menu bar to no longer show on Windows. #50110 (Also in 39, 41)

Other Changes

  • Backported fix for chromium:485622239. #50168

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.