Comparing version 3.5.16 to 3.5.17
@@ -166,4 +166,9 @@ (function(self) { | ||
if (ref) | ||
logic[ref] = value; | ||
if (ref) try { | ||
Object.defineProperty(logic,ref,{value: value, enumerable: true}); | ||
} catch(e) { | ||
return value.then(function(value) { | ||
return clues.Promise.rejected({ref : ref, message: 'Object immutable', fullref:fullref,caller: caller, stack:e.stack, value: value}); | ||
}); | ||
} | ||
@@ -170,0 +175,0 @@ return value; |
{ | ||
"name": "clues", | ||
"version": "3.5.16", | ||
"version": "3.5.17", | ||
"description": "Lightweight logic tree solver using promises.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
91864
32
1811