express-validator
Advanced tools
Comparing version 3.1.1 to 3.1.2
@@ -298,3 +298,3 @@ // Type definitions for express-validator 3.0.0 | ||
export interface ExpressValidatorOptions { | ||
customValidators?: { [validatorName: string]: (value: any) => boolean } | ||
customValidators?: { [validatorName: string]: (...value: any[]) => boolean } | ||
customSanitizers?: { [sanitizername: string]: (value: any) => any } | ||
@@ -301,0 +301,0 @@ errorFormatter?: (param: string, msg: string, value: any) => {param: string, msg: string, value: any} |
@@ -14,3 +14,3 @@ { | ||
], | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"homepage": "https://github.com/ctavan/express-validator", | ||
@@ -17,0 +17,0 @@ "license": "MIT", |
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
59219