From 3ad981906d8873962f77e017638da1424ac19a4f Mon Sep 17 00:00:00 2001 From: Adam Setch Date: Tue, 15 Oct 2024 09:02:22 -0400 Subject: [PATCH 1/4] 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 0fda9395..a8a9f0f9 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 7aba4274..f7bae670 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 74de296f..4c839c78 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 28c2f560..e57cc6ad 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 2b8448cf..963dd42e 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/4] 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 f7bae670..83e9b93a 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 4c839c78..1b7af184 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 e57cc6ad..045e3fdb 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 963dd42e..f5227616 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" From d0207f634bcb438baf06217199392befe2649b99 Mon Sep 17 00:00:00 2001 From: Adam Setch Date: Thu, 27 Feb 2025 14:40:22 -0500 Subject: [PATCH 3/4] bump electron Signed-off-by: Adam Setch --- README.md | 4 ++-- examples/package.json | 2 +- examples/yarn.lock | 8 ++++---- package.json | 2 +- yarn.lock | 8 ++++---- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index a8a9f0f9..3aef2596 100644 --- a/README.md +++ b/README.md @@ -118,10 +118,10 @@ The `Menubar` class is an event emitter: | menubar | Electron | Notes | | -------- | -------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -| 9.x.x | >=9.x.x <34.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) | +| 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) | | <= 5.x.x | <= 3.x.x | Please, _please_ don't use these old versions | ## API Docs diff --git a/examples/package.json b/examples/package.json index 83e9b93a..d4d8e2e0 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.2.1" + "electron": "^34.3.0" } } diff --git a/examples/yarn.lock b/examples/yarn.lock index 1b7af184..84be4e2d 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.2.1: - version "33.2.1" - resolved "https://registry.yarnpkg.com/electron/-/electron-33.2.1.tgz#d0d7bba7a7abf4f14881d0a6e03c498b301a2d5f" - integrity sha512-SG/nmSsK9Qg1p6wAW+ZfqU+AV8cmXMTIklUL18NnOKfZLlum4ZsDoVdmmmlL39ZmeCaq27dr7CgslRPahfoVJg== +electron@^34.3.0: + version "34.3.0" + resolved "https://registry.yarnpkg.com/electron/-/electron-34.3.0.tgz#d52a5bd14c72a5811a0c0e233db5c20ad70ba078" + integrity sha512-I238qRnYTAsuwJ/rS7HGaFNY4NNKAcjX8nlj7mnNmj1TK3z4HvNoD1r7Zud81DYDFx8AITuLd76EPrEnnfF9Bg== dependencies: "@electron/get" "^2.0.0" "@types/node" "^20.9.0" diff --git a/package.json b/package.json index 045e3fdb..55ed617f 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "devDependencies": { "@biomejs/biome": "^1.9.3", "@types/jest": "^25.2.3", - "electron": "^33.2.1", + "electron": "^34.3.0", "jest": "^26.0.1", "rimraf": "^3.0.2", "standard-version": "^8.0.0", diff --git a/yarn.lock b/yarn.lock index f5227616..1c479ec0 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.2.1: - version "33.2.1" - resolved "https://registry.yarnpkg.com/electron/-/electron-33.2.1.tgz#d0d7bba7a7abf4f14881d0a6e03c498b301a2d5f" - integrity sha512-SG/nmSsK9Qg1p6wAW+ZfqU+AV8cmXMTIklUL18NnOKfZLlum4ZsDoVdmmmlL39ZmeCaq27dr7CgslRPahfoVJg== +electron@^34.3.0: + version "34.3.0" + resolved "https://registry.yarnpkg.com/electron/-/electron-34.3.0.tgz#d52a5bd14c72a5811a0c0e233db5c20ad70ba078" + integrity sha512-I238qRnYTAsuwJ/rS7HGaFNY4NNKAcjX8nlj7mnNmj1TK3z4HvNoD1r7Zud81DYDFx8AITuLd76EPrEnnfF9Bg== dependencies: "@electron/get" "^2.0.0" "@types/node" "^20.9.0" From c603d19324aedc17604eb42a5702258c7a20590f Mon Sep 17 00:00:00 2001 From: Adam Setch Date: Thu, 27 Feb 2025 15:29:57 -0500 Subject: [PATCH 4/4] Update package.json Co-authored-by: Benjamin Goering <171782+gobengo@users.noreply.github.com> --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 55ed617f..9270d173 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "typescript": "^4.6.2" }, "peerDependencies": { - "electron": ">=9.0.0 <34.0.0" + "electron": ">=9.0.0 <35.0.0" }, "packageManager": "yarn@1.22.22" }