feat: electron upgrade : 8.2.3 => 10.1.3
This commit is contained in:
6
package-lock.json
generated
6
package-lock.json
generated
@@ -7934,9 +7934,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"electron": {
|
"electron": {
|
||||||
"version": "8.5.2",
|
"version": "10.1.3",
|
||||||
"resolved": "https://registry.npmjs.org/electron/-/electron-8.5.2.tgz",
|
"resolved": "https://registry.npmjs.org/electron/-/electron-10.1.3.tgz",
|
||||||
"integrity": "sha512-VU+zZnmCzxoZ5UfBg2UGVm+nyxlNlQOQkotMLfk7FCtnkIOhX+sosl618OCxUWjOvPc+Mpg5MEkEmxPU5ziW4Q==",
|
"integrity": "sha512-CR8LrlG47MdAp317SQ3vGYa2o2cIMdMSMPYH46OVitFLk35dwE9fn3VqvhUIXhCHYcNWIAPzMhkVHpkoFdKWuw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@electron/get": "^1.0.1",
|
"@electron/get": "^1.0.1",
|
||||||
|
|||||||
@@ -70,7 +70,7 @@
|
|||||||
"cpy-cli": "^3.1.0",
|
"cpy-cli": "^3.1.0",
|
||||||
"cross-env": "^7.0.2",
|
"cross-env": "^7.0.2",
|
||||||
"del-cli": "^3.0.0",
|
"del-cli": "^3.0.0",
|
||||||
"electron": "^8.2.3",
|
"electron": "^10.1.3",
|
||||||
"electron-builder": "^22.5.1",
|
"electron-builder": "^22.5.1",
|
||||||
"electron-webpack": "^2.8.2",
|
"electron-webpack": "^2.8.2",
|
||||||
"fs-extra": "^9.0.0",
|
"fs-extra": "^9.0.0",
|
||||||
|
|||||||
@@ -31,6 +31,9 @@ export class Window {
|
|||||||
// Isolate window context to protect against prototype pollution
|
// Isolate window context to protect against prototype pollution
|
||||||
// except in e2e test when that access is required by Spectron
|
// except in e2e test when that access is required by Spectron
|
||||||
contextIsolation: global.gConfig.isContextIsolation,
|
contextIsolation: global.gConfig.isContextIsolation,
|
||||||
|
// Ensure that JS values can't unsafely cross between worlds
|
||||||
|
// when using contextIsolation
|
||||||
|
worldSafeExecuteJavaScript: global.gConfig.isContextIsolation,
|
||||||
// Disable the remote module to enhance security
|
// Disable the remote module to enhance security
|
||||||
// except in e2e test when that access is required by Spectron
|
// except in e2e test when that access is required by Spectron
|
||||||
enableRemoteModule: global.gConfig.isEnableRemoteModule,
|
enableRemoteModule: global.gConfig.isEnableRemoteModule,
|
||||||
|
|||||||
Reference in New Issue
Block a user