Socket
Socket
Sign inDemoInstall

libp2p-tcp

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

libp2p-tcp - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

2

package.json
{
"name": "libp2p-tcp",
"version": "0.5.0",
"version": "0.5.1",
"description": "Node.js implementation of the TCP module that libp2p uses, which implements the interface-connection and interface-transport interfaces",

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

@@ -1,3 +0,3 @@

// const debug = require('debug')
// const log = debug('libp2p:tcp')
const debug = require('debug')
const log = debug('libp2p:tcp')
const tcp = require('net')

@@ -66,3 +66,4 @@ const multiaddr = require('multiaddr')

if (listeners.length === 0) {
callback(new Error('there are no listeners'))
log('Called close with no active listeners')
return callback()
}

@@ -69,0 +70,0 @@ var count = 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