express-body-parser-error-handler
Advanced tools
Comparing version 1.0.5 to 1.0.6
declare module 'express-body-parser-error-handler' { | ||
import type { Request, Response, NextFunction } from 'express'; | ||
import type { Request, Response, ErrorRequestHandler } from 'express'; | ||
@@ -11,3 +11,3 @@ export interface BodyParserErrorHandlerOptions { | ||
options?: BodyParserErrorHandlerOptions, | ||
): (req: Request, res: Response, next: NextFunction) => void; | ||
): ErrorRequestHandler; | ||
} |
{ | ||
"name": "express-body-parser-error-handler", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "middleware to be set right after body parser in order to return 4xx error back to the client", | ||
@@ -5,0 +5,0 @@ "scripts": { |
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
7501