From 88dc5bf653d0c3f9c08d228b8db7647766c48dee Mon Sep 17 00:00:00 2001 From: audric Date: Fri, 13 Aug 2021 11:44:38 +1000 Subject: [PATCH] bump electron to > 13 --- main.js | 1 + package.json | 2 +- yarn.lock | 20 ++++++++++---------- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/main.js b/main.js index 0b740782c..dd7e28231 100644 --- a/main.js +++ b/main.js @@ -249,6 +249,7 @@ async function createWindow() { backgroundColor: '#fff', webPreferences: { nodeIntegration: false, + enableRemoteModule: true, nodeIntegrationInWorker: false, contextIsolation: false, preload: path.join(__dirname, 'preload.js'), diff --git a/package.json b/package.json index ee438d166..68457d476 100644 --- a/package.json +++ b/package.json @@ -186,7 +186,7 @@ "chai-bytes": "^0.1.2", "css-loader": "^3.6.0", "dashdash": "1.14.1", - "electron": "8.2.0", + "electron": "^13.1.9", "electron-builder": "22.8.0", "electron-notarize": "^0.2.0", "eslint": "4.14.0", diff --git a/yarn.lock b/yarn.lock index 9469bdaa9..766ce2022 100644 --- a/yarn.lock +++ b/yarn.lock @@ -642,16 +642,16 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-13.9.1.tgz#96f606f8cd67fb018847d9b61e93997dabdefc72" integrity sha512-E6M6N0blf/jiZx8Q3nb0vNaswQeEyn0XlupO+xN6DtJ6r6IT4nXrTry7zhIfYvFCl3/8Cu6WIysmUBKiqV0bqQ== -"@types/node@^12.0.12": - version "12.12.31" - resolved "https://registry.yarnpkg.com/@types/node/-/node-12.12.31.tgz#d6b4f9645fee17f11319b508fb1001797425da51" - integrity sha512-T+wnJno8uh27G9c+1T+a1/WYCHzLeDqtsGJkoEdSp2X8RTh3oOCZQcUnjAx90CS8cmmADX51O0FI/tu9s0yssg== - "@types/node@^13.7.0": version "13.13.12" resolved "https://registry.yarnpkg.com/@types/node/-/node-13.13.12.tgz#9c72e865380a7dc99999ea0ef20fc9635b503d20" integrity sha512-zWz/8NEPxoXNT9YyF2osqyA9WjssZukYpgI4UYZpOjcyqwIUqWGkcCionaEb9Ki+FULyPyvNFpg/329Kd2/pbw== +"@types/node@^14.6.2": + version "14.17.9" + resolved "https://registry.yarnpkg.com/@types/node/-/node-14.17.9.tgz#b97c057e6138adb7b720df2bd0264b03c9f504fd" + integrity sha512-CMjgRNsks27IDwI785YMY0KLt3co/c0cQ5foxHYv/shC2w8oOnVwz5Ubq1QG5KzrcW+AXk6gzdnxIkDnTvzu3g== + "@types/normalize-package-data@^2.4.0": version "2.4.1" resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz#d3357479a0fdfdd5907fe67e17e0a85c906e1301" @@ -3279,13 +3279,13 @@ electron-updater@^4.2.2: pako "^1.0.11" semver "^7.1.3" -electron@8.2.0: - version "8.2.0" - resolved "https://registry.yarnpkg.com/electron/-/electron-8.2.0.tgz#f3e3de23a6178b5ad7baa70f4814d6332a3212c2" - integrity sha512-mnV43gKCrCUMHLmGws/DU/l8LhaxrFD53A4ofwtthdCqOZWGIdk1+eMphiVumXR5a3lC64XVvmXQ2k28i7F/zw== +electron@^13.1.9: + version "13.1.9" + resolved "https://registry.yarnpkg.com/electron/-/electron-13.1.9.tgz#668e2632b81e9fa21edfd32876282d3e2ff7fd76" + integrity sha512-By4Zb72XNQLrPb70BXdIW3NtEHFwybP5DIQjohnCxOYONq5vojuHjNcTuWnBgMvwQ2qwykk6Tw5EwF2Pt0CWjA== dependencies: "@electron/get" "^1.0.1" - "@types/node" "^12.0.12" + "@types/node" "^14.6.2" extract-zip "^1.0.3" emoji-annotation-to-unicode@^0.3.0: