1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-19 15:57:42 +01:00

[deps] Platform: Update electron to v33 - abandoned (#11580)

* [deps] Platform: Update electron to v33

* fix: remove event from minimize

* chore: update electron version in `electron-builder.json`

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Andreas Coroiu <andreas.coroiu@gmail.com>
Co-authored-by: Bernd Schoolmann <mail@quexten.com>
This commit is contained in:
renovate[bot] 2024-12-12 10:26:05 +01:00 committed by GitHub
parent 8dd904f4b7
commit cecf1f2506
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 10 additions and 11 deletions

View File

@ -20,7 +20,7 @@
"**/node_modules/@bitwarden/desktop-napi/index.js", "**/node_modules/@bitwarden/desktop-napi/index.js",
"**/node_modules/@bitwarden/desktop-napi/desktop_napi.${platform}-${arch}*.node" "**/node_modules/@bitwarden/desktop-napi/desktop_napi.${platform}-${arch}*.node"
], ],
"electronVersion": "32.1.1", "electronVersion": "33.2.1",
"generateUpdatesFilesForAllChannels": true, "generateUpdatesFilesForAllChannels": true,
"publish": { "publish": {
"provider": "generic", "provider": "generic",

View File

@ -64,9 +64,8 @@ export class TrayMain {
} }
setupWindowListeners(win: BrowserWindow) { setupWindowListeners(win: BrowserWindow) {
win.on("minimize", async (e: Event) => { win.on("minimize", async () => {
if (await firstValueFrom(this.desktopSettingsService.minimizeToTray$)) { if (await firstValueFrom(this.desktopSettingsService.minimizeToTray$)) {
e.preventDefault();
// FIXME: Verify that this floating promise is intentional. If it is, add an explanatory comment and ensure there is proper error handling. // FIXME: Verify that this floating promise is intentional. If it is, add an explanatory comment and ensure there is proper error handling.
// eslint-disable-next-line @typescript-eslint/no-floating-promises // eslint-disable-next-line @typescript-eslint/no-floating-promises
this.hideToTray(); this.hideToTray();

14
package-lock.json generated
View File

@ -132,7 +132,7 @@
"copy-webpack-plugin": "12.0.2", "copy-webpack-plugin": "12.0.2",
"cross-env": "7.0.3", "cross-env": "7.0.3",
"css-loader": "7.1.2", "css-loader": "7.1.2",
"electron": "32.1.1", "electron": "33.2.1",
"electron-builder": "24.13.3", "electron-builder": "24.13.3",
"electron-log": "5.2.4", "electron-log": "5.2.4",
"electron-reload": "2.0.0-alpha.1", "electron-reload": "2.0.0-alpha.1",
@ -15745,9 +15745,9 @@
} }
}, },
"node_modules/electron": { "node_modules/electron": {
"version": "32.1.1", "version": "33.2.1",
"resolved": "https://registry.npmjs.org/electron/-/electron-32.1.1.tgz", "resolved": "https://registry.npmjs.org/electron/-/electron-33.2.1.tgz",
"integrity": "sha512-NlWvG6kXOJbZbELmzP3oV7u50I3NHYbCeh+AkUQ9vGyP7b74cFMx9HdTzejODeztW1jhr3SjIBbUZzZ45zflfQ==", "integrity": "sha512-SG/nmSsK9Qg1p6wAW+ZfqU+AV8cmXMTIklUL18NnOKfZLlum4ZsDoVdmmmlL39ZmeCaq27dr7CgslRPahfoVJg==",
"dev": true, "dev": true,
"hasInstallScript": true, "hasInstallScript": true,
"license": "MIT", "license": "MIT",
@ -15986,9 +15986,9 @@
} }
}, },
"node_modules/electron/node_modules/@types/node": { "node_modules/electron/node_modules/@types/node": {
"version": "20.17.6", "version": "20.17.8",
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.17.6.tgz", "resolved": "https://registry.npmjs.org/@types/node/-/node-20.17.8.tgz",
"integrity": "sha512-VEI7OdvK2wP7XHnsuXbAJnEpEkF6NjSN45QJlL4VGqZSXsnicpesdTWsg9RISeSdYd3yeRj/y3k5KGjUXYnFwQ==", "integrity": "sha512-ahz2g6/oqbKalW9sPv6L2iRbhLnojxjYWspAqhjvqSWBgGebEJT5GvRmk0QXPj3sbC6rU0GTQjPLQkmR8CObvA==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {

View File

@ -93,7 +93,7 @@
"copy-webpack-plugin": "12.0.2", "copy-webpack-plugin": "12.0.2",
"cross-env": "7.0.3", "cross-env": "7.0.3",
"css-loader": "7.1.2", "css-loader": "7.1.2",
"electron": "32.1.1", "electron": "33.2.1",
"electron-builder": "24.13.3", "electron-builder": "24.13.3",
"electron-log": "5.2.4", "electron-log": "5.2.4",
"electron-reload": "2.0.0-alpha.1", "electron-reload": "2.0.0-alpha.1",