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

ataraxia

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ataraxia - npm Package Compare versions

Comparing version 0.2.3 to 0.2.4

2

package.json
{
"name": "ataraxia",
"version": "0.2.3",
"version": "0.2.4",
"description": "P2P messaging over mesh networks",

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

@@ -24,2 +24,3 @@ 'use strict';

clearTimeout(this.helloTimeout);
this.helloTimeout = null;
}

@@ -79,5 +80,6 @@

// Wait a few seconds for the hello from the other side
this.helloTimeout = setTimeout(() => {
this.socket.destroy();
}, 5000);
if(this.helloTimeout) {
clearTimeout(this.helloTimeout);
}
this.helloTimeout = setTimeout(() => this.socket.destroy(), 5000);
}

@@ -84,0 +86,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