From ced29a434670c2811bcf28cf939e8617e9fd982c Mon Sep 17 00:00:00 2001 From: Robo Date: Mon, 22 May 2023 23:34:36 +0900 Subject: [PATCH] chore: update electron@22.3.10 (#183116) --- .yarnrc | 2 +- build/lib/electron.js | 4 ++-- build/lib/electron.ts | 4 ++-- cgmanifest.json | 4 ++-- package.json | 2 +- yarn.lock | 8 ++++---- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.yarnrc b/.yarnrc index f9cdb2b50f9..2e1d8081976 100644 --- a/.yarnrc +++ b/.yarnrc @@ -1,4 +1,4 @@ disturl "https://electronjs.org/headers" -target "22.3.5" +target "22.3.10" runtime "electron" build_from_source "true" diff --git a/build/lib/electron.js b/build/lib/electron.js index 73890d433b2..a37b5a902a7 100644 --- a/build/lib/electron.js +++ b/build/lib/electron.js @@ -76,7 +76,7 @@ function darwinBundleDocumentTypes(types, icon) { }); } exports.config = { - version: product.electronRepository ? '22.5.2' : util.getElectronVersion(), + version: product.electronRepository ? '22.5.3' : util.getElectronVersion(), productAppName: product.nameLong, companyName: 'Microsoft Corporation', copyright: 'Copyright (C) 2023 Microsoft. All rights reserved', @@ -193,7 +193,7 @@ function getElectron(arch) { }; } async function main(arch = process.arch) { - const version = product.electronRepository ? '22.5.2' : util.getElectronVersion(); + const version = product.electronRepository ? '22.5.3' : util.getElectronVersion(); const electronPath = path.join(root, '.build', 'electron'); const versionFile = path.join(electronPath, 'version'); const isUpToDate = fs.existsSync(versionFile) && fs.readFileSync(versionFile, 'utf8') === `${version}`; diff --git a/build/lib/electron.ts b/build/lib/electron.ts index 9f011c50889..73745930fd9 100644 --- a/build/lib/electron.ts +++ b/build/lib/electron.ts @@ -91,7 +91,7 @@ function darwinBundleDocumentTypes(types: { [name: string]: string | string[] }, } export const config = { - version: product.electronRepository ? '22.5.2' : util.getElectronVersion(), + version: product.electronRepository ? '22.5.3' : util.getElectronVersion(), productAppName: product.nameLong, companyName: 'Microsoft Corporation', copyright: 'Copyright (C) 2023 Microsoft. All rights reserved', @@ -212,7 +212,7 @@ function getElectron(arch: string): () => NodeJS.ReadWriteStream { } async function main(arch = process.arch): Promise { - const version = product.electronRepository ? '22.5.2' : util.getElectronVersion(); + const version = product.electronRepository ? '22.5.3' : util.getElectronVersion(); const electronPath = path.join(root, '.build', 'electron'); const versionFile = path.join(electronPath, 'version'); const isUpToDate = fs.existsSync(versionFile) && fs.readFileSync(versionFile, 'utf8') === `${version}`; diff --git a/cgmanifest.json b/cgmanifest.json index e4205bdc00e..92a6a34f4be 100644 --- a/cgmanifest.json +++ b/cgmanifest.json @@ -528,12 +528,12 @@ "git": { "name": "electron", "repositoryUrl": "https://github.com/electron/electron", - "commitHash": "0b17a201195ae6445e11cee50e436a3511717600" + "commitHash": "b07f2f0f42a1483cd2e5ec8fa3c77ebaa0507069" } }, "isOnlyProductionDependency": true, "license": "MIT", - "version": "22.3.5" + "version": "22.3.10" }, { "component": { diff --git a/package.json b/package.json index 6b5788e6f28..3196d16bf1f 100644 --- a/package.json +++ b/package.json @@ -142,7 +142,7 @@ "cssnano": "^4.1.11", "debounce": "^1.0.0", "deemon": "^1.8.0", - "electron": "22.3.5", + "electron": "22.3.10", "eslint": "8.36.0", "eslint-plugin-header": "3.1.1", "eslint-plugin-jsdoc": "^39.3.2", diff --git a/yarn.lock b/yarn.lock index 79c9a882b65..d0749f0792c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3526,10 +3526,10 @@ electron-to-chromium@^1.4.202: resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.207.tgz#9c3310ebace2952903d05dcaba8abe3a4ed44c01" integrity sha512-piH7MJDJp4rJCduWbVvmUd59AUne1AFBJ8JaRQvk0KzNTSUnZrVXHCZc+eg+CGE4OujkcLJznhGKD6tuAshj5Q== -electron@22.3.5: - version "22.3.5" - resolved "https://registry.yarnpkg.com/electron/-/electron-22.3.5.tgz#a53a318cbb25a44914dfedd30a9ad6120632197f" - integrity sha512-CTdnoTbO3sDiMv47TX3ZO640Ca57v1qpiqGChFF8oZbtfHuQjTPPaE4hsoynf22wwnBiyJNL41DpB/pfp9USnA== +electron@22.3.10: + version "22.3.10" + resolved "https://registry.yarnpkg.com/electron/-/electron-22.3.10.tgz#bf2b98fbb452f41b057ffcd4e57678e363f9735c" + integrity sha512-gh7PtSh+rfxHfM4dzPiEO+k1NRo07FvaK/jXG3HzuODrpTTEhC9rsE+AJGrTKQU6Nz7GorseMvnvs8PnUQPPTw== dependencies: "@electron/get" "^2.0.0" "@types/node" "^16.11.26"