Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

quanstructor

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

quanstructor - npm Package Compare versions

Comparing version 0.4.7 to 0.4.8

2

package.json
{
"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) } )

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc