@agoric/evaluate
Advanced tools
Comparing version 2.0.0 to 2.1.0
{ | ||
"name": "@agoric/evaluate", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "(unsafe) three-argument evaluator function", | ||
@@ -29,3 +29,3 @@ "main": "src/main.js", | ||
"dependencies": { | ||
"@agoric/default-evaluate-options": "^0.2.1", | ||
"@agoric/default-evaluate-options": "^0.2.3", | ||
"esm": "^3.2.5" | ||
@@ -32,0 +32,0 @@ }, |
@@ -6,2 +6,6 @@ import makeDefaultEvaluateOptions from '@agoric/default-evaluate-options'; | ||
// Evaluate any shims, globally! | ||
if (typeof globalThis === 'undefined') { | ||
const myGlobal = typeof window === 'undefined' ? global : window; | ||
myGlobal.globalThis = myGlobal; | ||
} | ||
// eslint-disable-next-line no-eval | ||
@@ -8,0 +12,0 @@ (makerOptions.shims || []).forEach(shim => (1, eval)(shim)); |
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
20756
126