rate-limiter-flexible
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -57,3 +57,3 @@ const RateLimiterStoreAbstract = require('./RateLimiterStoreAbstract'); | ||
const nextOptions = Object.assign({}, options); | ||
nextOptions.attemptNumber = nextOptions.attemptNumber ? nextOptions.attemptNumber : 1; | ||
nextOptions.attemptNumber = nextOptions.attemptNumber ? (nextOptions.attemptNumber + 1) : 1; | ||
@@ -60,0 +60,0 @@ this._upsert(rlKey, points, msDuration, forceExpire, nextOptions) |
{ | ||
"name": "rate-limiter-flexible", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Node.js rate limiter by key and protection from DDoS and Brute-Force attacks in process Memory, Redis, MongoDb, Memcached, MySQL, PostgreSQL, Cluster or PM", | ||
@@ -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
96598