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 1.0.2 to 1.0.3

2

lib/RateLimiterMemcache.js

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

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