model-generator
Advanced tools
Comparing version 0.5.5 to 0.5.6
module.exports = { | ||
Name : 'Base64', | ||
Validate : (value) => { | ||
const base64Re = /smt/; | ||
const base64Re = /^[a-zA-z0-9-_]*$/; | ||
if (!base64Re.test(value)) { | ||
@@ -6,0 +6,0 @@ throw Error('Property was not valid'); |
{ | ||
"name": "model-generator", | ||
"version": "0.5.5", | ||
"version": "0.5.6", | ||
"description": "Model generator for applications that need models with typings and validation without the help of typescript", | ||
@@ -5,0 +5,0 @@ "main": "ModelGeneratorModule.js", |
13438