Upgrade electron to 25.4.0

This commit is contained in:
Fedor Indutny 2023-08-07 20:42:01 +02:00 committed by GitHub
parent 1315d3cfe0
commit 55394e17c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 6 deletions

View file

@ -266,7 +266,7 @@
"css-loader": "3.2.0", "css-loader": "3.2.0",
"danger": "11.1.2", "danger": "11.1.2",
"debug": "4.3.3", "debug": "4.3.3",
"electron": "25.3.2", "electron": "25.4.0",
"electron-builder": "23.0.8", "electron-builder": "23.0.8",
"electron-mocha": "11.0.2", "electron-mocha": "11.0.2",
"electron-notarize": "1.2.1", "electron-notarize": "1.2.1",

View file

@ -25,9 +25,10 @@ describe('PreventDisplaySleepService', () => {
return result; return result;
} }
stop(id: number): void { stop(id: number): boolean {
assert(this.idsStarted.has(id), `${id} was never started`); assert(this.idsStarted.has(id), `${id} was never started`);
this.idsStarted.delete(id); this.idsStarted.delete(id);
return false;
} }
// This is only for testing. // This is only for testing.

View file

@ -8267,10 +8267,10 @@ electron-window@^0.8.0:
dependencies: dependencies:
is-electron-renderer "^2.0.0" is-electron-renderer "^2.0.0"
electron@25.3.2: electron@25.4.0:
version "25.3.2" version "25.4.0"
resolved "https://registry.yarnpkg.com/electron/-/electron-25.3.2.tgz#4ca096ea85abf05cbbc42e60da9e2c3a7b87dd80" resolved "https://registry.yarnpkg.com/electron/-/electron-25.4.0.tgz#d45b1cf3e4e96eb5bff5fee704d7aa13b532f3a5"
integrity sha512-xiktJvXraaE/ARf2OVHFyTze1TksSbsbJgOaBtdIiBvUduez6ipATEPIec8Msz1n6eQ+xqYb6YF8tDuIZtJSPw== integrity sha512-VLTRxDhL4UvQbqM7pTNENnJo62cdAPZT92N+B7BZQ5Xfok1wuVPEewIjBot4K7U3EpLUuHn1veeLzho3ihiP+Q==
dependencies: dependencies:
"@electron/get" "^2.0.0" "@electron/get" "^2.0.0"
"@types/node" "^18.11.18" "@types/node" "^18.11.18"