Comparing version 2.2.0 to 2.2.1
@@ -12,3 +12,3 @@ function next (middlewares, req, res, index, routerPatterns = {}, defaultRoute, errorHandler) { | ||
function step (err) { | ||
if (err) errorHandler(err, req, res) | ||
if (err) return errorHandler(err, req, res) | ||
return next(middlewares, req, res, ++index, routerPatterns, defaultRoute, errorHandler) | ||
@@ -15,0 +15,0 @@ } |
{ | ||
"name": "0http", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "Cero friction HTTP request router. The need for speed!", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
23719