Socket
Socket
Sign inDemoInstall

hyperswarm

Package Overview
Dependencies
Maintainers
4
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hyperswarm - npm Package Compare versions

Comparing version 4.3.6 to 4.3.7

9

lib/peer-discovery.js

@@ -155,4 +155,9 @@ const safetyCatch = require('safety-catch')

if (this.destroyed) return
if (this._sessions.length === 0) await this.swarm.leave(this.topic)
else if (this._serverSessions === 0 && this._needsUnannounce) await this.refresh()
try {
if (this._sessions.length === 0) await this.swarm.leave(this.topic)
else if (this._serverSessions === 0 && this._needsUnannounce) await this.refresh()
} catch (err) { // ignore network failures here, as we are tearing down
safetyCatch(err)
}
}

@@ -159,0 +164,0 @@

{
"name": "hyperswarm",
"version": "4.3.6",
"version": "4.3.7",
"description": "A distributed networking stack for connecting peers",

@@ -5,0 +5,0 @@ "files": [

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