Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-pm2-events

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-pm2-events - npm Package Compare versions

Comparing version 1.2.35 to 1.2.36

2

package.json
{
"name": "node-pm2-events",
"version": "1.2.35",
"version": "1.2.36",
"description": "EventBus for local and decentralized instances of the both for individual nodejs applications and as parts of pm2",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -65,3 +65,3 @@ ## 🇺🇦Decentralized instances events

[![initialize](https://img.shields.io/badge/eventbus-transport_initialize-blue)](https://github.com/rosbitskyy/node-pm2-events/blob/main/main-srv-test.js)
[![initialize](https://img.shields.io/badge/eventbus-transport_initialize-blue)](https://github.com/rosbitskyy/node-pm2-events/blob/main/tests/)

@@ -129,3 +129,3 @@ ```javascript

[![filterByProcessName](https://img.shields.io/badge/eventbus-websocket_messagesHandler-blue)](https://github.com/rosbitskyy/node-pm2-events/blob/main/main-srv-test.js)
[![filterByProcessName](https://img.shields.io/badge/eventbus-websocket_messagesHandler-blue)](https://github.com/rosbitskyy/node-pm2-events/blob/main/tests/)
```javascript

@@ -160,3 +160,3 @@ // override: handle messages from clients sockets

[![handshakes](https://img.shields.io/badge/eventbus-transport_handshakes-blue)](https://github.com/rosbitskyy/node-pm2-events/blob/main/main-srv-test.js)
[![handshakes](https://img.shields.io/badge/eventbus-transport_handshakes-blue)](https://github.com/rosbitskyy/node-pm2-events/blob/main/tests/eventbus-transport-become-primary.js)

@@ -169,3 +169,3 @@ ```javascript

[![onMasterChange](https://img.shields.io/badge/eventbus-transport_onMasterChange-blue)](https://github.com/rosbitskyy/node-pm2-events/blob/main/main-srv-test.js)
[![onMasterChange](https://img.shields.io/badge/eventbus-transport_onPrimaryChange-blue)](https://github.com/rosbitskyy/node-pm2-events/blob/main/tests/eventbus-transport-become-primary.js)

@@ -208,3 +208,3 @@ ```javascript

[![filterByProcessName](https://img.shields.io/badge/eventbus-transport_filterByProcessName-blue)](https://github.com/rosbitskyy/node-pm2-events/blob/main/main-srv-test.js)
[![filterByProcessName](https://img.shields.io/badge/eventbus-transport_filterByProcessName-blue)](https://github.com/rosbitskyy/node-pm2-events/blob/main/tests/)

@@ -211,0 +211,0 @@ In the case of using the same Redis server for different projects

@@ -34,3 +34,2 @@ /*

*/
// by default - internal send event
#messagesHandler = (message, session, connection) =>

@@ -68,3 +67,3 @@ this.EventBus.send('websocketHandler', {message, session, connection});

stringify = (v) => {
return {}.constructor === v.constructor || [].constructor === v.constructor ? JSON.stringify(v) : v;
return JSON.stringify(v);
}

@@ -82,2 +81,3 @@

} catch (e) {
console.error(e)
}

@@ -100,2 +100,3 @@ }

} catch (e) {
console.error(e)
}

@@ -102,0 +103,0 @@ }

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