New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

schema-inspector

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

schema-inspector - npm Package Compare versions

Comparing version 1.6.4 to 1.6.5

@@ -1013,5 +1013,7 @@ /*

for (i in post) {
this._deeperArray(i);
post[i] = this._sanitize(schema.items, post[i]);
this._back();
if(post.hasOwnProperty(i)){
this._deeperArray(i);
post[i] = this._sanitize(schema.items, post[i]);
this._back();
}
}

@@ -1018,0 +1020,0 @@ }

{
"name": "schema-inspector",
"description": "Schema-Inspector is a powerful tool to sanitize and validate JS objects.",
"version": "1.6.4",
"version": "1.6.5",
"main": "index.js",

@@ -6,0 +6,0 @@ "author": {

@@ -857,3 +857,3 @@ [![schema-inspector logo](https://raw.githubusercontent.com/Atinux/schema-inspector/master/misc/schema-inspector.png)](http://atinux.github.io/schema-inspector/)

ipsum: { type: 'string', optional: true, def: 23 },
dolor: { type: 'string', def: 'NikitaJS, def: 34 } // (optional: true)
dolor: { type: 'string', def: 'NikitaJS', def: 34 } // (optional: true)
}

@@ -860,0 +860,0 @@ };

@@ -5,4 +5,7 @@ var validation = require('./validation_test').validation;

// testing issues with shims
Array.prototype.TMP = function(){};
suite('Validation', validation);
suite('Sanitization', sanitization);
suite('Generator', generator);