Socket
Socket
Sign inDemoInstall

pm2-axon

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pm2-axon - npm Package Compare versions

Comparing version 2.0.9 to 2.0.10

26

lib/sockets/pub.js

@@ -52,1 +52,27 @@

};
PubSocket.prototype.sendv2 = function(data, cb){
var socks = this.socks;
var len = socks.length;
var sock;
var buf = this.pack([data]);
var i = 0;
socks.forEach(function(sock) {
if (sock.writable)
sock.write(buf, function() {
i++;
if (i == len)
process.nextTick(cb);
});
else {
i++;
if (i == len)
process.nextTick(cb);
}
});
return this;
};

2

package.json
{
"name": "pm2-axon",
"description": "High-level messaging & socket patterns implemented in pure js",
"version": "2.0.9",
"version": "2.0.10",
"author": "TJ Holowaychuk <tj@vision-media.ca>",

@@ -6,0 +6,0 @@ "author": {

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