π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
update electron
Anand Baburajan21bf68fde21f
diff --git a/desktop/package.json b/desktop/package.jsonindex 24e93e50f8..b2d75caad2 100644--- a/desktop/package.json+++ b/desktop/package.json@@ -40,12 +40,12 @@},"devDependencies": {"@eslint/js": "^9.30.1",- "@tsconfig/node22": "^22.0.2","@types/auto-launch": "^5.0.5",+ "@types/node": "^24.12.0","ajv": "^8.17.1","concurrently": "^9.2.1","cross-env": "^10.1.0",- "electron": "^38.2.2",+ "electron": "^41.0.0","electron-builder": "26.0.14","eslint": "^9","prettier": "3.6.2",diff --git a/desktop/tsconfig.json b/desktop/tsconfig.jsonindex b677d664e8..59673e7fa9 100644--- a/desktop/tsconfig.json+++ b/desktop/tsconfig.json@@ -7,13 +7,27 @@* Recommended target, lib and other settings for code running in the* version of Node.js bundled with Electron.*- * Currently, with Electron 35, this is Node.js 22.14.0.- * https://www.electronjs.org/blog/electron-35-0+ * Currently, with Electron 41, this is Node.js 24.14.0.+ * https://releases.electronjs.org/release/v41.0.0*/- "extends": "@tsconfig/node22/tsconfig.json",-/* TSConfig docs: https://aka.ms/tsconfig.json */"compilerOptions": {+ /* Mirror the runtime baseline of Electron 41. We inline the+ Node 24 preset here because our pinned TypeScript 5.8.3 does not+ yet accept one of @tsconfig/node24's lib entries (ESNext.Error). */+ "lib": [+ "ES2024",+ "ESNext.Array",+ "ESNext.Collection",+ "ESNext.Iterator",+ "ESNext.Promise"+ ],+ "module": "nodenext",+ "target": "ES2024",+ "esModuleInterop": true,+ "skipLibCheck": true,+ "moduleResolution": "node16",+/* Emit the generated JS into `app/` */"outDir": "app",diff --git a/desktop/yarn.lock b/desktop/yarn.lockindex 607ab78e52..6cd93e4e1e 100644--- a/desktop/yarn.lock+++ b/desktop/yarn.lock@@ -310,11 +310,6 @@resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-2.0.0.tgz#f544a148d3ab35801c1f633a7441fd87c2e484bf"integrity sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==-"@tsconfig/node22@^22.0.2":- version "22.0.2"- resolved "https://registry.yarnpkg.com/@tsconfig/node22/-/node22-22.0.2.tgz#1e04e2c5cc946dac787d69bb502462a851ae51b6"- integrity sha512-Kmwj4u8sDRDrMYRoN9FDEcXD8UpBSaPQQ24Gz+Gamqfm7xxn+GBR7ge/Z7pK8OXNGyUzbSwJj+TH6B+DS/epyA==-"@types/auto-launch@^5.0.5":version "5.0.5"resolved "https://registry.yarnpkg.com/@types/auto-launch/-/auto-launch-5.0.5.tgz#439ed36aaaea501e2e2cfbddd8a20c366c34863b"@@ -361,7 +356,7 @@resolved "https://registry.yarnpkg.com/@types/ms/-/ms-0.7.34.tgz#10964ba0dee6ac4cd462e2795b6bebd407303433"integrity sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==-"@types/node@*", "@types/node@^22.7.7":+"@types/node@*":version "22.14.0"resolved "https://registry.yarnpkg.com/@types/node/-/node-22.14.0.tgz#d3bfa3936fef0dbacd79ea3eb17d521c628bb47e"integrity sha512-Kmpl+z84ILoG+3T/zQFyAJsU6EPTmOCj8/2+83fSN6djd6I4o7uOuGIH6vq3PrjY5BGitSbFuMN18j3iknubbA==@@ -373,6 +368,13 @@resolved "https://registry.yarnpkg.com/@types/node/-/node-10.17.60.tgz#35f3d6213daed95da7f0f73e75bcc6980e90597b"integrity sha512-F0KIgDJfy2nA3zMLmWGKxcH2ZVEtCZXHHdOQs2gSaQ27+lNeEfGxzkIw90aXswATX7AZ33tahPbzy6KAfUreVw==+"@types/node@^24.12.0", "@types/node@^24.9.0":+ version "24.12.0"+ resolved "https://registry.yarnpkg.com/@types/node/-/node-24.12.0.tgz#6222e028210e5322e4f4f6767f8d88e5ea3b33d2"+ integrity sha512-GYDxsZi3ChgmckRT9HPU0WEhKLP08ev/Yfcq2AstjrDASOYCSXeyjDsHg4v5t4jOj7cyDX3vmprafKlWIG9MXQ==+ dependencies:+ undici-types "~7.16.0"+"@types/plist@^3.0.1":version "3.0.5"resolved "https://registry.yarnpkg.com/@types/plist/-/plist-3.0.5.tgz#9a0c49c0f9886c8c8696a7904dd703f6284036e0"@@ -1275,13 +1277,13 @@ electron-updater@^6.6.5:semver "^7.6.3"tiny-typed-emitter "^2.1.0"-electron@^38.2.2:- version "38.2.2"- resolved "https://registry.yarnpkg.com/electron/-/electron-38.2.2.tgz#117a516fa2215604e35a60f3cc2543f3f5404a16"- integrity sha512-OXSaVNXDlonXDjMRsFNQo1j5tzTKwKXh5/m46IjAFccBcZJZMISI+EjSI07oexIuhvKM8AZLuFuihVn4YjWWrA==+electron@^41.0.0:+ version "41.0.0"+ resolved "https://registry.yarnpkg.com/electron/-/electron-41.0.0.tgz#5c5dcc8f38f7a53700ccd24c2abda962fa9a1d2b"+ integrity sha512-U7QueSj1cFj9QM0Qamgh/MK08662FVK555iMfapqU7mcAmIm4A8bZuZptpjMXrT4JNAMGjgWu9sOeO1+RPCJNw==dependencies:"@electron/get" "^2.0.0"- "@types/node" "^22.7.7"+ "@types/node" "^24.9.0"extract-zip "^2.0.1"emoji-regex@^8.0.0:@@ -3282,6 +3284,11 @@ undici-types@~6.21.0:resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.21.0.tgz#691d00af3909be93a7faa13be61b3a5b50ef12cb"integrity sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==+undici-types@~7.16.0:+ version "7.16.0"+ resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-7.16.0.tgz#ffccdff36aea4884cbfce9a750a0580224f58a46"+ integrity sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==+unique-filename@^2.0.0:version "2.0.1"resolved "https://registry.yarnpkg.com/unique-filename/-/unique-filename-2.0.1.tgz#e785f8675a9a7589e0ac77e0b5c34d2eaeac6da2"