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

hyperswarm

Package Overview
Dependencies
Maintainers
4
Versions
90
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.1 to 4.3.2

8

lib/peer-discovery.js

@@ -52,3 +52,3 @@ const safetyCatch = require('safety-catch')

if (overdue) this._refreshLater(true)
else this._refreshMaybe().catch(this._onerror)
else this.refresh().catch(this._onerror)
}, delay)

@@ -106,3 +106,3 @@ }

async _refreshMaybe () {
async refresh () {
if (this.destroyed) throw new Error('PeerDiscovery is destroyed')

@@ -148,3 +148,3 @@

if (this._sessions.length === 0) await this.destroy()
else if (this._serverSessions === 0 && this._needsUnannounce) await this._refreshMaybe()
else if (this._serverSessions === 0 && this._needsUnannounce) await this.refresh()
}

@@ -210,3 +210,3 @@

return this.discovery._refreshMaybe()
return this.discovery.refresh()
}

@@ -213,0 +213,0 @@

{
"name": "hyperswarm",
"version": "4.3.1",
"version": "4.3.2",
"description": "A distributed networking stack for connecting peers",

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