electron-edge-js
Advanced tools
Comparing version 12.4.1 to 12.8.1
var fs = require('fs') | ||
, path = require('path') | ||
, path = require('./electronPath') | ||
, builtEdge = path.resolve(__dirname, '../build/Release/' + (process.env.EDGE_USE_CORECLR || !fs.existsSync(path.resolve(__dirname, '../build/Release/edge_nativeclr.node')) ? 'edge_coreclr.node' : 'edge_nativeclr.node')) | ||
@@ -19,2 +19,3 @@ , edge; | ||
[ /^12.4\./, '12.4.0' ], | ||
[ /^12.8\./, '12.8.1' ], | ||
]; | ||
@@ -114,3 +115,3 @@ | ||
try { | ||
options.compiler = compiler.getCompiler(); | ||
options.compiler = path.normalizeElectronPath(compiler.getCompiler()); | ||
} | ||
@@ -117,0 +118,0 @@ catch (e) { |
@@ -8,3 +8,3 @@ { | ||
}, | ||
"version": "12.4.1", | ||
"version": "12.8.1", | ||
"description": "Edge.js: run .NET and Node.js in-process on Electron", | ||
@@ -11,0 +11,0 @@ "tags": [ |
@@ -16,2 +16,3 @@ .NET and Node.js in-process on Electron | ||
* Electron 6.x - Node.js v12.4.0. | ||
* Electron 7.x - Node.js v12.8.1 | ||
@@ -35,3 +36,7 @@ Usage is the same as edge or edge-js, replace `require('edge')` or `require('edge-js')` with `require('electron-edge-js')`: | ||
## Requirements (Windows) | ||
You must install [Microsoft Visual C++ Redistributable (x86)](https://www.microsoft.com/en-us/download/details.aspx?id=52685) | ||
## Why use `electron-edge-js`? | ||
@@ -38,0 +43,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
14855273
195
1307
53
35
48