Comparing version 1.14.0 to 1.15.0
@@ -12,7 +12,8 @@ var ERRORS = require('./errors') | ||
var TYPES = { | ||
arrayOf: function arrayOf (type) { | ||
arrayOf: function arrayOf (type, arrayType) { | ||
type = compile(type) | ||
arrayType = compile(arrayType || NATIVE.Array) | ||
function _arrayOf (array, strict) { | ||
if (!NATIVE.Array(array)) return false | ||
if (!arrayType(array)) return false | ||
if (NATIVE.Nil(array)) return false | ||
@@ -19,0 +20,0 @@ |
{ | ||
"name": "typeforce", | ||
"version": "1.14.0", | ||
"version": "1.15.0", | ||
"description": "Another biased type checking solution for Javascript", | ||
@@ -34,3 +34,3 @@ "keywords": [ | ||
"standard": "standard", | ||
"unit": "node test/*.js | tap-dot" | ||
"unit": "node test/*.js" | ||
}, | ||
@@ -41,5 +41,4 @@ "dependencies": {}, | ||
"standard": "^9.0.0", | ||
"tap-dot": "^1.0.5", | ||
"tape": "^4.6.1" | ||
} | ||
} |
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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
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
16748
3
367
1