libp2p-tcp
Advanced tools
Comparing version 0.10.2 to 0.11.0
{ | ||
"name": "libp2p-tcp", | ||
"version": "0.10.2", | ||
"version": "0.11.0", | ||
"description": "Node.js implementation of the TCP module that libp2p uses, which implements the interface-connection and interface-transport interfaces", | ||
@@ -33,7 +33,8 @@ "main": "src/index.js", | ||
"engines": { | ||
"node": ">=4.0.0" | ||
"node": ">=6.0.0", | ||
"npm": ">=3.0.0" | ||
}, | ||
"devDependencies": { | ||
"aegir": "^11.0.2", | ||
"chai": "^4.1.0", | ||
"chai": "^4.1.2", | ||
"dirty-chai": "^2.0.1", | ||
@@ -50,4 +51,4 @@ "interface-transport": "~0.3.5", | ||
"lodash.isfunction": "^3.0.8", | ||
"mafmt": "^2.1.8", | ||
"multiaddr": "^2.3.0", | ||
"mafmt": "^3.0.0", | ||
"multiaddr": "^3.0.0", | ||
"once": "^1.4.0", | ||
@@ -54,0 +55,0 @@ "stream-to-pull-stream": "^1.7.2" |
@@ -10,3 +10,3 @@ # js-libp2p-tcp | ||
![](https://img.shields.io/badge/npm-%3E%3D3.0.0-orange.svg?style=flat-square) | ||
![](https://img.shields.io/badge/Node.js-%3E%3D4.0.0-orange.svg?style=flat-square) | ||
![](https://img.shields.io/badge/Node.js-%3E%3D6.0.0-orange.svg?style=flat-square) | ||
@@ -13,0 +13,0 @@ ![](https://raw.githubusercontent.com/libp2p/interface-connection/master/img/badge.png) |
@@ -7,3 +7,3 @@ 'use strict' | ||
module.exports = (socket) => { | ||
var mh | ||
let mh | ||
@@ -10,0 +10,0 @@ if (socket.remoteFamily === 'IPv6') { |
@@ -17,2 +17,3 @@ 'use strict' | ||
const CLOSE_TIMEOUT = 2000 | ||
function noop () {} | ||
@@ -19,0 +20,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
15665
+ Addedmafmt@3.0.2(transitive)
+ Addedmultiaddr@3.1.0(transitive)
- Removedmafmt@2.1.8(transitive)
- Removedmultiaddr@2.3.0(transitive)
Updatedmafmt@^3.0.0
Updatedmultiaddr@^3.0.0