Comparing version 2.5.3 to 2.5.4
# 2valid changelog | ||
## [2.5.4](http://github.com/ivanoff/2valid/tree/2.5.4) (2017-08-12) | ||
[Full Changelog](http://github.com/ivanoff/2valid/compare/2.5.1...2.5.4) | ||
**What Was Done:** | ||
- update to remove cannot read property of undefined error | ||
## [2.5.1](http://github.com/ivanoff/2valid/tree/2.5.1) (2017-06-24) | ||
@@ -4,0 +12,0 @@ [Full Changelog](http://github.com/ivanoff/2valid/compare/2.4.1...2.5.1) |
@@ -125,3 +125,3 @@ /*! | ||
var fieldName = parents + '.' + key; | ||
if (!modelObject[key]) { | ||
if (!modelObject || !modelObject[key]) { | ||
if (!errors.notRequired) errors.notRequired = []; | ||
@@ -128,0 +128,0 @@ errors.notRequired.push(fieldName); |
{ | ||
"name": "2valid", | ||
"version": "2.5.3", | ||
"version": "2.5.4", | ||
"description": "JavaScript simple data validator", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -15,3 +15,3 @@ | ||
v2.5.3 | ||
v2.5.4 | ||
@@ -18,0 +18,0 @@ |
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
53654