Comparing version 0.0.32 to 0.0.33
@@ -213,3 +213,3 @@ const running_in_browser = typeof window !== 'undefined'; | ||
} | ||
if (obj instanceof Buffer) { | ||
if (typeof Buffer !== 'undefined' && obj instanceof Buffer) { | ||
return 'B'; | ||
@@ -1057,3 +1057,3 @@ } else if (obj instanceof Promise) { | ||
tv; | ||
if (t == 'array') { | ||
if (t === 'array') { | ||
let res = true; | ||
@@ -1081,19 +1081,16 @@ each(obj, function (v, i) { | ||
let num_parallel = 1; | ||
if (a.l == 1) {} | ||
if (a.l == 2) { | ||
if (a.l === 1) { | ||
} else if (a.l === 2) { | ||
arr_functions_params_pairs = a[0]; | ||
callback = a[1]; | ||
} | ||
if (a.l == 3) { | ||
if (sig == '[a,n,f]') { | ||
} else if (a.l === 3) { | ||
if (sig === '[a,n,f]') { | ||
arr_functions_params_pairs = a[0]; | ||
num_parallel = a[1]; | ||
callback = a[2]; | ||
} | ||
if (sig == '[n,a,f]') { | ||
} else if (sig === '[n,a,f]') { | ||
arr_functions_params_pairs = a[1]; | ||
num_parallel = a[0]; | ||
callback = a[2]; | ||
} | ||
if (sig == '[a,f,b]') { | ||
} else if (sig === '[a,f,b]') { | ||
arr_functions_params_pairs = a[0]; | ||
@@ -1103,5 +1100,4 @@ callback = a[1]; | ||
} | ||
} | ||
if (a.l == 4) { | ||
if (sig == '[a,n,n,f]') { | ||
} else if (a.l === 4) { | ||
if (sig === '[a,n,n,f]') { | ||
arr_functions_params_pairs = a[0]; | ||
@@ -1111,4 +1107,3 @@ num_parallel = a[1]; | ||
callback = a[3]; | ||
} | ||
if (sig == '[n,n,a,f]') { | ||
} else if (sig == '[n,n,a,f]') { | ||
arr_functions_params_pairs = a[2]; | ||
@@ -1115,0 +1110,0 @@ num_parallel = a[0]; |
@@ -10,3 +10,3 @@ { | ||
"devDependencies": { | ||
"fnl": "^0.0.28" | ||
"fnl": "^0.0.29" | ||
}, | ||
@@ -25,3 +25,3 @@ "comments": [ | ||
}, | ||
"version": "0.0.32" | ||
"version": "0.0.33" | ||
} |
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
289904
7700