Socket
Socket
Sign inDemoInstall

libp2p-kad-dht

Package Overview
Dependencies
Maintainers
2
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

libp2p-kad-dht - npm Package Compare versions

Comparing version 0.6.0 to 0.6.3

ci/Jenkinsfile

20

CHANGELOG.md

@@ -0,1 +1,21 @@

<a name="0.6.3"></a>
## [0.6.3](https://github.com/libp2p/js-libp2p-kad-dht/compare/v0.6.2...v0.6.3) (2018-01-30)
<a name="0.6.2"></a>
## [0.6.2](https://github.com/libp2p/js-libp2p-kad-dht/compare/v0.6.1...v0.6.2) (2018-01-30)
<a name="0.6.1"></a>
## [0.6.1](https://github.com/libp2p/js-libp2p-kad-dht/compare/v0.6.0...v0.6.1) (2018-01-30)
### Bug Fixes
* release providers resources ([#23](https://github.com/libp2p/js-libp2p-kad-dht/issues/23)) ([ff87f4b](https://github.com/libp2p/js-libp2p-kad-dht/commit/ff87f4b))
<a name="0.6.0"></a>

@@ -2,0 +22,0 @@ # [0.6.0](https://github.com/libp2p/js-libp2p-kad-dht/compare/v0.5.1...v0.6.0) (2017-11-09)

29

package.json
{
"name": "libp2p-kad-dht",
"version": "0.6.0",
"version": "0.6.3",
"description": "JavaScript implementation of the Kad-DHT for libp2p",

@@ -46,13 +46,13 @@ "main": "src/index.js",

"debug": "^3.1.0",
"hashlru": "^2.2.0",
"hashlru": "^2.2.1",
"heap": "^0.2.6",
"interface-datastore": "~0.4.1",
"k-bucket": "^3.3.0",
"libp2p-crypto": "~0.10.3",
"interface-datastore": "~0.4.2",
"k-bucket": "^3.3.1",
"libp2p-crypto": "~0.12.0",
"libp2p-record": "~0.5.1",
"multihashing-async": "~0.4.7",
"peer-id": "~0.10.2",
"peer-info": "~0.11.0",
"peer-id": "~0.10.5",
"peer-info": "~0.11.6",
"priorityqueue": "^0.2.0",
"protons": "^1.0.0",
"protons": "^1.0.1",
"pull-length-prefixed": "^1.3.0",

@@ -65,3 +65,3 @@ "pull-stream": "^3.6.1",

"devDependencies": {
"aegir": "^12.1.3",
"aegir": "^12.4.0",
"chai": "^4.1.2",

@@ -71,9 +71,9 @@ "datastore-level": "~0.7.0",

"interface-connection": "~0.3.2",
"libp2p-multiplex": "~0.5.0",
"libp2p-swarm": "~0.33.1",
"libp2p-tcp": "~0.11.1",
"libp2p-multiplex": "~0.5.1",
"libp2p-swarm": "~0.35.1",
"libp2p-tcp": "~0.11.2",
"lodash": "^4.17.4",
"lodash.random": "^3.2.0",
"lodash.range": "^3.2.0",
"peer-book": "~0.5.1",
"peer-book": "~0.5.4",
"pre-commit": "^1.2.2",

@@ -86,4 +86,5 @@ "safe-buffer": "^5.1.1"

"Pedro Teixeira <i@pgte.me>",
"Richard Schneider <makaretu@gmail.com>"
"Richard Schneider <makaretu@gmail.com>",
"ᴠɪᴄᴛᴏʀ ʙᴊᴇʟᴋʜᴏʟᴍ <victorbjelkholm@gmail.com>"
]
}

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

this.bootstrapStop()
this.providers.stop()
this.network.stop(callback)

@@ -125,0 +126,0 @@ }

@@ -62,2 +62,14 @@ 'use strict'

/**
* Release any resources.
*
* @returns {undefined}
*/
stop () {
if (this._cleaner) {
clearInterval(this._cleaner)
this._cleaner = null
}
}
/**
* Check all providers if they are still valid, and if not

@@ -64,0 +76,0 @@ * delete them.

@@ -54,2 +54,3 @@ /* eslint-env mocha */

expect(provs).to.be.eql([infos[0].id, infos[1].id])
providers.stop()

@@ -86,2 +87,3 @@ done()

})
providers.stop()
cb()

@@ -116,2 +118,3 @@ })

expect(provs).to.have.length(0)
providers.stop()
done()

@@ -118,0 +121,0 @@ })

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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