schema-inspector
Advanced tools
Comparing version 1.6.5 to 1.6.6
@@ -94,4 +94,4 @@ /* | ||
this._dumpStack = function () { | ||
return _stack.map(function (i) {return i.replace(/^\[/g, '\033\034\035\036');}) | ||
.join('.').replace(/\.\033\034\035\036/g, '['); | ||
return _stack.map(function (i) {return i.replace(/^\[/g, '\u001b\u001c\u001d\u001e');}) | ||
.join('.').replace(/\.\u001b\u001c\u001d\u001e/g, '['); | ||
}; | ||
@@ -98,0 +98,0 @@ |
{ | ||
"name": "schema-inspector", | ||
"description": "Schema-Inspector is a powerful tool to sanitize and validate JS objects.", | ||
"version": "1.6.5", | ||
"version": "1.6.6", | ||
"main": "index.js", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -88,3 +88,3 @@ [![schema-inspector logo](https://raw.githubusercontent.com/Atinux/schema-inspector/master/misc/schema-inspector.png)](http://atinux.github.io/schema-inspector/) | ||
**Tips:** it's recommended to use one schema for the sanitzation and another for the validation, | ||
**Tips:** it's recommended to use one schema for the sanitization and another for the validation, | ||
@@ -858,3 +858,3 @@ ## In the browser | ||
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) | ||
} | ||
@@ -861,0 +861,0 @@ }; |
309918
23
5567