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

axon-secure

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

axon-secure - npm Package Compare versions

Comparing version 2.0.6 to 2.0.7

18

lib/sockets/sock.js

@@ -180,5 +180,9 @@

debug('%s closing', this.type);
this.server.on('close', this.emit.bind(this, 'close'));
this.server.close();
fn && fn();
if (this.server) {
this.server.on('close', this.emit.bind(this, 'close'));
this.server.close(fn);
} else {
this.emit.bind(this, 'close');
fn && fn();
}
};

@@ -371,6 +375,5 @@

setImmediate(function () {
debug('%s connect attempt %s:%s', self.type, host, port);
sock.connect(port, host);
});
debug('%s connect attempt %s:%s', self.type, host, port);
sock.connect(port, host);
return this;

@@ -411,2 +414,3 @@ };

this.type = 'server';
this.closing = false;
this.server = net.createServer(onconnection.bind(this));

@@ -413,0 +417,0 @@

{
"name": "axon-secure",
"description": "High-level messaging & socket patterns with optional encryption implemented in pure js",
"version": "2.0.6",
"version": "2.0.7",
"author": "Marcello Gesmundo <mgesmundo@yoovant.com>",

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

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