Comparing version 3.5.0 to 3.5.1
@@ -31,3 +31,3 @@ 'use strict'; | ||
var vm = require("vm"); | ||
var eshostContext = vm.createContext({ require, console }); | ||
var eshostContext = vm.createContext({ setTimeout, require, console }); | ||
vm.runInESHostContext = function(code, options) { | ||
@@ -34,0 +34,0 @@ return vm.runInContext(code, eshostContext, options); |
{ | ||
"name": "eshost", | ||
"version": "3.5.0", | ||
"version": "3.5.1", | ||
"description": "Invoke ECMAScript scripts in any command line JS engine.", | ||
@@ -5,0 +5,0 @@ "main": "lib/eshost.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 79 instances in 1 package
3
69312
39
1699