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.1 to 2.3.2

.editorconfig

7

lib/RateLimiterMongo.js

@@ -11,3 +11,8 @@ const RateLimiterStoreAbstract = require('./RateLimiterStoreAbstract');

try {
const { version } = client.topology.s.options.metadata.driver;
let version;
if (client.client) {
({ version } = client.client.topology.s.options.metadata.driver);
} else {
({ version } = client.topology.s.options.metadata.driver);
}
const majorVersion = parseInt(version);

@@ -14,0 +19,0 @@

2

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