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 0.23.0 to 0.23.1

2

lib/RateLimiterMongo.js

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

collection.createIndex({ expire: -1 }, { expireAfterSeconds: 0 });
collection.createIndex(Object.assign(this.indexKeyPrefix, { key: 1 }), { unique: true });
collection.createIndex(Object.assign({}, this.indexKeyPrefix, { key: 1 }), { unique: true });

@@ -88,0 +88,0 @@ this._collection = collection;

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

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