webtorrent / webtorrent-desktop

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

chore(deps): update dependency electron to v15 #2051

Closed renovate[bot] closed 3 years ago

renovate[bot] commented 3 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
electron 13.4.0 -> 15.0.0 age adoption passing confidence

Release Notes

electron/electron ### [`v15.0.0`](https://togithub.com/electron/electron/releases/v15.0.0) [Compare Source](https://togithub.com/electron/electron/compare/v14.0.1...v15.0.0) ### Release Notes for v15.0.0 #### Stack Upgrades - Chromium 94.0.4606.51. - [New in 94](https://developer.chrome.com/blog/deps-rems-94/) - Node v16.5.0. - [16.5.0](https://togithub.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#​16.5.0) - [16.4.2](https://togithub.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#​16.4.2) - [16.4.1](https://togithub.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#​16.4.1) - [16.4.0](https://togithub.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#​16.4.0) - [16.3.0](https://togithub.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#​16.3.0) - [16.2.0](https://togithub.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#​16.2.0) - [16.1.0](https://togithub.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#​16.1.0) - [16.0.0](https://togithub.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#​16.0.0) - [15 ChangeLog](https://togithub.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V15.md) - [14 ChangeLog](https://togithub.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V14.md) - V8 - [v9.4 blog post](https://v8.dev/blog/v8-release-94) #### Breaking Changes - `nativeWindowOpen: true` is now the default. [#​28552](https://togithub.com/electron/electron/pull/28552) #### Features ##### Additions - Added 'dom-ready' event to `WebFrameMain` which emits when the frame's document is ready. - Added 'frame-created' event to `WebContents` which emits when a frame is created in the page. [#​30801](https://togithub.com/electron/electron/pull/30801) - Added `.sendToFrame()` / `frameId` to `'ipc-message'` event. [#​30704](https://togithub.com/electron/electron/pull/30704) - Added `` `'did-redirect-navigation'` event. [#​30664](https://togithub.com/electron/electron/pull/30664) - Added `app.configureHostResolver` API for configuring DNS-over-HTTPS. [#​30775](https://togithub.com/electron/electron/pull/30775) - Added `location` and `modifiers` to the event properties provided in the `'before-input-event'` WebContents event. [#​29850](https://togithub.com/electron/electron/pull/29850) - Added `safeStorage` string encryption API. [#​30430](https://togithub.com/electron/electron/pull/30430) - Added `signal` option to `dialog.showMessageBox`. [#​26102](https://togithub.com/electron/electron/pull/26102) - Added `webContents.fromDevToolsTargetId(targetId)` to lookup a WebContents instance from an associated Chrome DevTools Protocol TargetID. [#​30733](https://togithub.com/electron/electron/pull/30733) (Also in [14](https://togithub.com/electron/electron/pull/30732)) - Added an [Electron Fuse](https://www.electronjs.org/docs/tutorial/fuses) for enforcing code signatures on the `app.asar` file your application loads. Requires the latest `asar` module. [#​30900](https://togithub.com/electron/electron/pull/30900) - Added experimental cookie encryption support behind an [Electron Fuse](https://www.electronjs.org/docs/tutorial/fuses). [#​27524](https://togithub.com/electron/electron/pull/27524) (Also in [13](https://togithub.com/electron/electron/pull/29493), [14](https://togithub.com/electron/electron/pull/29492)) - Added fuses to disable `NODE_OPTIONS` and `--inspect` debug arguments in packaged apps. [#​30420](https://togithub.com/electron/electron/pull/30420) - Added missing `resourceType` conversions for `webRequest` listener details: `font`, `ping`, `cspReport`, `media`, `webSocket`. [#​29902](https://togithub.com/electron/electron/pull/29902) (Also in [14](https://togithub.com/electron/electron/pull/30050)) - Added new `MenuItem.userAccelerator` property to read user-assigned macOS accelerator overrides. [#​26682](https://togithub.com/electron/electron/pull/26682) - Added new `app.runningUnderARM64Translation` property to detect when running under Rosetta on Apple Silicon, or WOW on Windows for ARM. [#​29168](https://togithub.com/electron/electron/pull/29168) - Added new `imageAnimationPolicy` web preference to control how images are animated. [#​29095](https://togithub.com/electron/electron/pull/29095) - Added resize `edge` info to `BrowserWindow`'s `will-resize` event. [#​29199](https://togithub.com/electron/electron/pull/29199) - Added support for Windows Control Overlay on Windows. [#​30497](https://togithub.com/electron/electron/pull/30497) (Also in [14](https://togithub.com/electron/electron/pull/30678)) - Added support for Windows Control Overlay on macOS. [#​29253](https://togithub.com/electron/electron/pull/29253) (Also in [14](https://togithub.com/electron/electron/pull/29986)) - Added support for debug URLs such as `chrome://gpucrash`. [#​29404](https://togithub.com/electron/electron/pull/29404) (Also in [13](https://togithub.com/electron/electron/pull/29491), [14](https://togithub.com/electron/electron/pull/29466)) - Added support for directing Chromium logging to a file with `--log-file=.../path/to/file.log`. Also, it's now possible to enable logging from JavaScript by appending command-line switches during the first JS tick. [#​25089](https://togithub.com/electron/electron/pull/25089) (Also in [14](https://togithub.com/electron/electron/pull/29963)) - Added support for sending Blobs over the context bridge. [#​29247](https://togithub.com/electron/electron/pull/29247) ##### Improvements - Extended `continue-activity` event API to support `webpageURL` property from `NSUserActivity`. [#​30042](https://togithub.com/electron/electron/pull/30042) #### Fixes - Fixed a crash when selecting and opening files in a native file dialog on Mac. [#​30936](https://togithub.com/electron/electron/pull/30936) - Fixed a crash when selecting files in a native file dialog on Windows and Linux. [#​30927](https://togithub.com/electron/electron/pull/30927) - Fixed an issue where `GDK_BACKEND` was being propagated to subprocesses on Linux. [#​28898](https://togithub.com/electron/electron/pull/28898) - Fixed potential crash when programmatically closing a draggable frameless child window. [#​31027](https://togithub.com/electron/electron/pull/31027) - Fixed typescript export definitions such that not-exported values are not declared in the exports interface. [#​28712](https://togithub.com/electron/electron/pull/28712) - Installing the `electron` package on an M1 macbook while using an x64 version of node will now automatically download the arm64 version of Electron instead of the x64 version. [#​29953](https://togithub.com/electron/electron/pull/29953) ##### Also in earlier versions.... - Electron Fuses are now in a consistent order across platforms. [#​29599](https://togithub.com/electron/electron/pull/29599) (Also in [13](https://togithub.com/electron/electron/pull/29615), [14](https://togithub.com/electron/electron/pull/29616)) - Fixed an issue where `fs.promises.readFile` would improperly error when passing a `FileHandle` to the ` path `argument. [#​29528](https://togithub.com/electron/electron/pull/29528) (Also in [12](https://togithub.com/electron/electron/pull/29575), [13](https://togithub.com/electron/electron/pull/29576), [14](https://togithub.com/electron/electron/pull/29577)) - Fixed BrowserWindow's backgroundColor option not having an effect. [#​30777](https://togithub.com/electron/electron/pull/30777) (Also in [14](https://togithub.com/electron/electron/pull/30819)) - Fixed CORS preflight request always being cancelled when connecting via proxy requiring authentication for apps that had registered WebRequest listeners. [#​29266](https://togithub.com/electron/electron/pull/29266) (Also in [12](https://togithub.com/electron/electron/pull/29810), [13](https://togithub.com/electron/electron/pull/29811), [14](https://togithub.com/electron/electron/pull/29812)) - Fixed `documentEdited` status not updating close button for frameless window on macOS. [#​30392](https://togithub.com/electron/electron/pull/30392) (Also in [13](https://togithub.com/electron/electron/pull/30393), [14](https://togithub.com/electron/electron/pull/30391)) - Fixed `requestFullscreen` inside webview does not make the element take fullscreen. [#​29952](https://togithub.com/electron/electron/pull/29952) (Also in [12](https://togithub.com/electron/electron/pull/29988), [13](https://togithub.com/electron/electron/pull/29987), [14](https://togithub.com/electron/electron/pull/29989)) - Fixed `select-bluetooth-device` firing on Windows. [#​29591](https://togithub.com/electron/electron/pull/29591) (Also in [12](https://togithub.com/electron/electron/pull/29612), [13](https://togithub.com/electron/electron/pull/29611), [14](https://togithub.com/electron/electron/pull/29613)) - Fixed a crash in the repl when `SharedArrayBuffer` is disabled. [#​30483](https://togithub.com/electron/electron/pull/30483) (Also in [14](https://togithub.com/electron/electron/pull/30484)) - Fixed a crash when `process.exit` is called and `nativeWindowOpen` is enabled. [#​30238](https://togithub.com/electron/electron/pull/30238) (Also in [14](https://togithub.com/electron/electron/pull/30235)) - Fixed a crash when calling the `webContents.on('login')` callback synchronously. [#​30068](https://togithub.com/electron/electron/pull/30068) (Also in [12](https://togithub.com/electron/electron/pull/30092), [13](https://togithub.com/electron/electron/pull/30091), [14](https://togithub.com/electron/electron/pull/30090)) - Fixed a hang when denying a `window.open` using `setWindowOpenHandler` when `nativeWindowOpen: false`. [#​29851](https://togithub.com/electron/electron/pull/29851) (Also in [12](https://togithub.com/electron/electron/pull/29881), [13](https://togithub.com/electron/electron/pull/29882), [14](https://togithub.com/electron/electron/pull/29883)) - Fixed a potential crash that would occur with draggable regions on Windows. [#​30328](https://togithub.com/electron/electron/pull/30328) (Also in [13](https://togithub.com/electron/electron/pull/30326), [14](https://togithub.com/electron/electron/pull/30327)) - Fixed a potential crash when calling `app.quit()` on macOS. [#​29941](https://togithub.com/electron/electron/pull/29941) (Also in [12](https://togithub.com/electron/electron/pull/30138), [13](https://togithub.com/electron/electron/pull/29961), [14](https://togithub.com/electron/electron/pull/29962)) - Fixed a potential crash when setting vibrancy on macOS. [#​29677](https://togithub.com/electron/electron/pull/29677) (Also in [13](https://togithub.com/electron/electron/pull/29722), [14](https://togithub.com/electron/electron/pull/29723)) - Fixed an issue on Mac where an application could not capture its own window using the desktop capture or getMediaSourceId APIs. [#​30525](https://togithub.com/electron/electron/pull/30525) (Also in [13](https://togithub.com/electron/electron/pull/30523), [14](https://togithub.com/electron/electron/pull/30524)) - Fixed an issue on Windows where empty console windows were appearing when `--enable-logging` was present. [#​30386](https://togithub.com/electron/electron/pull/30386) (Also in [14](https://togithub.com/electron/electron/pull/30385)) - Fixed an issue present in `webView` where the `leave-html-full-screen` event is not emitted if the user exits fullscreen with `esc` instead of by clicking into the `webView`. [#​30562](https://togithub.com/electron/electron/pull/30562) (Also in [12](https://togithub.com/electron/electron/pull/30669), [13](https://togithub.com/electron/electron/pull/30560), [14](https://togithub.com/electron/electron/pull/30561)) - Fixed an issue where BrowserWindows would not properly honor `transparency: true` or a `backgroundColor` being set in their constructor options. [#​30136](https://togithub.com/electron/electron/pull/30136) (Also in [14](https://togithub.com/electron/electron/pull/30159)) - Fixed an issue where Electron would sometimes not honor the user-defined Downloads directory. [#​29938](https://togithub.com/electron/electron/pull/29938) (Also in [12](https://togithub.com/electron/electron/pull/29966), [13](https://togithub.com/electron/electron/pull/29968), [14](https://togithub.com/electron/electron/pull/29967)) - Fixed an issue where `BrowserView` webContents would appear not to load in some circumstances. [#​30336](https://togithub.com/electron/electron/pull/30336) (Also in [14](https://togithub.com/electron/electron/pull/30335)) - Fixed an issue where `self.module.paths` wouldn't work in Workers. [#​29955](https://togithub.com/electron/electron/pull/29955) (Also in [12](https://togithub.com/electron/electron/pull/30012), [13](https://togithub.com/electron/electron/pull/30013), [14](https://togithub.com/electron/electron/pull/30014)) - Fixed an issue where a specified aspect ratio could become incorrect when maximizing a window on macOS. [#​30332](https://togithub.com/electron/electron/pull/30332) (Also in [12](https://togithub.com/electron/electron/pull/30329), [13](https://togithub.com/electron/electron/pull/30330), [14](https://togithub.com/electron/electron/pull/30331)) - Fixed an issue where background color would not be correctly applied to `BrowserViews` on Windows when either the `x` or `y` coordinate is negative (off-screen). [#​30542](https://togithub.com/electron/electron/pull/30542) (Also in [13](https://togithub.com/electron/electron/pull/30540), [14](https://togithub.com/electron/electron/pull/30541)) - Fixed an issue where custom traffic lights could be covered by BrowserViews on macOS. [#​29595](https://togithub.com/electron/electron/pull/29595) (Also in [13](https://togithub.com/electron/electron/pull/29663), [14](https://togithub.com/electron/electron/pull/29628)) - Fixed an issue where draggable regions sometimes did not work properly when DevTools is open. [#​29696](https://togithub.com/electron/electron/pull/29696) (Also in [12](https://togithub.com/electron/electron/pull/29733), [13](https://togithub.com/electron/electron/pull/29734), [14](https://togithub.com/electron/electron/pull/29735)) - Fixed an issue where dropdown menus did not work in DevTools when `contextIsolation` was enabled. [#​29841](https://togithub.com/electron/electron/pull/29841) (Also in [13](https://togithub.com/electron/electron/pull/29885), [14](https://togithub.com/electron/electron/pull/29886)) - Fixed an issue where multiple calls to`BrowserWindow.setResizable()` can cause the zoom button to incorrectly be disabled on macOS. [#​31014](https://togithub.com/electron/electron/pull/31014) (Also in [14](https://togithub.com/electron/electron/pull/31013)) - Fixed an issue where request headers were cleared if the optional "requestHeaders" parameter was not included in the webRequest.onBeforeSendHeaders callback response object. [#​29798](https://togithub.com/electron/electron/pull/29798) (Also in [12](https://togithub.com/electron/electron/pull/29834), [13](https://togithub.com/electron/electron/pull/29836), [14](https://togithub.com/electron/electron/pull/29835)) - Fixed an issue where right-clicking in the devtools console throws an error. [#​29436](https://togithub.com/electron/electron/pull/29436) (Also in [14](https://togithub.com/electron/electron/pull/29472)) - Fixed an issue where the TouchBarScrubber crashes when `showArrowButtons` is enabled if `items` is an empty array. [#​30681](https://togithub.com/electron/electron/pull/30681) (Also in [13](https://togithub.com/electron/electron/pull/30680), [14](https://togithub.com/electron/electron/pull/30679)) - Fixed an issue where the `setAlwaysOnTop` value would sometimes not be preserved for child windows on macOS. [#​29813](https://togithub.com/electron/electron/pull/29813) (Also in [12](https://togithub.com/electron/electron/pull/29957), [13](https://togithub.com/electron/electron/pull/29956), [14](https://togithub.com/electron/electron/pull/29855)) - Fixed an issue where the traffic lights would get double-drawn when exiting fullscreen and adding a `BrowserView` on macOS. [#​30114](https://togithub.com/electron/electron/pull/30114) (Also in [13](https://togithub.com/electron/electron/pull/30149), [14](https://togithub.com/electron/electron/pull/30150)) - Fixed an issue where the user-data directory was incorrect in unpackaged apps. [#​30113](https://togithub.com/electron/electron/pull/30113) (Also in [14](https://togithub.com/electron/electron/pull/30142)) - Fixed an issue where toggling `documentEdited` status on macOS with `titlebarStyle: 'hiddenInset'` inadvertently moves the traffic light location. [#​30604](https://togithub.com/electron/electron/pull/30604) (Also in [13](https://togithub.com/electron/electron/pull/30603), [14](https://togithub.com/electron/electron/pull/30605)) - Fixed an issue where undocked devtools was not resizable on Windows. [#​30848](https://togithub.com/electron/electron/pull/30848) (Also in [14](https://togithub.com/electron/electron/pull/30847)) - Fixed an issue with PDF loading on Windows, where metadata was not loading correctly and causing the PDF to load as a blank page. [#​29827](https://togithub.com/electron/electron/pull/29827) (Also in [13](https://togithub.com/electron/electron/pull/29830), [14](https://togithub.com/electron/electron/pull/29831)) - Fixed beta-only bug that caused mouse clicks to not be processed in frameless windows. [#​30460](https://togithub.com/electron/electron/pull/30460) (Also in [14](https://togithub.com/electron/electron/pull/30459)) - Fixed crash when clicking links with `target=_blank` from webview. [#​29874](https://togithub.com/electron/electron/pull/29874) (Also in [12](https://togithub.com/electron/electron/pull/29950), [13](https://togithub.com/electron/electron/pull/29951), [14](https://togithub.com/electron/electron/pull/29949)) - Fixed crashes in debug builds caused by microtasks policy mismatch. [#​29531](https://togithub.com/electron/electron/pull/29531) (Also in [12](https://togithub.com/electron/electron/pull/29807), [13](https://togithub.com/electron/electron/pull/29808), [14](https://togithub.com/electron/electron/pull/29809)) - Fixed crashes on latest gen Intel and Ryzen processors. [#​29689](https://togithub.com/electron/electron/pull/29689) (Also in [14](https://togithub.com/electron/electron/pull/29688)) - Fixed crashes on macOS when `Geolocation` was used. [#​29913](https://togithub.com/electron/electron/pull/29913) (Also in [13](https://togithub.com/electron/electron/pull/29912), [14](https://togithub.com/electron/electron/pull/29914)) - Fixed frameless window having wrong traffic lights position on macOS 11. [#​30270](https://togithub.com/electron/electron/pull/30270) (Also in [13](https://togithub.com/electron/electron/pull/30319), [14](https://togithub.com/electron/electron/pull/30269)) - Fixed hover state not clear bug when BrowserWindow is not resizable. [#​29721](https://togithub.com/electron/electron/pull/29721) (Also in [12](https://togithub.com/electron/electron/pull/29799), [13](https://togithub.com/electron/electron/pull/29800), [14](https://togithub.com/electron/electron/pull/29801)) - Fixed issue where the update permission prompt would cause 100% CPU spin while the prompt was open. [#​29791](https://togithub.com/electron/electron/pull/29791) (Also in [13](https://togithub.com/electron/electron/pull/29805), [14](https://togithub.com/electron/electron/pull/29806)) - Fixed key window status on mac when opening panels or using custom window switchers. [#​29857](https://togithub.com/electron/electron/pull/29857) (Also in [12](https://togithub.com/electron/electron/pull/30067), [14](https://togithub.com/electron/electron/pull/30066)) - Fixed media key `globalShortcut`s on macOS. [#​30570](https://togithub.com/electron/electron/pull/30570) (Also in [14](https://togithub.com/electron/electron/pull/30569)) - Fixed memory leak when creating notification on macOS. [#​29990](https://togithub.com/electron/electron/pull/29990) (Also in [12](https://togithub.com/electron/electron/pull/30007), [13](https://togithub.com/electron/electron/pull/30009), [14](https://togithub.com/electron/electron/pull/30008)) - Fixed memory leak when requesting files in ASAR archive from renderer. [#​29293](https://togithub.com/electron/electron/pull/29293) (Also in [12](https://togithub.com/electron/electron/pull/29548), [13](https://togithub.com/electron/electron/pull/29535), [14](https://togithub.com/electron/electron/pull/29536)) - Fixed missing 'fetch' event in service workers for requests using a registered protocol. [#​29425](https://togithub.com/electron/electron/pull/29425) (Also in [12](https://togithub.com/electron/electron/pull/29447), [13](https://togithub.com/electron/electron/pull/29446), [14](https://togithub.com/electron/electron/pull/29440)) - Fixed page title not being updated on child windows without navigation entries under nativeWindowOpen. [#​29946](https://togithub.com/electron/electron/pull/29946) (Also in [12](https://togithub.com/electron/electron/pull/29960), [13](https://togithub.com/electron/electron/pull/29958), [14](https://togithub.com/electron/electron/pull/29959)) - Fixed potential corruption of piped response data when using interceptHttpProtocol/registerHttpProtocol. [#​29567](https://togithub.com/electron/electron/pull/29567) (Also in [11](https://togithub.com/electron/electron/pull/29667), [12](https://togithub.com/electron/electron/pull/29668), [13](https://togithub.com/electron/electron/pull/29669), [14](https://togithub.com/electron/electron/pull/29670)) - Fixed pressing Alt with mouse click results in toggling menu bar. [#​29318](https://togithub.com/electron/electron/pull/29318) (Also in [12](https://togithub.com/electron/electron/pull/29451), [13](https://togithub.com/electron/electron/pull/29450), [14](https://togithub.com/electron/electron/pull/29452)) - Fixed pressing ESC not exiting fullscreen from `webview`. [#​30063](https://togithub.com/electron/electron/pull/30063) (Also in [12](https://togithub.com/electron/electron/pull/30137), [13](https://togithub.com/electron/electron/pull/30128), [14](https://togithub.com/electron/electron/pull/30127)) - Fixed pressing `Alt+Shift` and `Alt+Ctrl` toggling menu bar on KDE. [#​29328](https://togithub.com/electron/electron/pull/29328) (Also in [12](https://togithub.com/electron/electron/pull/29445), [13](https://togithub.com/electron/electron/pull/29443), [14](https://togithub.com/electron/electron/pull/29444)) - Fixed rare crash in UpdateDraggableRegions. [#​30558](https://togithub.com/electron/electron/pull/30558) (Also in [13](https://togithub.com/electron/electron/pull/30557), [14](https://togithub.com/electron/electron/pull/30559)) - Fixed redirects between locations in custom protocols. [#​29796](https://togithub.com/electron/electron/pull/29796) (Also in [14](https://togithub.com/electron/electron/pull/30156)) - Fixed sending intermediate certificates with 'select-client-certificate' event callback. [#​29552](https://togithub.com/electron/electron/pull/29552) (Also in [12](https://togithub.com/electron/electron/pull/29568), [13](https://togithub.com/electron/electron/pull/29569), [14](https://togithub.com/electron/electron/pull/29570)) - Fixed shifted character getting changed in menu accelerator. [#​29202](https://togithub.com/electron/electron/pull/29202) (Also in [12](https://togithub.com/electron/electron/pull/29483), [13](https://togithub.com/electron/electron/pull/29482), [14](https://togithub.com/electron/electron/pull/29481)) - Fixed some console messages still being printed to logs when the LogJsConsoleMessages feature was disabled. [#​30356](https://togithub.com/electron/electron/pull/30356) (Also in [14](https://togithub.com/electron/electron/pull/30355)) - Fixed stack overflow crash in v8 on windows 32-bit builds. [#​30243](https://togithub.com/electron/electron/pull/30243) (Also in [12](https://togithub.com/electron/electron/pull/30244), [13](https://togithub.com/electron/electron/pull/30241), [14](https://togithub.com/electron/electron/pull/30242)) - Fixed systemPreferences.getSystemColor returning colors missing alpha values. [#​30055](https://togithub.com/electron/electron/pull/30055) (Also in [13](https://togithub.com/electron/electron/pull/30088), [14](https://togithub.com/electron/electron/pull/30087)) - Fixed the 'did-fail-load' event not being emitted when the 'certificate-error' handler allowed an error through. [#​29826](https://togithub.com/electron/electron/pull/29826) (Also in [14](https://togithub.com/electron/electron/pull/29870)) - Fixed the `