Comparing version 8.0.0 to 8.1.0
{ | ||
"name": "eshost", | ||
"version": "8.0.0", | ||
"version": "8.1.0", | ||
"description": "Invoke ECMAScript scripts in any command line JS engine.", | ||
@@ -5,0 +5,0 @@ "main": "lib/eshost.js", |
@@ -6,3 +6,10 @@ /* JavaScriptCore exposes a $ & $262 object to its runtime */ | ||
var $262 = Object.assign({}, jsc); | ||
var $262 = {}; | ||
// Copy "own" properties from the JSC-defined object to the normalized `$262` | ||
// object. Neither `Object.assign` nor the object "spread" syntax can be used | ||
// for this task because not all properties on the source object are | ||
// enumerable. | ||
Object.getOwnPropertyNames(jsc).forEach(function(name) { | ||
$262[name] = jsc[name]; | ||
}); | ||
$262.global = globalThis; | ||
@@ -9,0 +16,0 @@ $262.source = $SOURCE; |
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
117088
2535