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.19.1 to 0.19.2

11

lib/RateLimiterCluster.js

@@ -251,7 +251,8 @@ /**

send: (msgData) => {
pm2.sendDataToProcessId(packet.process.pm_id, {
data: {},
topic: channel,
...msgData,
}, (sendErr, res) => {
const pm2Message = msgData;
pm2Message.topic = channel;
if (typeof pm2Message.data === 'undefined') {
pm2Message.data = {};
}
pm2.sendDataToProcessId(packet.process.pm_id, pm2Message, (sendErr, res) => {
if (sendErr) {

@@ -258,0 +259,0 @@ console.log(sendErr, res);

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