Comparing version 3.2.5 to 3.2.6
@@ -15,2 +15,7 @@ # Changelog | ||
# v3.2.6 | ||
- **Bug Fix** | ||
- null Maybes should stringify to null, fix #227 (@gcanti) | ||
# v3.2.5 | ||
@@ -17,0 +22,0 @@ |
@@ -9,3 +9,3 @@ var isType = require('./isType'); | ||
if (isType(type)) { | ||
return !type.meta.identity && typeof value === 'object' ? new type(value, path): type(value, path); | ||
return !type.meta.identity && typeof value === 'object' && value !== null ? new type(value, path): type(value, path); | ||
} | ||
@@ -12,0 +12,0 @@ |
{ | ||
"name": "tcomb", | ||
"version": "3.2.5", | ||
"version": "3.2.6", | ||
"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
87627