Socket
Socket
Sign inDemoInstall

rate-limiter-flexible

Package Overview
Dependencies
Maintainers
1
Versions
163
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rate-limiter-flexible - npm Package Compare versions

Comparing version 2.3.11 to 2.3.12

4

lib/RateLimiterUnion.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc