Comparing version 1.0.0-alpha.3 to 1.0.0-alpha.4
@@ -122,7 +122,7 @@ const lodash = require('lodash'); | ||
// variables after the function has been defined. | ||
const storedRefs = {...parentRuntime.scope.refs}; | ||
const storedRefs = lodash.cloneDeep(parentRuntime.scope.refs); | ||
// Each function call gets its own run time with its own scope | ||
return (...args) => { | ||
const scope = new Scope(storedRefs); | ||
const scope = new Scope(lodash.cloneDeep(storedRefs)); | ||
lodash.forEach(args, (value, index) => { | ||
@@ -129,0 +129,0 @@ // Make sure we don't go beyond the arguments |
{ | ||
"name": "geneva", | ||
"version": "1.0.0-alpha.3", | ||
"version": "1.0.0-alpha.4", | ||
"description": "JSON-Flavored Lisp", | ||
@@ -5,0 +5,0 @@ "main": "index.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
18058