Socket
Socket
Sign inDemoInstall

rate-limiter-flexible

Package Overview
Dependencies
0
Maintainers
1
Versions
163
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.8.2 to 0.8.3

6

lib/RateLimiterRedis.js

@@ -23,5 +23,5 @@ const RateLimiterAbstract = require('./RateLimiterAbstract');

if (Array.isArray(resSet)) {
resSet = resSet[1];
consumed = consumed[1];
resTtlMs = resTtlMs[1];
[, resSet] = resSet;
[, consumed] = consumed;
[, resTtlMs] = resTtlMs;
}

@@ -28,0 +28,0 @@ const res = new RateLimiterRes();

{
"name": "rate-limiter-flexible",
"version": "0.8.2",
"version": "0.8.3",
"description": "Flexible API rate limiter backed by Redis for distributed node.js applications",

@@ -5,0 +5,0 @@ "main": "index.js",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc