rate-limiter-flexible
Advanced tools
Comparing version 2.3.11 to 2.3.12
@@ -5,4 +5,4 @@ const RateLimiterAbstract = require('./RateLimiterAbstract'); | ||
constructor(...limiters) { | ||
if (limiters.length < 2) { | ||
throw new Error('RateLimiterUnion: at least two limiters have to be set'); | ||
if (limiters.length < 1) { | ||
throw new Error('RateLimiterUnion: at least one limiter have to be passed'); | ||
} | ||
@@ -9,0 +9,0 @@ limiters.forEach((limiter) => { |
{ | ||
"name": "rate-limiter-flexible", | ||
"version": "2.3.11", | ||
"version": "2.3.12", | ||
"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
122284