quanstructor
Advanced tools
Comparing version 0.4.7 to 0.4.8
{ | ||
"name": "quanstructor", | ||
"version": "0.4.7", | ||
"version": "0.4.8", | ||
"description": "Exceptionally powerful object model builder for complex architectures", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -133,3 +133,6 @@ let { defined } = require('./lib/Statics') | ||
let res = v.validate( obj[prop], this.specs[ prop ].validation ) | ||
let constraint = {} | ||
constraint[ prop ] = this.specs[ prop ].validation | ||
let res = v.validate( obj, constraint ) | ||
// let res = v.validate( obj[prop], this.specs[ prop ].validation ) | ||
if (res && Object.keys(res).length > 0 ) | ||
@@ -136,0 +139,0 @@ throw BaseErrors.FailedSchemaValidation( { schema: this.name, property: prop, validation: JSON.stringify(res) } ) |
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
19767
537