From 6403dbd03ee5e4be26153ab947576d814fbd8936 Mon Sep 17 00:00:00 2001 From: Sucukdeluxe <259325684+Sucukdeluxe@users.noreply.github.com> Date: Wed, 21 Oct 2026 21:42:05 +0200 Subject: [PATCH] Update Electron to 42.11.12 for GHSA-fw47-9c62-h3vw npm audit flagged Electron <42.11.3 (HID/USB permission checks attributed to the wrong origin), which failed CI. Electron 42 no longer downloads its binary in postinstall; none of the other 42.0 breaking changes apply. Co-Authored-By: Claude Opus 5.5 --- package-lock.json | 12 ++++++------ package.json | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index b56f1f0..aefbe36 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,7 @@ }, "devDependencies": { "@modelcontextprotocol/sdk": "1.32.1", - "electron": "^41.10.6", + "electron": "^42.11.12", "electron-builder": "^26.15.3", "eslint": "^10.8.1", "eslint-plugin-security": "^4.0.1", @@ -2073,11 +2073,10 @@ } }, "node_modules/electron": { - "version": "41.10.7", - "resolved": "https://registry.npmjs.org/electron/-/electron-41.10.7.tgz", - "integrity": "sha512-AqIiefddlf5i+HYCGatr8VlBuEbWJpad4/yloBFYcMB2r57j7xhW1ogiJ+BfA5kxQyfmSs5yjwy54Me+wJn1jw==", + "version": "42.11.12", + "resolved": "https://registry.npmjs.org/electron/-/electron-42.11.12.tgz", + "integrity": "sha512-fHlCHh1uqfvWykQUq8eoSoB5q1gej7z/KKd3m7rqEEhHhihm7qz/EvBIkDat7vQoIq3kGTJcrskLbJ6UFkYGyg==", "dev": true, - "hasInstallScript": true, "license": "MIT", "dependencies": { "@electron-internal/extract-zip": "^1.0.1", @@ -2085,7 +2084,8 @@ "@types/node": "^24.9.0" }, "bin": { - "electron": "cli.js" + "electron": "cli.js", + "install-electron": "install.js" }, "engines": { "node": ">= 22.12.0" diff --git a/package.json b/package.json index 66899b7..5ef53db 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ }, "devDependencies": { "@modelcontextprotocol/sdk": "1.32.1", - "electron": "^41.10.6", + "electron": "^42.11.12", "electron-builder": "^26.15.3", "eslint": "^10.8.1", "eslint-plugin-security": "^4.0.1",