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 3.0.4 to 3.0.5

2

lib/component/MemoryStorage/MemoryStorage.js

@@ -18,3 +18,3 @@ const Record = require('./Record');

: -1;
if (msBeforeExpires !== 0) {
if (!this._storage[key].expiresAt || msBeforeExpires > 0) {
// Change value

@@ -21,0 +21,0 @@ this._storage[key].value = this._storage[key].value + value;

{
"name": "rate-limiter-flexible",
"version": "3.0.4",
"version": "3.0.5",
"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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc