express-validation-map
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -19,3 +19,7 @@ function isRequired(value) { | ||
function isRangeNumber(min, max) { | ||
return value => +min <= +value && +max >= +value; | ||
} | ||
module.exports = { | ||
@@ -25,3 +29,4 @@ isRequired, | ||
isInteger, | ||
isName | ||
} | ||
isName, | ||
isRangeNumber | ||
} |
{ | ||
"name": "express-validation-map", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/Valentinishe/express-validation-map", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7868
92