webtorrent / webtorrent-desktop

❀️ Streaming torrent app for Mac, Windows, and Linux
https://webtorrent.io/desktop
MIT License
9.63k stars 999 forks source link

chore(deps): update dependency electron to v22 - autoclosed #2297

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
electron 15.5.7 -> 22.2.0 age adoption passing confidence

Release Notes

electron/electron ### [`v22.2.0`](https://togithub.com/electron/electron/releases/tag/v22.2.0): electron v22.2.0 [Compare Source](https://togithub.com/electron/electron/compare/v22.1.0...v22.2.0) ### Release Notes for v22.2.0 #### Features - Adds new `setHiddenInMissionControl` API to allow developers to opt out of mission control on macOS. [#​36390](https://togithub.com/electron/electron/pull/36390) #### Fixes - Fixed a BrowserWindow maxWidth or maxHeight of 0 causing strange resizing behavior. [#​36512](https://togithub.com/electron/electron/pull/36512) (Also in [21](https://togithub.com/electron/electron/pull/36510), [23](https://togithub.com/electron/electron/pull/36511)) - Fixed tray icon not showing on desktop environments that have no support for app indicator. [#​37034](https://togithub.com/electron/electron/pull/37034) (Also in [23](https://togithub.com/electron/electron/pull/37033)) #### Other Changes - Security: backported fix for CVE-2023-0471. [#​37022](https://togithub.com/electron/electron/pull/37022) - Updated Chromium to 108.0.5359.215. [#​37019](https://togithub.com/electron/electron/pull/37019) #### Documentation - Documentation changes: [#​37032](https://togithub.com/electron/electron/pull/37032) ### [`v22.1.0`](https://togithub.com/electron/electron/releases/tag/v22.1.0): electron v22.1.0 [Compare Source](https://togithub.com/electron/electron/compare/v22.0.3...v22.1.0) ### Release Notes for v22.1.0 #### Features - Added `label` property to `Display` objects. [#​36932](https://togithub.com/electron/electron/pull/36932) (Also in [21](https://togithub.com/electron/electron/pull/36931), [23](https://togithub.com/electron/electron/pull/36933)) #### Fixes - Fixed an issue where `webView`s could have an incorrect initial background color following reloads. [#​36940](https://togithub.com/electron/electron/pull/36940) (Also in [21](https://togithub.com/electron/electron/pull/36939), [23](https://togithub.com/electron/electron/pull/36938)) - Removed plugin helper checks on macOS gated behind enable_plugins buildflag. [#​36978](https://togithub.com/electron/electron/pull/36978) (Also in [23](https://togithub.com/electron/electron/pull/36977)) #### Other Changes - Fixed voiceover repeating selected text when expanding selection in a textarea. [#​36991](https://togithub.com/electron/electron/pull/36991) ### [`v22.0.3`](https://togithub.com/electron/electron/releases/tag/v22.0.3): electron v22.0.3 [Compare Source](https://togithub.com/electron/electron/compare/v22.0.2...v22.0.3) ### Release Notes for v22.0.3 #### Fixes - Fixed an issue on macOS when trying to switch processes with `Cmd+Tab` after exiting Kiosk Mode. [#​36918](https://togithub.com/electron/electron/pull/36918) (Also in [21](https://togithub.com/electron/electron/pull/36919), [23](https://togithub.com/electron/electron/pull/36917)) - Fixed an issue where the `setPermissionRequestHandler` callback would be invoked twice when using `navigator.getUserMedia(...)`. [#​36873](https://togithub.com/electron/electron/pull/36873) (Also in [23](https://togithub.com/electron/electron/pull/36874)) - Use the process cache to reduce the memory for asar file. [#​36664](https://togithub.com/electron/electron/pull/36664) (Also in [21](https://togithub.com/electron/electron/pull/36663), [23](https://togithub.com/electron/electron/pull/36665)) ### [`v22.0.2`](https://togithub.com/electron/electron/releases/tag/v22.0.2): electron v22.0.2 [Compare Source](https://togithub.com/electron/electron/compare/v22.0.1...v22.0.2) ### Release Notes for v22.0.2 #### Fixes - Fixed an RTL issue that could happen in some locales when calling `BrowserWindow.setTrafficLightPosition()` on macOS. [#​36851](https://togithub.com/electron/electron/pull/36851) (Also in [21](https://togithub.com/electron/electron/pull/36852), [23](https://togithub.com/electron/electron/pull/36850)) - Fixed an error when fs.readdir gets null for options. [#​36849](https://togithub.com/electron/electron/pull/36849) (Also in [23](https://togithub.com/electron/electron/pull/36848)) - Fixed missing headers in libcxx_headers bundle. [#​36865](https://togithub.com/electron/electron/pull/36865) #### Other Changes - Security: backported fix for CVE-2023-0129. [#​36884](https://togithub.com/electron/electron/pull/36884) - Updated Chromium to 108.0.5359.179. [#​36877](https://togithub.com/electron/electron/pull/36877) ### [`v22.0.1`](https://togithub.com/electron/electron/releases/tag/v22.0.1): electron v22.0.1 [Compare Source](https://togithub.com/electron/electron/compare/v22.0.0...v22.0.1) ### Release Notes for v22.0.1 #### Fixes - Changed HTML5 Notifications created with the `requireInteraction` option to not timeout on Linux and Windows. [#​36501](https://togithub.com/electron/electron/pull/36501) (Also in [21](https://togithub.com/electron/electron/pull/36503)) - Fixed a crash that could occur when running eval in inline scripts in unsandboxed renderer processes. [#​36668](https://togithub.com/electron/electron/pull/36668) (Also in [23](https://togithub.com/electron/electron/pull/36667)) - Fixed an issue with incorrect focus ring highlighting when using `dialog.showMessageBox()`. [#​36802](https://togithub.com/electron/electron/pull/36802) (Also in [21](https://togithub.com/electron/electron/pull/36801), [23](https://togithub.com/electron/electron/pull/36803)) - Fixed binary stripping for branded release builds on Linux. [#​36654](https://togithub.com/electron/electron/pull/36654) (Also in [21](https://togithub.com/electron/electron/pull/36655), [23](https://togithub.com/electron/electron/pull/36656)) - Fixed warning about duplicate `WebSwapCGLLayer` symbols when Electron starts on macOS. [#​36800](https://togithub.com/electron/electron/pull/36800) (Also in [21](https://togithub.com/electron/electron/pull/36798), [23](https://togithub.com/electron/electron/pull/36799)) #### Other Changes - Added node-api: handle no support for external buffers. [#​36624](https://togithub.com/electron/electron/pull/36624) - Backported fix for chromium:1352405. [#​36517](https://togithub.com/electron/electron/pull/36517) - Backported fix for chromium:1352405. [#​36518](https://togithub.com/electron/electron/pull/36518) - Removed unneeded --turbo-profiling-input argument from mksnapshot_args for Linux mksnapshot zips. [#​36782](https://togithub.com/electron/electron/pull/36782) (Also in [23](https://togithub.com/electron/electron/pull/36534)) - Updated Chromium to 108.0.5359.99. [#​36613](https://togithub.com/electron/electron/pull/36613) ### [`v22.0.0`](https://togithub.com/electron/electron/releases/tag/v22.0.0): electron v22.0.0 [Compare Source](https://togithub.com/electron/electron/compare/v21.4.1...v22.0.0) ##### Release Notes for v22.0.0 ##### Stack Upgrades - Chromium 108.0.5359.62. - [New in 108](https://developer.chrome.com/blog/new-in-chrome-108/) - [New in 107](https://developer.chrome.com/blog/new-in-chrome-107/) - Node v16.17.1. - [v16.17.1 release notes](https://nodejs.org/en/blog/release/v16.17.1/) - [v16.17.0 release notes](https://nodejs.org/en/blog/release/v16.17.0/) - V8 v10.8 ##### Breaking Changes - Added WebContents `input-event` event. - Deprecated BrowserWindow `scroll-touch-*` events. [#​35531](https://togithub.com/electron/electron/pull/35531) - The deprecated `new-window` event has been removed. [#​34526](https://togithub.com/electron/electron/pull/34526) ##### Features - Added `LoadBrowserProcessSpecificV8Snapshot` as a new fuse that will let the main/browser process load its v8 snapshot from a file at `browser_v8_context_snapshot.bin`. Any other process will use the same path as is used today. [#​35266](https://togithub.com/electron/electron/pull/35266) (Also in [20](https://togithub.com/electron/electron/pull/35694), [21](https://togithub.com/electron/electron/pull/35695)) - Added `WebContents.opener` to access window opener. - Added `webContents.fromFrame(frame)` to get the WebContents corresponding to a WebFrameMain instance. [#​35140](https://togithub.com/electron/electron/pull/35140) (Also in [21](https://togithub.com/electron/electron/pull/35819)) - Added `app.getSystemLocale()` method. [#​35697](https://togithub.com/electron/electron/pull/35697) (Also in [21](https://togithub.com/electron/electron/pull/35794)) - Added `contextBridge.exposeInIsolatedWorld(worldId, key, api)` to expose an API to an `isolatedWorld` within a renderer from a preload script. [#​34974](https://togithub.com/electron/electron/pull/34974) - Added `webContents.close()` method. [#​35509](https://togithub.com/electron/electron/pull/35509) - Added `webFrameMain.origin`. [#​35438](https://togithub.com/electron/electron/pull/35438) (Also in [19](https://togithub.com/electron/electron/pull/35624), [20](https://togithub.com/electron/electron/pull/35535), [21](https://togithub.com/electron/electron/pull/35534)) - Added an `app.getPreferredSystemLanguages()` API to return the user's system languages. [#​36291](https://togithub.com/electron/electron/pull/36291) (Also in [21](https://togithub.com/electron/electron/pull/36290)) - Added new UtilityProcess API to launch chromium child process with node integration. [#​36089](https://togithub.com/electron/electron/pull/36089) - Added new WebContents event `content-bounds-updated`. [#​35533](https://togithub.com/electron/electron/pull/35533) - Added new `WebContents.ipc` and `WebFrameMain.ipc` APIs. [#​34959](https://togithub.com/electron/electron/pull/34959) (Also in [21](https://togithub.com/electron/electron/pull/35231)) - Added support for Web Bluetooth pin pairing on Linux and Windows. [#​35416](https://togithub.com/electron/electron/pull/35416) (Also in [21](https://togithub.com/electron/electron/pull/35818)) - Added support for `navigator.mediaDevices.getDisplayMedia` via a new session handler, `ses.setDisplayMediaRequestHandler`. [#​30702](https://togithub.com/electron/electron/pull/30702) - Added support for `serialPort.forget()` as well as a new event `serial-port-revoked` emitted when a given origin is revoked. [#​36062](https://togithub.com/electron/electron/pull/36062) ##### Fixes - Added support for Webauthn discoverable keys (aka resident keys), allowing users to authenticate without first having to select or type a username. [#​35374](https://togithub.com/electron/electron/pull/35374) - Enable crashpad for ELECTRON_RUN_AS_NODE processes on linux. [#​36483](https://togithub.com/electron/electron/pull/36483) - Fixed `click` event and tooltip of `Tray` not working on Linux. [#​36472](https://togithub.com/electron/electron/pull/36472) - Fixed an issue where frameless non-resizable windows showed a Windows 7 frame during startup. [#​36024](https://togithub.com/electron/electron/pull/36024) - Fixed an issue with incomplete EventEmitter object in sandboxed renderer preload script. [#​35522](https://togithub.com/electron/electron/pull/35522) - Fixed race condition during update on macOS that could result in TCC and Keychain errors. [#​36362](https://togithub.com/electron/electron/pull/36362) - Removed unneeded --turbo-profiling-input argument from mksnapshot_args. [#​36463](https://togithub.com/electron/electron/pull/36463) ##### Also in earlier versions... - Added a background to the WCO container to avoid rendering glitches. [#​35569](https://togithub.com/electron/electron/pull/35569) (Also in [19](https://togithub.com/electron/electron/pull/35610), [20](https://togithub.com/electron/electron/pull/35611), [21](https://togithub.com/electron/electron/pull/35612)) - Added support for Windows drop-down dialog extensions. [#​35618](https://togithub.com/electron/electron/pull/35618) (Also in [18](https://togithub.com/electron/electron/pull/35661), [19](https://togithub.com/electron/electron/pull/35660), [20](https://togithub.com/electron/electron/pull/35659), [21](https://togithub.com/electron/electron/pull/36027)) - Default margin has been added in the code. [#​36073](https://togithub.com/electron/electron/pull/36073) (Also in [21](https://togithub.com/electron/electron/pull/36072)) - Enable WCO maximize button when window enters tablet mode and is not already maximized. [#​35617](https://togithub.com/electron/electron/pull/35617) (Also in [19](https://togithub.com/electron/electron/pull/35677), [20](https://togithub.com/electron/electron/pull/35663), [21](https://togithub.com/electron/electron/pull/35664)) - Fixed `uv_os_gethostname` failing on Windows 7. [#​35702](https://togithub.com/electron/electron/pull/35702) (Also in [19](https://togithub.com/electron/electron/pull/35703), [20](https://togithub.com/electron/electron/pull/35705), [21](https://togithub.com/electron/electron/pull/35704)) - Fixed a bug where calling `atob` in the renderer process could fail under some circumstances. [#​35415](https://togithub.com/electron/electron/pull/35415) (Also in [19](https://togithub.com/electron/electron/pull/35444), [20](https://togithub.com/electron/electron/pull/35445), [21](https://togithub.com/electron/electron/pull/35443)) - Fixed a crash that occured when loading non-standard schemes from iframes. [#​35485](https://togithub.com/electron/electron/pull/35485) (Also in [21](https://togithub.com/electron/electron/pull/35517)) - Fixed a crash when switching origins with emulation settings set. [#​35466](https://togithub.com/electron/electron/pull/35466) (Also in [21](https://togithub.com/electron/electron/pull/35488)) - Fixed a drag-and-drop issue on macOS where items would be incorrectly moved instead of copied in some contexts. [#​35976](https://togithub.com/electron/electron/pull/35976) (Also in [20](https://togithub.com/electron/electron/pull/35978), [21](https://togithub.com/electron/electron/pull/35977)) - Fixed a potential crash on WebWorker destruction. [#​35422](https://togithub.com/electron/electron/pull/35422) (Also in [19](https://togithub.com/electron/electron/pull/35490), [20](https://togithub.com/electron/electron/pull/35491), [21](https://togithub.com/electron/electron/pull/35492)) - Fixed a potential issue when calling `webContents.printToPDF()`. [#​36065](https://togithub.com/electron/electron/pull/36065) (Also in [21](https://togithub.com/electron/electron/pull/36064)) - Fixed a potential memory leak. [#​35964](https://togithub.com/electron/electron/pull/35964) (Also in [21](https://togithub.com/electron/electron/pull/35965)) - Fixed an edge case in `app.isInApplicationsFolder()` which would return false incorrectly in some cases. [#​35636](https://togithub.com/electron/electron/pull/35636) (Also in [19](https://togithub.com/electron/electron/pull/35729), [20](https://togithub.com/electron/electron/pull/35731), [21](https://togithub.com/electron/electron/pull/35730)) - Fixed an issue where DevTools could not be docked with Windows Control Overlay enabled. [#​35754](https://togithub.com/electron/electron/pull/35754) (Also in [19](https://togithub.com/electron/electron/pull/35763), [20](https://togithub.com/electron/electron/pull/35764), [21](https://togithub.com/electron/electron/pull/35765)) - Fixed an issue where WCO could occlude DevTools opened in any non-detached mode. [#​35209](https://togithub.com/electron/electron/pull/35209) (Also in [18](https://togithub.com/electron/electron/pull/35307), [19](https://togithub.com/electron/electron/pull/35308), [20](https://togithub.com/electron/electron/pull/35309), [21](https://togithub.com/electron/electron/pull/35688)) - Fixed an issue where `screen.getCursorScreenPoint()` crashed on Wayland when it was called before a `BrowserWindow` had been created. [#​35503](https://togithub.com/electron/electron/pull/35503) (Also in [21](https://togithub.com/electron/electron/pull/35575)) - Fixed an issue where `serialPort.open()` failed with `NetworkError: Failed to open serial port.`. [#​35306](https://togithub.com/electron/electron/pull/35306) (Also in [21](https://togithub.com/electron/electron/pull/35339)) - Fixed an issue where app.relaunch loses args when execPath is specified. [#​35108](https://togithub.com/electron/electron/pull/35108) (Also in [19](https://togithub.com/electron/electron/pull/35252), [20](https://togithub.com/electron/electron/pull/35253), [21](https://togithub.com/electron/electron/pull/35254)) - Fixed an issue where calling `app.dock.setIcon(/path/t/icon)` would crash when called before the `ready` event on `app`. [#​36293](https://togithub.com/electron/electron/pull/36293) (Also in [20](https://togithub.com/electron/electron/pull/36292), [21](https://togithub.com/electron/electron/pull/36294)) - Fixed an issue where frameless resizable windows showed Window 7 style frames while opening. [#​35189](https://togithub.com/electron/electron/pull/35189) (Also in [18](https://togithub.com/electron/electron/pull/35477), [19](https://togithub.com/electron/electron/pull/35351), [20](https://togithub.com/electron/electron/pull/35352), [21](https://togithub.com/electron/electron/pull/35353)) - Fixed an issue where frameless windows with `roundedCorners: false` couldn't enter fullscreen without crashing. [#​35421](https://togithub.com/electron/electron/pull/35421) (Also in [19](https://togithub.com/electron/electron/pull/35456), [20](https://togithub.com/electron/electron/pull/35455), [21](https://togithub.com/electron/electron/pull/35454)) - Fixed an issue where part of the BrowserView could be cut off when calling `setBounds` on some windows. [#​34713](https://togithub.com/electron/electron/pull/34713) (Also in [19](https://togithub.com/electron/electron/pull/35495), [20](https://togithub.com/electron/electron/pull/35494), [21](https://togithub.com/electron/electron/pull/35502)) - Fixed an issue where some options were incorrectly ignored when using `webContents.printToPDF()`. [#​35993](https://togithub.com/electron/electron/pull/35993) (Also in [21](https://togithub.com/electron/electron/pull/35992)) - Fixed crash in renderer when resuming system from sleep. [#​35322](https://togithub.com/electron/electron/pull/35322) (Also in [18](https://togithub.com/electron/electron/pull/35340), [19](https://togithub.com/electron/electron/pull/35337), [20](https://togithub.com/electron/electron/pull/35338), [21](https://togithub.com/electron/electron/pull/35336)) - Fixed enable promise support with webFrameMain.executeJavaScript. [#​35292](https://togithub.com/electron/electron/pull/35292) (Also in [20](https://togithub.com/electron/electron/pull/35358), [21](https://togithub.com/electron/electron/pull/35359)) - Fixed issue with history.back() in sandboxed iframes affecting parent browsing context. [#​35420](https://togithub.com/electron/electron/pull/35420) (Also in [19](https://togithub.com/electron/electron/pull/35621), [20](https://togithub.com/electron/electron/pull/35622), [21](https://togithub.com/electron/electron/pull/35623)) - Fixed on-screen-keyboard not hiding on input rendered in webview is blurred. [#​35983](https://togithub.com/electron/electron/pull/35983) (Also in [20](https://togithub.com/electron/electron/pull/35981), [21](https://togithub.com/electron/electron/pull/35982)) - Fixed session.getBlobData never resolves with blob sizes > 65536. [#​35277](https://togithub.com/electron/electron/pull/35277) (Also in [19](https://togithub.com/electron/electron/pull/35600), [20](https://togithub.com/electron/electron/pull/35601), [21](https://togithub.com/electron/electron/pull/35602)) - Fixed spurious promise rejection in `webContents.loadURL` when navigating to a hash. [#​36151](https://togithub.com/electron/electron/pull/36151) (Also in [20](https://togithub.com/electron/electron/pull/36149), [21](https://togithub.com/electron/electron/pull/36150)) - Fixed undefined details.requestingUrl from session.setPermissionCheckHandler. [#​35281](https://togithub.com/electron/electron/pull/35281) (Also in [20](https://togithub.com/electron/electron/pull/35408), [21](https://togithub.com/electron/electron/pull/35409)) - Fixed v8 flags and desktop name in package.json does not hornored when running local app using electron cli. [#​36049](https://togithub.com/electron/electron/pull/36049) (Also in [20](https://togithub.com/electron/electron/pull/36048), [21](https://togithub.com/electron/electron/pull/36050)) - Fixed: If a custom Electron build contains an electron.d.ts file, it is now being used. [#​33979](https://togithub.com/electron/electron/pull/33979) (Also in [20](https://togithub.com/electron/electron/pull/35823), [21](https://togithub.com/electron/electron/pull/35822)) - Picture-In-Picture mode no longer becomes a red rectangle on hover. [#​35034](https://togithub.com/electron/electron/pull/35034) (Also in [19](https://togithub.com/electron/electron/pull/35400), [20](https://togithub.com/electron/electron/pull/35402), [21](https://togithub.com/electron/electron/pull/35401)) - Provided display_id for desktopCapturer on Linux. [#​33861](https://togithub.com/electron/electron/pull/33861) (Also in [19](https://togithub.com/electron/electron/pull/35835), [20](https://togithub.com/electron/electron/pull/35834), [21](https://togithub.com/electron/electron/pull/35836)) - Removed support for `nodeIntegrationInWorker` in Service Workers and Shared Workers owing to sandboxing policies. [#​36010](https://togithub.com/electron/electron/pull/36010) (Also in [21](https://togithub.com/electron/electron/pull/36009)) - Usage of `safeStorage` now consistently uses the correct service name on macOS regardless of timing with browser window construction. [#​34683](https://togithub.com/electron/electron/pull/34683) (Also in [19](https://togithub.com/electron/electron/pull/35795), [20](https://togithub.com/electron/electron/pull/35796)) - You can now import the built-in electron module via ESModule loaders, i.e. `import('electron')` and `import 'electron'` now work natively. [#​35957](https://togithub.com/electron/electron/pull/35957) (Also in [20](https://togithub.com/electron/electron/pull/35956), [21](https://togithub.com/electron/electron/pull/35958)) - Fixed a typo in the section on debugging with VSCode. [#​35256](https://togithub.com/electron/electron/pull/35256) (Also in [19](https://togithub.com/electron/electron/pull/35284), [20](https://togithub.com/electron/electron/pull/35286), [21](https://togithub.com/electron/electron/pull/35285)) ##### Other Changes - Backported fix for chromium:1352405. [#​36458](https://togithub.com/electron/electron/pull/36458) - Bumps the minimum required version of Node.js needed to install Electron to 12.20.55. [#​35301](https://togithub.com/electron/electron/pull/35301) - Enabled out-of-process iframe printing to PDF with `webContents.printToPDF().`. [#​36095](https://togithub.com/electron/electron/pull/36095) - Fixed `win.getBrowserViews()` not being updated when a BrowserView was moved to a different window. [#​35511](https://togithub.com/electron/electron/pull/35511) - Fixed an issue where some spellcheck functionality would incorrectly throw errors on macOS. [#​35514](https://togithub.com/electron/electron/pull/35514) (Also in [21](https://togithub.com/electron/electron/pull/35679)) - Modified the WCO maximized button style to match Windows 11 more closely. [#​35370](https://togithub.com/electron/electron/pull/35370) (Also in [20](https://togithub.com/electron/electron/pull/35968), [21](https://togithub.com/electron/electron/pull/35970)) - Updated `common.gypi` for native modules to support C++17 features in V8. [#​36369](https://togithub.com/electron/electron/pull/36369) (Also in [20](https://togithub.com/electron/electron/pull/36382), [21](https://togithub.com/electron/electron/pull/36383)) ##### Documentation - Documentation changes: - [#​35283](https://togithub.com/electron/electron/pull/35283) - [#​35324](https://togithub.com/electron/electron/pull/35324) - [#​35413](https://togithub.com/electron/electron/pull/35413) - [#​35525](https://togithub.com/electron/electron/pull/35525) - [#​35563](https://togithub.com/electron/electron/pull/35563) - [#​35908](https://togithub.com/electron/electron/pull/35908) ##### Notices ##### Sunsetting Windows 7/8/8.1 Electron will be ending support for Windows 7/8/8.1 after version 22.x.y [following Chromium's plan to end support](https://support.google.com/chrome/thread/185534985/sunsetting-support-for-windows-7-8-8-1-in-early-2023?hl=en). Older versions of Electron will continue to work, but no further updates will be made for these operating systems. ##### End of Support for 19.x.y Electron 19.x.y has reached end-of-support as per the project's [support policy](https://www.electronjs.org/docs/latest/tutorial/electron-timelines#version-support-policy). Developers and applications are encouraged to upgrade to a newer version of Electron. ### [`v21.4.1`](https://togithub.com/electron/electron/releases/tag/v21.4.1): electron v21.4.1 [Compare Source](https://togithub.com/electron/electron/compare/v21.4.0...v21.4.1) ### Release Notes for v21.4.1 #### Features - Whole-program optimization is enabled by default in electron node headers config file. [#​37048](https://togithub.com/electron/electron/pull/37048) #### Other Changes - Security: backported fix for CVE-2023-0471. [#​37023](https://togithub.com/electron/electron/pull/37023) ### [`v21.4.0`](https://togithub.com/electron/electron/releases/tag/v21.4.0): electron v21.4.0 [Compare Source](https://togithub.com/electron/electron/compare/v21.3.5...v21.4.0) ### Release Notes for v21.4.0 #### Features - Added `label` property to `Display` objects. [#​36931](https://togithub.com/electron/electron/pull/36931) (Also in [22](https://togithub.com/electron/electron/pull/36932), [23](https://togithub.com/electron/electron/pull/36933)) #### Fixes - Fixed an error when fs.readdir gets null for options. [#​36846](https://togithub.com/electron/electron/pull/36846) (Also in [22](https://togithub.com/electron/electron/pull/36849), [23](https://togithub.com/electron/electron/pull/36848)) - Fixed an issue where `webView`s could have an incorrect initial background color following reloads. [#​36939](https://togithub.com/electron/electron/pull/36939) (Also in [22](https://togithub.com/electron/electron/pull/36940), [23](https://togithub.com/electron/electron/pull/36938)) #### Other Changes - Security: backported fix for CVE-2022-4178. [#​36586](https://togithub.com/electron/electron/pull/36586) ### [`v21.3.5`](https://togithub.com/electron/electron/releases/tag/v21.3.5): electron v21.3.5 [Compare Source](https://togithub.com/electron/electron/compare/v21.3.4...v21.3.5) ### Release Notes for v21.3.5 #### Fixes - Fixed an issue on macOS when trying to switch processes with `Cmd+Tab` after exiting Kiosk Mode. [#​36919](https://togithub.com/electron/electron/pull/36919) (Also in [22](https://togithub.com/electron/electron/pull/36918), [23](https://togithub.com/electron/electron/pull/36917)) - Use the process cache to reduce the memory for asar file. [#​36663](https://togithub.com/electron/electron/pull/36663) (Also in [22](https://togithub.com/electron/electron/pull/36664), [23](https://togithub.com/electron/electron/pull/36665)) #### Other Changes - Security: backported fix for [`1395604`](https://togithub.com/electron/electron/commit/1395604). [#​36882](https://togithub.com/electron/electron/pull/36882) - Security: backported fix for [`1399424`](https://togithub.com/electron/electron/commit/1399424). [#​36879](https://togithub.com/electron/electron/pull/36879) - Security: backported fix for CVE-2023-0129. [#​36885](https://togithub.com/electron/electron/pull/36885) ### [`v21.3.4`](https://togithub.com/electron/electron/releases/tag/v21.3.4): electron v21.3.4 [Compare Source](https://togithub.com/electron/electron/compare/v21.3.3...v21.3.4) ### Release Notes for v21.3.4 #### Fixes - Changed HTML5 Notifications created with the `requireInteraction` option to not timeout on Linux and Windows. [#​36503](https://togithub.com/electron/electron/pull/36503) (Also in [22](https://togithub.com/electron/electron/pull/36501)) - Fixed a BrowserWindow maxWidth or maxHeight of 0 causing strange resizing behavior. [#​36510](https://togithub.com/electron/electron/pull/36510) - Fixed an RTL issue that could happen in some locales when calling `BrowserWindow.setTrafficLightPosition()` on macOS. [#​36852](https://togithub.com/electron/electron/pull/36852) (Also in [22](https://togithub.com/electron/electron/pull/36851)) - Fixed an issue with incorrect focus ring highlighting when using `dialog.showMessageBox()`. [#​36801](https://togithub.com/electron/electron/pull/36801) (Also in [22](https://togithub.com/electron/electron/pull/36802), [23](https://togithub.com/electron/electron/pull/36803)) - Fixed binary stripping for branded release builds on Linux. [#​36655](https://togithub.com/electron/electron/pull/36655) (Also in [22](https://togithub.com/electron/electron/pull/36654), [23](https://togithub.com/electron/electron/pull/36656)) - Fixed warning about duplicate `WebSwapCGLLayer` symbols when Electron starts on macOS. [#​36798](https://togithub.com/electron/electron/pull/36798) (Also in [22](https://togithub.com/electron/electron/pull/36800), [23](https://togithub.com/electron/electron/pull/36799)) #### Other Changes - Added node-api: handle no support for external buffers. [#​36625](https://togithub.com/electron/electron/pull/36625) - Security: backported fix for [`1365082`](https://togithub.com/electron/electron/commit/1365082). [#​36591](https://togithub.com/electron/electron/pull/36591) - Security: backported fix for [`1367993`](https://togithub.com/electron/electron/commit/1367993). [#​36675](https://togithub.com/electron/electron/pull/36675) - Security: backported fix for [`1393177`](https://togithub.com/electron/electron/commit/1393177). [#​36685](https://togithub.com/electron/electron/pull/36685) - Security: backported fix for CVE-2022-4174. [#​36580](https://togithub.com/electron/electron/pull/36580) - Security: backported fix for CVE-2022-4174. [#​36821](https://togithub.com/electron/electron/pull/36821) - Security: backported fix for CVE-2022-4175. [#​36578](https://togithub.com/electron/electron/pull/36578) - Security: backported fix for CVE-2022-4179. [#​36584](https://togithub.com/electron/electron/pull/36584) - Security: backported fix for CVE-2022-4180. [#​36582](https://togithub.com/electron/electron/pull/36582) - Security: backported fix for CVE-2022-4181. [#​36576](https://togithub.com/electron/electron/pull/36576) - Security: backported fix for CVE-2022-4190. [#​36589](https://togithub.com/electron/electron/pull/36589) - Security: backported fix for CVE-2022-4193. [#​36593](https://togithub.com/electron/electron/pull/36593) - Security: backported fix for CVE-2022-4436. [#​36687](https://togithub.com/electron/electron/pull/36687) - Security: backported fix for CVE-2022-4437. [#​36677](https://togithub.com/electron/electron/pull/36677) - Security: backported fix for CVE-2022-4438. [#​36681](https://togithub.com/electron/electron/pull/36681) - Security: backported fix for CVE-2022-4439. [#​36679](https://togithub.com/electron/electron/pull/36679) - Security: backported fix for \[[CVE-2022-4262](https://togithub.com/advisories/GHSA-hq2w-83f9-f353)]. [#​36553](https://togithub.com/electron/electron/pull/36553) - Security: backported fix for chromium:1393384. [#​36683](https://togithub.com/electron/electron/pull/36683) ### [`v21.3.3`](https://togithub.com/electron/electron/releases/tag/v21.3.3): electron v21.3.3 [Compare Source](https://togithub.com/electron/electron/compare/v21.3.1...v21.3.3) ### Release Notes for v21.3.3 #### Fixes - Removed unneeded --turbo-profiling-input argument from mksnapshot_args. [#​36495](https://togithub.com/electron/electron/pull/36495) (Also in [22](https://togithub.com/electron/electron/pull/36467)) #### Other Changes - Updated Chromium to 106.0.5249.199. [#​36448](https://togithub.com/electron/electron/pull/36448) ### [`v21.3.1`](https://togithub.com/electron/electron/releases/tag/v21.3.1): electron v21.3.1 [Compare Source](https://togithub.com/electron/electron/compare/v21.3.0...v21.3.1) ### Release Notes for v21.3.1 #### Other Changes - Updated `common.gypi` for native modules to support C++17 features in V8. [#​36383](https://togithub.com/electron/electron/pull/36383) (Also in [20](https://togithub.com/electron/electron/pull/36382)) ### [`v21.3.0`](https://togithub.com/electron/electron/releases/tag/v21.3.0): electron v21.3.0 [Compare Source](https://togithub.com/electron/electron/compare/v21.2.3...v21.3.0) ### Release Notes for v21.3.0 #### Features - Added an `app.getPreferredSystemLanguages()` API to return the user's system languages. [#​36290](https://togithub.com/electron/electron/pull/36290) (Also in [22](https://togithub.com/electron/electron/pull/36291)) #### Fixes - Fixed an issue where calling `app.dock.setIcon(/path/t/icon)` would crash when called before the `ready` event on `app`. [#​36294](https://togithub.com/electron/electron/pull/36294) (Also in [20](https://togithub.com/electron/electron/pull/36292), [22](https://togithub.com/electron/electron/pull/36293)) #### Other Changes - Updated Chromium to 106.0.5249.181. [#​36288](https://togithub.com/electron/electron/pull/36288) #### Unknown - Reverted fix for chromium:1361612 due to stability issues. [#​36264](https://togithub.com/electron/electron/pull/36264) ### [`v21.2.3`](https://togithub.com/electron/electron/releases/tag/v21.2.3): electron v21.2.3 [Compare Source](https://togithub.com/electron/electron/compare/v21.2.2...v21.2.3) ### Release Notes for v21.2.3 #### Other Changes - Security: backported fix for [`1356234`](https://togithub.com/electron/electron/commit/1356234). [#​36219](https://togithub.com/electron/electron/pull/36219) - Security: backported fix for [`1361612`](https://togithub.com/electron/electron/commit/1361612). [#​36216](https://togithub.com/electron/electron/pull/36216) ### [`v21.2.2`](https://togithub.com/electron/electron/releases/tag/v21.2.2): electron v21.2.2 [Compare Source](https://togithub.com/electron/electron/compare/v21.2.1...v21.2.2) ### Release Notes for v21.2.2 #### Other Changes - Security: backported fix for CVE-2022-3656. [#​36222](https://togithub.com/electron/electron/pull/36222) - Updated Chromium to 106.0.5249.168. [#​36185](https://togithub.com/electron/electron/pull/36185) ### [`v21.2.1`](https://togithub.com/electron/electron/releases/tag/v21.2.1): electron v21.2.1 [Compare Source](https://togithub.com/electron/electron/compare/v21.2.0...v21.2.1) ### Release Notes for v21.2.1 #### Fixes - Default margin has been added in the code. [#​36072](https://togithub.com/electron/electron/pull/36072) (Also in [22](https://togithub.com/electron/electron/pull/36073)) - Fixed a potential issue when calling `webContents.printToPDF()`. [#​36064](https://togithub.com/electron/electron/pull/36064) (Also in [22](https://togithub.com/electron/electron/pull/36065)) - Fixed spurious promise rejection in `webContents.loadURL` when navigating to a hash. [#​36150](https://togithub.com/electron/electron/pull/36150) #### Other Changes - Updated Chromium to 106.0.5249.165. [#​36162](https://togithub.com/electron/electron/pull/36162) ### [`v21.2.0`](https://togithub.com/electron/electron/releases/tag/v21.2.0): electron v21.2.0 [Compare Source](https://togithub.com/electron/electron/compare/v21.1.1...v21.2.0) ### Release Notes for v21.2.0 #### Fixes - Added support for Windows drop-down dialog extensions. [#​36027](https://togithub.com/electron/electron/pull/36027) (Also in [18](https://togithub.com/electron/electron/pull/35661), [19](https://togithub.com/electron/electron/pull/35660), [20](https://togithub.com/electron/electron/pull/35659)) - Fixed v8 flags and desktop name in package.json does not hornored when running local app using electron cli. [#​36050](https://togithub.com/electron/electron/pull/36050) (Also in [20](https://togithub.com/electron/electron/pull/36048), [22](https://togithub.com/electron/electron/pull/36049)) - Removed support for `nodeIntegrationInWorker` in Service Workers and Shared Workers owing to sandboxing policies. [#​36009](https://togithub.com/electron/electron/pull/36009) (Also in [22](https://togithub.com/electron/electron/pull/36010)) #### Other Changes - Updated Chromium to 106.0.5249.119. [#​36001](https://togithub.com/electron/electron/pull/36001) ### [`v21.1.1`](https://togithub.com/electron/electron/releases/tag/v21.1.1): electron v21.1.1 [Compare Source](https://togithub.com/electron/electron/compare/v21.1.0...v21.1.1) ### Release Notes for v21.1.1 #### Fixes - Fixed a drag-and-drop issue on macOS where items would be incorrectly moved instead of copied in some contexts. [#​35977](https://togithub.com/electron/electron/pull/35977) (Also in [20](https://togithub.com/electron/electron/pull/35978), [22](https://togithub.com/electron/electron/pull/35976)) - Fixed a potential memory leak. [#​35965](https://togithub.com/electron/electron/pull/35965) (Also in [22](https://togithub.com/electron/electron/pull/35964)) - Fixed an issue where some options were incorrectly ignored when using `webContents.printToPDF()`. [#​35992](https://togithub.com/electron/electron/pull/35992) (Also in [22](https://togithub.com/electron/electron/pull/35993)) - Fixed on-screen-keyboard not hiding on input rendered in webview is blurred. [#​35982](https://togithub.com/electron/electron/pull/35982) (Also in [20](https://togithub.com/electron/electron/pull/35981), [22](https://togithub.com/electron/electron/pull/35983)) - You can now import the built-in electron module via ESModule loaders, i.e. `import('electron')` and `import 'electron'` now work natively. [#​35958](https://togithub.com/electron/electron/pull/35958) (Also in [20](https://togithub.com/electron/electron/pull/35956), [22](https://togithub.com/electron/electron/pull/35957)) #### Other Changes - Modified the Windows 11 WCO to match the native look more closely. [#​35970](https://togithub.com/electron/electron/pull/35970) (Also in [20](https://togithub.com/electron/electron/pull/35968)) - Updated Chromium to 106.0.5249.103. [#​35933](https://togithub.com/electron/electron/pull/35933) ### [`v21.1.0`](https://togithub.com/electron/electron/releases/tag/v21.1.0): electron v21.1.0 [Compare Source](https://togithub.com/electron/electron/compare/v21.0.1...v21.1.0) ### Release Notes for v21.1.0 #### Features - Added `WebContents.opener` to access window opener. - Added `webContents.fromFrame(frame)` to get the WebContents corresponding to a WebFrameMain instance. [#​35819](https://togithub.com/electron/electron/pull/35819) #### Fixes - Provided display_id for desktopCapturer on Linux. [#​35836](https://togithub.com/electron/electron/pull/35836) (Also in [19](https://togithub.com/electron/electron/pull/35835), [20](https://togithub.com/electron/electron/pull/35834)) #### Other Changes - Updated Chromium to 106.0.5249.91. [#​35871](https://togithub.com/electron/electron/pull/35871) #### Documentation - Documentation changes: [#​35907](https://togithub.com/electron/electron/pull/35907) ### [`v21.0.1`](https://togithub.com/electron/electron/releases/tag/v21.0.1): electron v21.0.1 [Compare Source](https://togithub.com/electron/electron/compare/v21.0.0...v21.0.1) ### Release Notes for v21.0.1 #### Fixes - Fixed: If a custom Electron build contains an electron.d.ts file, it is now being used. [#​35822](https://togithub.com/electron/electron/pull/35822) (Also in [20](https://togithub.com/electron/electron/pull/35823)) #### Other Changes - Updated Chromium to 106.0.5249.61. [#​35833](https://togithub.com/electron/electron/pull/35833) ### [`v21.0.0`](https://togithub.com/electron/electron/releases/tag/v21.0.0): electron v21.0.0 [Compare Source](https://togithub.com/electron/electron/compare/v20.3.11...v21.0.0) ### Release Notes for v21.0.0 #### Stack Upgrades - Chromium 106.0.5249.51 - [New in 106](https://developer.chrome.com/blog/new-in-chrome-106) - [New in 105](https://developer.chrome.com/blog/new-in-chrome-105/) - Node v16.16.0 - [v16.16.0 release notes](https://nodejs.org/en/blog/release/v16.16.0/) - V8 v10.6 #### Breaking Changes - Enabled the V8 memory cage for external buffers. See https://www.electronjs.org/blog/v8-memory-cage for more details. [#​34724](https://togithub.com/electron/electron/pull/34724) - Refactored `webContents.printToPDF` to align with the Chrome Devtools implementation. [#​33654](https://togithub.com/electron/electron/pull/33654) #### Features - Added `LoadBrowserProcessSpecificV8Snapshot` as a new fuse that will let the main/browser process load its v8 snapshot from a file at `browser_v8_context_snapshot.bin`. Any other process will use the same path as is used today. [#​35695](https://togithub.com/electron/electron/pull/35695) (Also in [20](https://togithub.com/electron/electron/pull/35694)) - Added `app.getSystemLocale()` method. [#​35794](https://togithub.com/electron/electron/pull/35794) - Added `webFrameMain.origin`. [#​35534](https://togithub.com/electron/electron/pull/35534) (Also in [19](https://togithub.com/electron/electron/pull/35624), [20](https://togithub.com/electron/electron/pull/35535)) - Added deprecation warning for the `new-window` event. [#​34528](https://togithub.com/electron/electron/pull/34528) (Also in [20](https://togithub.com/electron/electron/pull/34593)) - Added immersive dark mode on Windows. [#​33624](https://togithub.com/electron/electron/pull/33624) (Also in [20](https://togithub.com/electron/electron/pull/34549)) - Added new `WebContents.ipc` and `WebFrameMain.ipc` APIs. [#​35231](https://togithub.com/electron/electron/pull/35231) - Added support for Web Bluetooth pin pairing on Linux and Windows. [#​35818](https://togithub.com/electron/electron/pull/35818) - Added support for panel-like behavior. Window can float over full-screened apps. [#​34388](https://togithub.com/electron/electron/pull/34388) (Also in [20](https://togithub.com/electron/electron/pull/34665)) - Added support for push notifications from APNs for macOS apps. [#​33574](https://togithub.com/electron/electron/pull/33574) #### Fixes - Enable missing HKDF support in Node.js `crypto`. [#​34767](https://togithub.com/electron/electron/pull/34767) - Fixed a crash that occured when loading non-standard schemes from iframes. [#​35517](https://togithub.com/electron/electron/pull/35517) - Fixed a crash when switching origins with emulation settings set. [#​35488](https://togithub.com/electron/electron/pull/35488) - Fixed an issue where `screen.getCursorScreenPoint()` crashed on Wayland when it was called before a `BrowserWindow` had been created. [#​35575](https://togithub.com/electron/electron/pull/35575) - Fixed an issue where `serialPort.open()` failed with `NetworkError: Failed to open serial port.`. [#​35339](https://togithub.com/electron/electron/pull/35339) - Fixed an issue where invalid `pageSize` values would cause a silent hang and eventual crash. [#​34893](https://togithub.com/electron/electron/pull/34893) - Fixed an issue where some spellcheck functionality would incorrectly throw errors on macOS. [#​35679](https://togithub.com/electron/electron/pull/35679) - Fixed the 'length' property in UploadFile objects being ignored. [#​34657](https://togithub.com/electron/electron/pull/34657) ##### Also in earlier versions... - Added a background to the WCO container to avoid rendering glitches. [#​35612](https://togithub.com/electron/electron/pull/35612) (Also in [19](https://togithub.com/electron/electron/pull/35610), [20](https://togithub.com/electron/electron/pull/35611)) - Added support for `--ozone-platform-hint` flag on Linux. [#​34937](https://togithub.com/electron/electron/pull/34937) (Also in [19](https://togithub.com/electron/electron/pull/35015), [20](https://togithub.com/electron/electron/pull/35014)) - Adds a warning for building native modules with node-gyp and electron-rebuild, encouraging users to upgrade to >=8.4.0 for node-gyp and >=3.2.8 for electron-rebuild if using Electron 20 or higher.. [#​35159](https://togithub.com/electron/electron/pull/35159) (Also in [20](https://togithub.com/electron/electron/pull/35160)) - Do not exit when logging initialization fails. [#​35138](https://togithub.com/electron/electron/pull/35138) (Also in [20](https://togithub.com/electron/electron/pull/35190)) - Enable WCO maximize button when window enters tablet mode and is not already maximized. [#​35664](https://togithub.com/electron/electron/pull/35664) (Also in [19](https://togithub.com/electron/electron/pull/35677), [20](https://togithub.com/electron/electron/pull/35663)) - Ensures that `requestMediaKeySystemAccess` eventually resolves / rejects. [#​34886](https://togithub.com/electron/electron/pull/34886) (Also in [19](https://togithub.com/electron/electron/pull/34890), [20](https://togithub.com/electron/electron/pull/34891)) - Fixed 20.0.0-beta.8 X11 crash regression. [#​35075](https://togithub.com/electron/electron/pull/35075) (Also in [20](https://togithub.com/electron/electron/pull/35092)) - Fixed WCO not responding to touch events on windows. [#​35117](https://togithub.com/electron/electron/pull/35117) (Also in [18](https://togithub.com/electron/electron/pull/35177), [19](https://togithub.com/electron/electron/pull/35176), [20](https://togithub.com/electron/electron/pull/35174)) - Fixed `_dyld_missing_symbol_abort` crash on macOS when using c++ native modules. [#​34932](https://togithub.com/electron/electron/pull/34932) (Also in [20](https://togithub.com/electron/electron/pull/34944)) - Fixed `serial-port-added` and `serial-port-removed` events not firing. [#​34958](https://togithub.com/electron/electron/pull/34958) (Also in [20](https://togithub.com/electron/electron/pull/35047)) - Fixed `uv_os_gethostname` failing on Windows 7. [#​35704](https://togithub.com/electron/electron/pull/35704) (Also in [19](https://togithub.com/electron/electron/pull/35703), [20](https://togithub.com/electron/electron/pull/35705)) - Fixed `webContents.getUserAgent()` incorrectly returning an empty string unless previously set. [#​35069](https://togithub.com/electron/electron/pull/35069) (Also in [18](https://togithub.com/electron/electron/pull/35130), [19](https://togithub.com/electron/electron/pull/35132), [20](https://togithub.com/electron/electron/pull/35131)) - Fixed a Windows Control Overlay issue where a window taken directly from minimized to maximized state could have incorrect hover state. [#​35070](https://togithub.com/electron/electron/pull/35070) (Also in [19](https://togithub.com/electron/electron/pull/35073), [20](https://togithub.com/electron/electron/pull/35074)) - Fixed a bug where calling `atob` in the renderer process could fail under some circumstances. [#​35443](https://togithub.com/electron/electron/pull/35443) (Also in [19](https://togithub.com/electron/electron/pull/35444), [20](https://togithub.com/electron/electron/pull/35445)) - Fixed a crash when calling `BrowserWindow.setEnabled()`. [#​34904](https://togithub.com/electron/electron/pull/34904) (Also in [18](https://togithub.com/electron/electron/pull/34973), [19](https://togithub.com/electron/electron/pull/34971), [20](https://togithub.com/electron/electron/pull/34972)) - Fixed a crash when loading a same-origin URL after a render process crash. [#​34428](https://togithub.com/electron/electron/pull/34428) (Also in [18](https://togithub.com/electron/electron/pull/34430), [19](https://togithub.com/electron/electron/pull/34431), [20](https://togithub.com/electron/electron/pull/34432)) - Fixed a performance problem in `crashReporter.start()` on macOS. [#​34609](https://togithub.com/electron/electron/pull/34609) (Also in [17](https://togithub.com/electron/electron/pull/34637), [18](https://togithub.com/electron/electron/pull/34640), [19](https://togithub.com/electron/electron/pull/34638), [20](https://togithub.com/electron/electron/pull/34639)) - Fixed a potential crash on WebWorker destruction. [#​35492](https://togithub.com/electron/electron/pull/35492) (Also in [19](https://togithub.com/electron/electron/pull/35490), [20](https://togithub.com/electron/electron/pull/35491)) - Fixed a potential crash when changing window settings after initializing WCO with an invalid `titleBarStyle`. [#​34833](https://togithub.com/electron/electron/pull/34833) (Also in [17](https://togithub.com/electron/electron/pull/35031), [18](https://togithub.com/electron/electron/pull/34873), [19](https://togithub.com/electron/electron/pull/34874), [20](https://togithub.com/electron/electron/pull/34875)) - Fixed a potential printing hang. [#​34892](https://togithub.com/electron/electron/pull/34892) (Also in [20](https://togithub.com/electron/electron/pull/34968)) - Fixed alwaysOnTop BrowserWindow option for X11 Linux. [#​34766](https://togithub.com/electron/electron/pull/34766) (Also in [18](https://togithub.com/electron/electron/pull/34911), [19](https://togithub.com/electron/electron/pull/34912), [20](https://togithub.com/electron/electron/pull/34913)) - Fixed an edge case in `app.isInApplicationsFolder()` which would return false incorrectly in some cases. [#​35730](https://togithub.com/electron/electron/pull/35730) (Also in [19](https://togithub.com/electron/electron/pull/35729), [20](https://togithub.com/electron/electron/pull/35731)) - Fixed an error where `setWindowOpenHandler()` would crash if the callback threw an error. [#​34523](https://togithub.com/electron/electron/pull/34523) (Also in [17](https://togithub.com/electron/electron/pull/34772), [18](https://togithub.com/electron/electron/pull/34627), [19](https://togithub.com/electron/electron/pull/34546), [20](https://togithub.com/electron/electron/pull/34547)) - Fixed an issue in which calling setBounds() after e.preventDefault in a 'will-move' or 'will-resize' event wouldn't change the window's shape until the mouse button was released. [#​34843](https://togithub.com/electron/electron/pull/34843) (Also in [19](https://togithub.com/electron/electron/pull/35083), [20](https://togithub.com/electron/electron/pull/35084)) - Fixed an issue where BrowserViews didn't always visually update after call to `setBounds`. [#​34581](https://togithub.com/electron/electron/pull/34581) (Also in [18](https://togithub.com/electron/electron/pull/34641), [19](https://togithub.com/electron/electron/pull/34642), [20](https://togithub.com/electron/electron/pull/34643)) - Fixed an issue where BrowserWindows on macOS were incorrectly marked as resizable. [#​34379](https://togithub.com/electron/electron/pull/34379) (Also in [18](https://togithub.com/electron/electron/pull/34907), [19](https://togithub.com/electron/electron/pull/34906), [20](https://togithub.com/electron/electron/pull/34433)) - Fixed an issue where DataList bounds had part of the item text cut off vertically. [#​34759](https://togithub.com/electron/electron/pull/34759) (Also in [19](https://togithub.com/electron/electron/pull/34785), [20](https://togithub.com/electron/electron/pull/34786)) - Fixed an issue where DevTools could not be docked with Windows Control Overlay enabled. [#​35765](https://togithub.com/electron/electron/pull/35765) (Also in [19](https://togithub.com/electron/electron/pull/35763), [20](https://togithub.com/electron/electron/pull/35764)) - Fixed an issue where WCO could occlude DevTools opened in any non-detached mode. [#​35688](https://togithub.com/electron/electron/pull/35688) (Also in [18](https://togithub.com/electron/electron/pull/35307), [19](https://togithub.com/electron/electron/pull/35308), [20](https://togithub.com/electron/electron/pull/35309)) - Fixed an issue where Windows Control Overlay buttons did not respect maximizable/minimizable/closable states of a BrowserWindow. [#​34677](https://togithub.com/electron/electron/pull/34677) (Also in [17](https://togithub.com/electron/electron/pull/34733), [18](https://togithub.com/electron/electron/pull/34720), [19](https://togithub.com/electron/electron/pull/34722), [20](https://togithub.com/electron/electron/pull/34721)) - Fixed an issue where app.relaunch loses args when execPath is specified. [#​35254](https://togithub.com/electron/electron/pull/35254) (Also in [19](https://togithub.com/electron/electron/pull/35252), [20](https://togithub.com/electron/electron/pull/35253))
socket-security[bot] commented 1 year ago

Socket Security Pull Request Report

Dependency issues detected. If you merge this pull request, you will not be alerted to the instances of these issues again.

πŸ“œ Install scripts

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

Package Script field Source
electron@22.2.0 (upgraded) postinstall package-lock.json, package.json via @electron/remote@2.0.9, spectron@19.0.0
Pull request report summary
Issue Status
Install scripts ⚠️ 1 issue
Native code βœ… 0 issues
Bin script confusion βœ… 0 issues
Bin script shell injection βœ… 0 issues
Unresolved require βœ… 0 issues
Invalid package.json βœ… 0 issues
HTTP dependency βœ… 0 issues
Git dependency βœ… 0 issues
Potential typo squat βœ… 0 issues
Known Malware βœ… 0 issues
Telemetry βœ… 0 issues
Protestware/Troll package βœ… 0 issues
Bot Commands

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of package-name@version specifiers. e.g. @SocketSecurity ignore foo@1.0.0 bar@2.4.2

  • @SocketSecurity ignore electron@22.2.0

Powered by socket.dev