This PR is the first of multiple that I'll send to upgrade the dependencies of the IA Builder and to fix some of the broken commands like flow and jest.
Here is a summary of the changes:
Upgrade Electron to the latest stable version.
Upgrade Electron Dev Tools Installer to make it compatible with the Electron version.
Set the webPreferences of the the application's BrowserWindow to support nodeIntegration and the webviewTag, which are disabled by default in Electron starting at version 5.0.
Set the webPreferences of the webview of the Browser component to enable sandbox, disable nodeIntegration, and to enable contextIsolation; since it loads remote content.
Update the debounce function to make it compatible with Electron's webview loadURL function, which now returns a promise.
This PR is the first of multiple that I'll send to upgrade the dependencies of the IA Builder and to fix some of the broken commands like
flow
andjest
.Here is a summary of the changes:
webPreferences
of the the application'sBrowserWindow
to supportnodeIntegration
and thewebviewTag
, which are disabled by default in Electron starting at version 5.0.webPreferences
of thewebview
of theBrowser
component to enablesandbox
, disablenodeIntegration
, and to enablecontextIsolation
; since it loads remote content.loadURL
function, which now returns a promise.