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.7.11 to 4.7.12

1

index.js

@@ -395,2 +395,3 @@ const { EventEmitter } = require('events')

wait: discovery ? discovery.destroy() : null,
suspended: this.suspended,
onpeer: peer => this._handlePeer(peer, topic)

@@ -397,0 +398,0 @@ })

4

lib/peer-discovery.js

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

module.exports = class PeerDiscovery {
constructor (swarm, topic, { wait = null, onpeer = noop, onerror = safetyCatch }) {
constructor (swarm, topic, { wait = null, suspended = false, onpeer = noop, onerror = safetyCatch }) {
this.swarm = swarm

@@ -17,3 +17,3 @@ this.topic = topic

this.destroying = null
this.suspended = false
this.suspended = suspended

@@ -20,0 +20,0 @@ this._sessions = []

{
"name": "hyperswarm",
"version": "4.7.11",
"version": "4.7.12",
"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