From 3ad981906d8873962f77e017638da1424ac19a4f Mon Sep 17 00:00:00 2001 From: Adam Setch Date: Tue, 15 Oct 2024 09:02:22 -0400 Subject: [PATCH 1/2] chore(deps): update to electron 33.x.x Signed-off-by: Adam Setch --- README.md | 2 +- examples/package.json | 2 +- examples/yarn.lock | 8 ++++---- package.json | 9 +++------ yarn.lock | 8 ++++---- 5 files changed, 13 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 0fda939..a8a9f0f 100644 --- a/README.md +++ b/README.md @@ -118,7 +118,7 @@ The `Menubar` class is an event emitter: | menubar | Electron | Notes | | -------- | -------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -| 9.x.x | >=9.x.x <33.x.x | | +| 9.x.x | >=9.x.x <34.x.x | | | 8.x.x | 8.x.xx | | | 7.x.x | 7.x.xx | | | 6.x.x | >=4.x.x <7.x.x | Not recommended for [security reasons](https://electronjs.org/docs/tutorial/security#17-use-a-current-version-of-electron) | diff --git a/examples/package.json b/examples/package.json index 7aba427..f7bae67 100644 --- a/examples/package.json +++ b/examples/package.json @@ -5,6 +5,6 @@ "private": true, "workspaces": ["arrow", "hello-world", "icon-animation", "native-menu"], "devDependencies": { - "electron": "^31.0.2" + "electron": "^33.0.0" } } diff --git a/examples/yarn.lock b/examples/yarn.lock index 74de296..4c839c7 100644 --- a/examples/yarn.lock +++ b/examples/yarn.lock @@ -149,10 +149,10 @@ detect-node@^2.0.4: resolved "https://registry.yarnpkg.com/detect-node/-/detect-node-2.1.0.tgz#c9c70775a49c3d03bc2c06d9a73be550f978f8b1" integrity sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g== -electron@^31.0.2: - version "31.0.2" - resolved "https://registry.yarnpkg.com/electron/-/electron-31.0.2.tgz#9b719fe6072060fe74cb609bcbb84694abce5b17" - integrity sha512-55efQ5yfLN+AQHcFC00AXQqtxC3iAGaxX2GQ3EDbFJ0ca9GHNOdSXkcrdBElLleiDrR2hpXNkQxN1bDn0oxe6w== +electron@^33.0.0: + version "33.0.0" + resolved "https://registry.yarnpkg.com/electron/-/electron-33.0.0.tgz#02879c3bbcc5e743492c253949f1a833fa744476" + integrity sha512-OdLLR/zAVuNfKahSSYokZmSi7uK2wEYTbCoiIdqWLsOWmCqO9j0JC2XkYQmXQcAk2BJY0ri4lxwAfc5pzPDYsA== dependencies: "@electron/get" "^2.0.0" "@types/node" "^20.9.0" diff --git a/package.json b/package.json index 28c2f56..e57cc6a 100644 --- a/package.json +++ b/package.json @@ -6,10 +6,7 @@ "url": "https://github.com/maxogden/menubar/issues" }, "description": "high level way to create menubar desktop applications with electron", - "files": [ - "/assets", - "/lib" - ], + "files": ["/assets", "/lib"], "homepage": "https://github.com/maxogden/menubar", "keywords": [ "electron", @@ -48,7 +45,7 @@ "devDependencies": { "@biomejs/biome": "^1.9.3", "@types/jest": "^25.2.3", - "electron": "^32.2.0", + "electron": "^33.0.0", "jest": "^26.0.1", "rimraf": "^3.0.2", "standard-version": "^8.0.0", @@ -59,7 +56,7 @@ "typescript": "^4.6.2" }, "peerDependencies": { - "electron": ">=9.0.0 <33.0.0" + "electron": ">=9.0.0 <34.0.0" }, "packageManager": "yarn@1.22.22" } diff --git a/yarn.lock b/yarn.lock index 2b8448c..963dd42 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1753,10 +1753,10 @@ electron-to-chromium@^1.4.796: resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.812.tgz#21b78709c5a13af5d5c688d135a22dcea7617acf" integrity sha512-7L8fC2Ey/b6SePDFKR2zHAy4mbdp1/38Yk5TsARO66W3hC5KEaeKMMHoxwtuH+jcu2AYLSn9QX04i95t6Fl1Hg== -electron@^32.2.0: - version "32.2.0" - resolved "https://registry.yarnpkg.com/electron/-/electron-32.2.0.tgz#40b17864be5f88c89f71045ac6f61b5d4a9c1919" - integrity sha512-Xy82QBQrEiQysoxsv6lnhHAcWNNe6vV6QqH3OPFXhEj/T9oAsBHEhZuuYHINSSsUE7zRSj+J9sNwJYOjisT0Vw== +electron@^33.0.0: + version "33.0.0" + resolved "https://registry.yarnpkg.com/electron/-/electron-33.0.0.tgz#02879c3bbcc5e743492c253949f1a833fa744476" + integrity sha512-OdLLR/zAVuNfKahSSYokZmSi7uK2wEYTbCoiIdqWLsOWmCqO9j0JC2XkYQmXQcAk2BJY0ri4lxwAfc5pzPDYsA== dependencies: "@electron/get" "^2.0.0" "@types/node" "^20.9.0" From 7922a75836067e18dede9161ed0cc522fe20d407 Mon Sep 17 00:00:00 2001 From: Adam Setch Date: Sun, 1 Dec 2024 07:52:12 -0500 Subject: [PATCH 2/2] chore: bump to latest minor/patch of electron Signed-off-by: Adam Setch --- examples/package.json | 2 +- examples/yarn.lock | 8 ++++---- package.json | 2 +- yarn.lock | 8 ++++---- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/examples/package.json b/examples/package.json index f7bae67..83e9b93 100644 --- a/examples/package.json +++ b/examples/package.json @@ -5,6 +5,6 @@ "private": true, "workspaces": ["arrow", "hello-world", "icon-animation", "native-menu"], "devDependencies": { - "electron": "^33.0.0" + "electron": "^33.2.1" } } diff --git a/examples/yarn.lock b/examples/yarn.lock index 4c839c7..1b7af18 100644 --- a/examples/yarn.lock +++ b/examples/yarn.lock @@ -149,10 +149,10 @@ detect-node@^2.0.4: resolved "https://registry.yarnpkg.com/detect-node/-/detect-node-2.1.0.tgz#c9c70775a49c3d03bc2c06d9a73be550f978f8b1" integrity sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g== -electron@^33.0.0: - version "33.0.0" - resolved "https://registry.yarnpkg.com/electron/-/electron-33.0.0.tgz#02879c3bbcc5e743492c253949f1a833fa744476" - integrity sha512-OdLLR/zAVuNfKahSSYokZmSi7uK2wEYTbCoiIdqWLsOWmCqO9j0JC2XkYQmXQcAk2BJY0ri4lxwAfc5pzPDYsA== +electron@^33.2.1: + version "33.2.1" + resolved "https://registry.yarnpkg.com/electron/-/electron-33.2.1.tgz#d0d7bba7a7abf4f14881d0a6e03c498b301a2d5f" + integrity sha512-SG/nmSsK9Qg1p6wAW+ZfqU+AV8cmXMTIklUL18NnOKfZLlum4ZsDoVdmmmlL39ZmeCaq27dr7CgslRPahfoVJg== dependencies: "@electron/get" "^2.0.0" "@types/node" "^20.9.0" diff --git a/package.json b/package.json index e57cc6a..045e3fd 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "devDependencies": { "@biomejs/biome": "^1.9.3", "@types/jest": "^25.2.3", - "electron": "^33.0.0", + "electron": "^33.2.1", "jest": "^26.0.1", "rimraf": "^3.0.2", "standard-version": "^8.0.0", diff --git a/yarn.lock b/yarn.lock index 963dd42..f522761 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1753,10 +1753,10 @@ electron-to-chromium@^1.4.796: resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.812.tgz#21b78709c5a13af5d5c688d135a22dcea7617acf" integrity sha512-7L8fC2Ey/b6SePDFKR2zHAy4mbdp1/38Yk5TsARO66W3hC5KEaeKMMHoxwtuH+jcu2AYLSn9QX04i95t6Fl1Hg== -electron@^33.0.0: - version "33.0.0" - resolved "https://registry.yarnpkg.com/electron/-/electron-33.0.0.tgz#02879c3bbcc5e743492c253949f1a833fa744476" - integrity sha512-OdLLR/zAVuNfKahSSYokZmSi7uK2wEYTbCoiIdqWLsOWmCqO9j0JC2XkYQmXQcAk2BJY0ri4lxwAfc5pzPDYsA== +electron@^33.2.1: + version "33.2.1" + resolved "https://registry.yarnpkg.com/electron/-/electron-33.2.1.tgz#d0d7bba7a7abf4f14881d0a6e03c498b301a2d5f" + integrity sha512-SG/nmSsK9Qg1p6wAW+ZfqU+AV8cmXMTIklUL18NnOKfZLlum4ZsDoVdmmmlL39ZmeCaq27dr7CgslRPahfoVJg== dependencies: "@electron/get" "^2.0.0" "@types/node" "^20.9.0"