From 27d22c2f7e67402e3621d0b2f441b13c635a54ed Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Fri, 23 Aug 2024 10:23:51 -0700
Subject: [PATCH] Bump the electron group with 2 updates (#267)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Bumps the electron group with 2 updates:
[electron-updater](https://github.com/electron-userland/electron-builder/tree/HEAD/packages/electron-updater)
and [electron](https://github.com/electron/electron).
Updates `electron-updater` from 6.3.3 to 6.3.4
Release notes
Sourced from electron-updater's
releases.
electron-updater@6.3.4
Patch Changes
Changelog
Sourced from electron-updater's
changelog.
6.3.4
Patch Changes
Commits
Updates `electron` from 31.4.0 to 32.0.1
Release notes
Sourced from electron's
releases.
electron v32.0.1
Release Notes for v32.0.1
Other Changes
- Security: cherry-pick 9797576 from v8 #43384
electron v32.0.0
Release Notes for v32.0.0
Stack Upgrades
- Chromium
128.0.6613.36
- Node
20.16.0
- V8
12.8
Breaking Changes
- Removed nonstandard
File.path extension from the Web
File API. #42053
- Added the following existing navigation related APIs to
webcontents.navigationHistory: canGoBack,
goBack, canGoForward, goForward,
canGoToOffset, goToOffset, clear.
#41752
Features
Additions
- Added
DownloadItem.getCurrentBytesPerSecond(),
DownloadItem.getPercentComplete(),
DownloadItem.getEndTime(). #42913
(Also in 30,
31)
- Added
cumulativeCPUUsage to AppMetrics and CPUUsage. #41819
- Added a new property
prefersReducedTransparency to
nativeTheme, which indicates whether the user has chosen to
reduce OS-level transparency via system accessibility settings. #43024
(Also in 30,
31)
- Enabled the Windows Control Overlay API on Linux. #42681
(Also in 30,
31)
- Expose
systemPreferences to
utilityProcess. #42599
(Also in 30,
31)
Improvements
- Aligned failure pathway in File System Access API with upstream when
attempting to open a file or directory in a blocked path. #42993
(Also in 30,
31)
- Extended
WebContentsView to accept pre-existing
webContents object. #42086
(Also in 31)
- Improved error messages when
ses.cookies.set fails. #42362
(Also in 29,
30,
31)
Fixes
- Don't check for Desktop Environment in setProgressBar and
setBadgeCount. #41211
- Fixed an error where a minimized or hidden window would thrown an
unresponsive error in the main process. #43053
Also in earlier versions...
- BrowserWindow.show() now correctly restores focus to inactive apps
on macOS. #42300
(Also in 30,
31)
- Electron doesn't paint on offscreen-render mode after gpu process
crashed. #41904
(Also in 29,
30,
31)
- Fix: fixed the
npm run lint not working on Windows. #42905
(Also in 31)
- Fixed a crash in
addChildView if a view is added as its
own child. #42067
(Also in 30,
31)
- Fixed a crash that could occur in some DevTools extensions
containing draggable regions. #43199
(Also in 31)
- Fixed a crash when the same
WebContentsView is added
via addChildView multiple times. #42085
(Also in 30,
31)
- Fixed a focus issue when calling
BrowserWindow.setTopBrowserView. #42733
(Also in 30,
31)
- Fixed a potential crash when removing notifications on Windows. #43060
(Also in 30,
31)
... (truncated)
Changelog
Sourced from electron's
changelog.
Breaking Changes
Breaking changes will be documented here, and deprecation warnings
added to JS code where possible, at least one
major version before the change is made.
Types of Breaking Changes
This document uses the following convention to categorize breaking
changes:
- API Changed: An API was changed in such a way that
code that has not been updated is guaranteed to throw an exception.
- Behavior Changed: The behavior of Electron has
changed, but not in such a way that an exception will necessarily be
thrown.
- Default Changed: Code depending on the old default
may break, not necessarily throwing an exception. The old behavior can
be restored by explicitly specifying the value.
- Deprecated: An API was marked as deprecated. The
API will continue to function, but will emit a deprecation warning, and
will be removed in a future release.
- Removed: An API or feature was removed, and is no
longer supported by Electron.
Planned Breaking API Changes (33.0)
Behavior Changed: webContents property on
login on app
The webContents property in the login event
from app will be null
when the event is triggered for requests from the utility
process
created with respondToAuthRequestsFromMainProcess
option.
Deprecated: textured option in
BrowserWindowConstructorOption.type
The textured option of type in
BrowserWindowConstructorOptions has been deprecated with no
replacement. This option relied on the NSWindowStyleMaskTexturedBackground
style mask on macOS, which has been deprecated with no alternative.
Removed: macOS 10.15 support
macOS 10.15 (Catalina) is no longer supported by Chromium.
Older versions of Electron will continue to run on Catalina, but
macOS 11 (Big Sur)
or later will be required to run Electron v33.0.0 and higher.
Deprecated:
systemPreferences.accessibilityDisplayShouldReduceTransparency
The
systemPreferences.accessibilityDisplayShouldReduceTransparency
property is now deprecated in favor of the new
nativeTheme.prefersReducedTransparency, which provides
identical information and works cross-platform.
// Deprecated
const shouldReduceTransparency =
systemPreferences.accessibilityDisplayShouldReduceTransparency
// Replace with:
const prefersReducedTransparency =
nativeTheme.prefersReducedTransparency
Planned Breaking API Changes (32.0)
Removed: File.path
The nonstandard path property of the Web
File object was added in an early version of Electron as a
convenience method for working with native files when doing everything
in the renderer was more common. However, it represents a deviation from
the standard and poses a minor security risk as well, so beginning in
Electron 32.0 it has been removed in favor of the webUtils.getPathForFile
method.
... (truncated)
Commits
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore ` will
remove the ignore condition of the specified dependency and ignore
conditions
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package.json | 4 ++--
yarn.lock | 24 ++++++++++++------------
2 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/package.json b/package.json
index 47a16a06a..9caaef227 100644
--- a/package.json
+++ b/package.json
@@ -50,7 +50,7 @@
"@types/uuid": "^10.0.0",
"@vitejs/plugin-react-swc": "^3.7.0",
"@vitest/coverage-istanbul": "^2.0.5",
- "electron": "^31.4.0",
+ "electron": "^32.0.1",
"electron-builder": "^24.13.3",
"electron-vite": "^2.3.0",
"eslint": "^9.9.0",
@@ -92,7 +92,7 @@
"color": "^4.2.3",
"css-tree": "^2.3.1",
"dayjs": "^1.11.12",
- "electron-updater": "6.3.3",
+ "electron-updater": "6.3.4",
"fast-average-color": "^9.4.0",
"htl": "^0.3.1",
"html-to-image": "^1.11.11",
diff --git a/yarn.lock b/yarn.lock
index b6910be7b..1c880a56a 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -6624,9 +6624,9 @@ __metadata:
languageName: node
linkType: hard
-"electron-updater@npm:6.3.3":
- version: 6.3.3
- resolution: "electron-updater@npm:6.3.3"
+"electron-updater@npm:6.3.4":
+ version: 6.3.4
+ resolution: "electron-updater@npm:6.3.4"
dependencies:
builder-util-runtime: "npm:9.2.5"
fs-extra: "npm:^10.1.0"
@@ -6634,9 +6634,9 @@ __metadata:
lazy-val: "npm:^1.0.5"
lodash.escaperegexp: "npm:^4.1.2"
lodash.isequal: "npm:^4.5.0"
- semver: "npm:^7.3.8"
+ semver: "npm:^7.6.3"
tiny-typed-emitter: "npm:^2.1.0"
- checksum: 10c0/717ebc0b66b8d49ab9dd6de85d26afdb3455cb61cf0b09420fcc007cbc75a98fcd3513c58c9f5e196dc4ca59e13198229125cca052ab4e582add280fdba05314
+ checksum: 10c0/ca67160d251c16f896672e15b81dcfbf759a6a8350dc919666d426207e60038d20b75c5351705af3153ae686621d2856df2ce68ed538e0aad397ef90723d0da1
languageName: node
linkType: hard
@@ -6675,16 +6675,16 @@ __metadata:
languageName: node
linkType: hard
-"electron@npm:^31.4.0":
- version: 31.4.0
- resolution: "electron@npm:31.4.0"
+"electron@npm:^32.0.1":
+ version: 32.0.1
+ resolution: "electron@npm:32.0.1"
dependencies:
"@electron/get": "npm:^2.0.0"
"@types/node": "npm:^20.9.0"
extract-zip: "npm:^2.0.1"
bin:
electron: cli.js
- checksum: 10c0/9ed10f363f864912bb9be0a387309babb476df20473ed7ea3f8df609daf19125763fe9ba4b9f5b422673b688e00b31afc52b308623829b7cced28f99687a9d03
+ checksum: 10c0/274412b2da617c2489f4cb0bcbd2316a8429adbc07ef8a469e5f312ca3113558b7e9b25fdc78faea95270ee11ed155c5cf4a5b11083342577defcb9b298012d7
languageName: node
linkType: hard
@@ -11815,7 +11815,7 @@ __metadata:
languageName: node
linkType: hard
-"semver@npm:^7.3.8":
+"semver@npm:^7.3.8, semver@npm:^7.6.3":
version: 7.6.3
resolution: "semver@npm:7.6.3"
bin:
@@ -12455,9 +12455,9 @@ __metadata:
color: "npm:^4.2.3"
css-tree: "npm:^2.3.1"
dayjs: "npm:^1.11.12"
- electron: "npm:^31.4.0"
+ electron: "npm:^32.0.1"
electron-builder: "npm:^24.13.3"
- electron-updater: "npm:6.3.3"
+ electron-updater: "npm:6.3.4"
electron-vite: "npm:^2.3.0"
eslint: "npm:^9.9.0"
eslint-config-prettier: "npm:^9.1.0"