update electron (#3431)

pull/3443/head
Alexandru Dima 2 years ago committed by GitHub
parent 030f5f59f1
commit 415b279fa0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -10,7 +10,9 @@ function createWindow() {
height: 600, height: 600,
webPreferences: { webPreferences: {
nodeIntegration: true, nodeIntegration: true,
worldSafeExecuteJavaScript: true worldSafeExecuteJavaScript: true,
sandbox: false,
contextIsolation: false
} }
}); });
mainWindow.loadURL(`file://${__dirname}/electron-index.html`); mainWindow.loadURL(`file://${__dirname}/electron-index.html`);

@ -1,2 +1,3 @@
/dist/*.js dist/*.js
/dist/*.ttf dist/*.txt
dist/*.ttf

@ -10,7 +10,7 @@
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {
"css-loader": "^5.2.7", "css-loader": "^5.2.7",
"electron": "^17.2.0", "electron": "^19.1.6",
"file-loader": "^6.2.0", "file-loader": "^6.2.0",
"glob": "^7.2.0", "glob": "^7.2.0",
"html-webpack-plugin": "^5.5.0", "html-webpack-plugin": "^5.5.0",
@ -1372,13 +1372,14 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/electron": { "node_modules/electron": {
"version": "17.4.11", "version": "19.1.6",
"resolved": "https://registry.npmjs.org/electron/-/electron-19.1.6.tgz",
"integrity": "sha512-bT6Mr7JbHbONpr/U7R47lwTkMUvuAyOfnoLlbDqvGocQyZCCN3JB436wtf2+r3/IpMEz3T+dHLweFDY5i2wuxw==",
"dev": true, "dev": true,
"hasInstallScript": true, "hasInstallScript": true,
"license": "MIT",
"dependencies": { "dependencies": {
"@electron/get": "^1.13.0", "@electron/get": "^1.14.1",
"@types/node": "^14.6.2", "@types/node": "^16.11.26",
"extract-zip": "^1.0.3" "extract-zip": "^1.0.3"
}, },
"bin": { "bin": {
@ -1394,9 +1395,10 @@
"license": "ISC" "license": "ISC"
}, },
"node_modules/electron/node_modules/@types/node": { "node_modules/electron/node_modules/@types/node": {
"version": "14.18.23", "version": "16.18.3",
"dev": true, "resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.3.tgz",
"license": "MIT" "integrity": "sha512-jh6m0QUhIRcZpNv7Z/rpN+ZWXOicUUQbSoWks7Htkbb9IjFQj4kzcX/xFCkjstCj5flMsN8FiSvt+q+Tcs4Llg==",
"dev": true
}, },
"node_modules/emojis-list": { "node_modules/emojis-list": {
"version": "3.0.0", "version": "3.0.0",
@ -5425,16 +5427,20 @@
"dev": true "dev": true
}, },
"electron": { "electron": {
"version": "17.4.11", "version": "19.1.6",
"resolved": "https://registry.npmjs.org/electron/-/electron-19.1.6.tgz",
"integrity": "sha512-bT6Mr7JbHbONpr/U7R47lwTkMUvuAyOfnoLlbDqvGocQyZCCN3JB436wtf2+r3/IpMEz3T+dHLweFDY5i2wuxw==",
"dev": true, "dev": true,
"requires": { "requires": {
"@electron/get": "2.0.0", "@electron/get": "2.0.0",
"@types/node": "^14.6.2", "@types/node": "^16.11.26",
"extract-zip": "^1.0.3" "extract-zip": "^1.0.3"
}, },
"dependencies": { "dependencies": {
"@types/node": { "@types/node": {
"version": "14.18.23", "version": "16.18.3",
"resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.3.tgz",
"integrity": "sha512-jh6m0QUhIRcZpNv7Z/rpN+ZWXOicUUQbSoWks7Htkbb9IjFQj4kzcX/xFCkjstCj5flMsN8FiSvt+q+Tcs4Llg==",
"dev": true "dev": true
} }
} }

@ -11,7 +11,7 @@
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {
"css-loader": "^5.2.7", "css-loader": "^5.2.7",
"electron": "^17.2.0", "electron": "^19.1.6",
"file-loader": "^6.2.0", "file-loader": "^6.2.0",
"glob": "^7.2.0", "glob": "^7.2.0",
"html-webpack-plugin": "^5.5.0", "html-webpack-plugin": "^5.5.0",

Loading…
Cancel
Save