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.1 to 2.0.2

12

lib/sockets/sock.js

@@ -49,2 +49,3 @@

this.server = null;
this.running = 0;
this.socks = [];

@@ -388,3 +389,12 @@ this.set('hwm', Infinity);

debug('%s bind %s:%s', this.type, host, port);
this.server.on('listening', this.emit.bind(this, 'bind'));
this.server.on('listening', function () {
this.running++;
if (this.running > 1) {
throw new Error('cannot bind() multiple times');
}
this.emit('bind');
}.bind(this));
this.server.on('close', function () {
this.running--;
}.bind(this));

@@ -391,0 +401,0 @@ this.server.listen(port, host, fn);

2

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

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

Sorry, the diff of this file is not supported yet

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