Comparing version 1.0.15 to 1.0.16
{ | ||
"name": "tv4", | ||
"version": "1.0.15", | ||
"version": "1.0.16", | ||
"author": "Geraint Luff", | ||
@@ -5,0 +5,0 @@ "description": "A public domain JSON Schema validator for JavaScript", |
@@ -337,3 +337,3 @@ /* | ||
var frozenIndex, scannedFrozenSchemaIndex = null, scannedSchemasIndex = null; | ||
if (this.checkRecursive && (typeof data) === 'object') { | ||
if (this.checkRecursive && data && typeof data === 'object') { | ||
topLevel = !this.scanned.length; | ||
@@ -1083,3 +1083,3 @@ if (data[this.validatedSchemasKey]) { | ||
// Schema structure | ||
CIRCULAR_REFERENCE: 500, | ||
CIRCULAR_REFERENCE: 600, | ||
// Non-standard validation options | ||
@@ -1086,0 +1086,0 @@ UNKNOWN_PROPERTY: 1000 |
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
59218