Socket
Socket
Sign inDemoInstall

@dashersw/axon

Package Overview
Dependencies
6
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.3 to 2.0.4

16

lib/sockets/pub.js

@@ -8,2 +8,3 @@

var slice = require('../utils').slice;
var queue = require('../plugins/queue');

@@ -24,2 +25,5 @@ /**

Socket.call(this);
this.ready = false;
this.use(queue());
}

@@ -45,2 +49,4 @@

if (!this.ready) return this.enqueue(slice(arguments));
var buf = this.pack(arguments);

@@ -55,1 +61,11 @@

};
PubSocket.prototype.bind = function() {
var self = this;
Socket.prototype.bind.apply(this, arguments);
this.on('bind', function() {
self.ready = true;
});
}

4

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

@@ -30,3 +30,3 @@ "dependencies": {

"engines": {
"node": "0.10.x || 0.11.x"
"node": ">= 0.11.8"
},

@@ -33,0 +33,0 @@ "repository": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc