Comparing version 3.2.13 to 3.2.14
@@ -15,2 +15,7 @@ # Changelog | ||
# v3.2.14 | ||
- **Bug Fix** | ||
- replace `instanceof Array` with `Array.isArray`, fix #255 (@ewnd9) | ||
# v3.2.13 | ||
@@ -17,0 +22,0 @@ |
module.exports = function isArray(x) { | ||
return x instanceof Array; | ||
return Array.isArray ? Array.isArray(x) : x instanceof Array; | ||
}; |
{ | ||
"name": "tcomb", | ||
"version": "3.2.13", | ||
"version": "3.2.14", | ||
"description": "Type checking and DDD for JavaScript", | ||
@@ -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
90529