is-my-json-valid
Advanced tools
Comparing version 2.12.0 to 2.12.1
@@ -521,3 +521,7 @@ var genobj = require('generate-object-property') | ||
Object.keys(properties).forEach(function(p) { | ||
if (Array.isArray(type) && type.indexOf('null') !== -1) validate('if (%s !== null) {', name) | ||
visit(genobj(name, p), properties[p], reporter, filter) | ||
if (Array.isArray(type) && type.indexOf('null') !== -1) validate('}') | ||
}) | ||
@@ -524,0 +528,0 @@ } |
{ | ||
"name": "is-my-json-valid", | ||
"version": "2.12.0", | ||
"version": "2.12.1", | ||
"description": "A JSONSchema validator that uses code generation to be extremely fast", | ||
@@ -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
102862
44
3292