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 2.1.1 to 2.2.0

4

example.js

@@ -5,3 +5,5 @@ 'use strict'

const crypto = require('crypto')
const swarm = hyperswarm()
const swarm = hyperswarm({
announceLocalAddress: true
})

@@ -8,0 +10,0 @@ if (!process.argv[2]) { throw Error('node example.js <topic-key>') }

{
"name": "hyperswarm",
"version": "2.1.1",
"version": "2.2.0",
"description": "A distributed networking stack for connecting peers",

@@ -8,3 +8,3 @@ "main": "swarm.js",

"@hyperswarm/discovery": "^1.1.0",
"@hyperswarm/network": "1.0.0",
"@hyperswarm/network": "1.1.0",
"shuffled-priority-queue": "^2.1.0",

@@ -11,0 +11,0 @@ "utp-native": "^2.1.3"

@@ -38,2 +38,3 @@ 'use strict'

ephemeral,
announceLocalAddress: !!opts.announceLocalAddress,
bind: () => this.emit('listening'),

@@ -40,0 +41,0 @@ socket: (socket, isTCP) => {

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