From 1a4e82be6df8bb49417e9c8bfb407b96f2c6c6d7 Mon Sep 17 00:00:00 2001 From: Quentin Legot Date: Tue, 16 Mar 2021 10:19:51 +0100 Subject: [PATCH] dump @types/node from 14.14.34 to 14.14.35 + contextIsolation from false to true --- package-lock.json | 6 +++--- src/client/assets/js/script.js | 2 +- src/server/main.js | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index c16f67b..b3b4f08 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1400,9 +1400,9 @@ }, "dependencies": { "@types/node": { - "version": "14.14.34", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.34.tgz", - "integrity": "sha512-dBPaxocOK6UVyvhbnpFIj2W+S+1cBTkHQbFQfeeJhoKFbzYcVUGHvddeWPSucKATb3F0+pgDq0i6ghEaZjsugA==", + "version": "14.14.35", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.35.tgz", + "integrity": "sha512-Lt+wj8NVPx0zUmUwumiVXapmaLUcAk3yPuHCFVXras9k5VT9TdhJqKqGVUQCD60OTMCl0qxJ57OiTL0Mic3Iag==", "dev": true } } diff --git a/src/client/assets/js/script.js b/src/client/assets/js/script.js index a97b5e7..c0d1f9e 100644 --- a/src/client/assets/js/script.js +++ b/src/client/assets/js/script.js @@ -1,5 +1,5 @@ 'use strict'; -const {ipcRenderer} = require('electron'); +const { ipcRenderer } = require('electron'); window.addEventListener("DOMContentLoaded", () => { const minimizeButton = document.getElementById("minimize-btn") diff --git a/src/server/main.js b/src/server/main.js index f75857a..debf063 100644 --- a/src/server/main.js +++ b/src/server/main.js @@ -31,7 +31,7 @@ function createWindow () { icon: iconPath, webPreferences: { nodeIntegration: true, - enableRemoteModule: true + contextIsolation: false }, frame: false, })