Comparing version 3.3.8 to 3.3.9
@@ -68,3 +68,3 @@ (function(self) { | ||
// Support an array with some argument names in front and the function as last element | ||
if (typeof fn === 'object' && fn.length && typeof fn[fn.length-1] == 'function') { | ||
if (typeof fn === 'object' && fn && fn.length && typeof fn[fn.length-1] == 'function') { | ||
if (fn.length > 1 && (typeof(fn[0]) === 'object' || typeof(fn[0]) == 'function') && !fn[0].length) { | ||
@@ -71,0 +71,0 @@ var obj = fn[0]; |
{ | ||
"name": "clues", | ||
"version": "3.3.8", | ||
"version": "3.3.9", | ||
"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
97003