input-filter
Advanced tools
Comparing version 0.0.13 to 0.0.14
{ | ||
"name": "input-filter", | ||
"version": "0.0.13", | ||
"version": "0.0.14", | ||
"description": "InputFilter js implementation", | ||
@@ -5,0 +5,0 @@ "main": "main.js", |
@@ -16,2 +16,5 @@ | ||
isValid(value) { | ||
if (!value) { | ||
return Promise.reject(this.message) | ||
} | ||
let length = value.length | ||
@@ -18,0 +21,0 @@ if (this.min && this.max) { |
Sorry, the diff of this file is not supported yet
59940
861