express-rate-limit
Advanced tools
Comparing version 2.10.0 to 2.11.0
@@ -46,3 +46,3 @@ 'use strict'; | ||
if (typeof options.store.incr !== 'function' || typeof options.store.resetKey !== 'function' || | ||
(options.skipFailedRequests && typeof options.store.decrease !== 'function')) { | ||
(options.skipFailedRequests && typeof options.store.decrement !== 'function')) { | ||
throw new Error('The store is not valid.'); | ||
@@ -49,0 +49,0 @@ } |
{ | ||
"name": "express-rate-limit", | ||
"version": "2.10.0", | ||
"version": "2.11.0", | ||
"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
13859