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 2.1.4 to 2.1.5

6

lib/index.d.ts

@@ -160,3 +160,7 @@ export interface IRateLimiterRes {

export class RateLimiterQueue {
constructor(limiterFlexible: RateLimiterAbstract, opts?: IRateLimiterQueueOpts)
constructor(limiterFlexible: RateLimiterAbstract, opts?: IRateLimiterQueueOpts);
getTokensRemaining(key?: string | number): Promise<RateLimiterRes>;
removeTokens(tokens: number, key?: string | number): Promise<RateLimiterRes>;
}

@@ -163,0 +167,0 @@

2

package.json
{
"name": "rate-limiter-flexible",
"version": "2.1.4",
"version": "2.1.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