Upgrade electron from 20 > 21 (#2717)

* ^ Update electron 20.x

* ^ Update electron 21.x

* * Update .babelrc about target
This commit is contained in:
PikachuEXE 2022-10-14 06:09:02 +08:00 committed by GitHub
parent c0f98eeafe
commit 21a31cf6f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 7 deletions

View File

@ -4,8 +4,8 @@
"@babel/env",
{
"targets": {
"chrome": "104",
"node": "16.15.0"
"chrome": "106",
"node": "16.16.0"
}
}
]

View File

@ -92,7 +92,7 @@
"copy-webpack-plugin": "^11.0.0",
"css-loader": "^6.7.1",
"css-minimizer-webpack-plugin": "^4.1.0",
"electron": "^20.3.1",
"electron": "^21.1.1",
"electron-builder": "^23.6.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",

View File

@ -3499,10 +3499,10 @@ electron-to-chromium@^1.4.202:
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.247.tgz#cc93859bc5fc521f611656e65ce17eae26a0fd3d"
integrity sha512-FLs6R4FQE+1JHM0hh3sfdxnYjKvJpHZyhQDjc2qFq/xFvmmRt/TATNToZhrcGUFzpF2XjeiuozrA8lI0PZmYYw==
electron@^20.3.1:
version "20.3.1"
resolved "https://registry.yarnpkg.com/electron/-/electron-20.3.1.tgz#a9c95e086e28fd5936f24eb0dab8d1d22e3b86d0"
integrity sha512-mgFAa79Zj8oCegsluPAo6O1yXd7mVMZ0JZC2Rak9HQUAQ7x9xuQY7yop/+nMbi+bOMWwe5JrtOcvjotBArxioA==
electron@^21.1.1:
version "21.1.1"
resolved "https://registry.yarnpkg.com/electron/-/electron-21.1.1.tgz#3ee427e31cccafbce45bebd32f2a8eba9e3399ca"
integrity sha512-EM2hvRJtiS3n54yx25Z0Qv54t3LGG+WjUHf1AOl+PKjQj+fmXnjIgVeIF9pM21kP1BTcyjrgvN6Sff0A45OB6A==
dependencies:
"@electron/get" "^1.14.1"
"@types/node" "^16.11.26"