express-rate-limit
Advanced tools
Comparing version 3.3.0 to 3.3.1
@@ -114,3 +114,7 @@ "use strict"; | ||
res.on("close", () => decrementKey()); | ||
res.on("close", () => { | ||
if (!res.finished) { | ||
decrementKey(); | ||
} | ||
}); | ||
@@ -117,0 +121,0 @@ res.on("error", () => decrementKey()); |
{ | ||
"name": "express-rate-limit", | ||
"version": "3.3.0", | ||
"version": "3.3.1", | ||
"description": "Basic IP rate-limiting middleware for Express. Use to limit repeated requests to public APIs and/or endpoints such as password reset.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/nfriedly/express-rate-limit", |
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
16002
162