keep-or-skip
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -0,1 +1,5 @@ | ||
# 1.0.2 / 2018-07-20 | ||
* Fixed middleware skipping. | ||
# 1.0.1 / 2018-05-12 | ||
@@ -7,2 +11,2 @@ | ||
* Initial version of `keep-or-skip` - dynamically execute or skip express middlewares. | ||
* Initial version of `keep-or-skip` - dynamically execute or skip express middlewares. |
@@ -0,0 +0,0 @@ /******************************************************************************* |
@@ -44,3 +44,3 @@ /******************************************************************************* | ||
* @returns {Function[]} An array of middlewares. | ||
* @version 1.0.1 | ||
* @version 1.0.2 | ||
* @author Nicola Del Gobbo - Mauro Doganieri | ||
@@ -75,4 +75,5 @@ */ | ||
next() | ||
} else { | ||
middleware(req, res, next) | ||
} | ||
middleware(req, res, next) | ||
} | ||
@@ -126,2 +127,2 @@ } | ||
module.exports = keepOrSkip | ||
module.exports = keepOrSkip |
{ | ||
"name": "keep-or-skip", | ||
"description": "Dynamically execute or skip express middlewares", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"contributors": [ | ||
@@ -51,2 +51,2 @@ { | ||
] | ||
} | ||
} |
@@ -0,0 +0,0 @@ # keep-or-skip |
Sorry, the diff of this file is not supported yet
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
187
24748