Socket
Socket
Sign inDemoInstall

dht-rpc

Package Overview
Dependencies
Maintainers
1
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dht-rpc - npm Package Compare versions

Comparing version 6.9.1 to 6.10.0

5

lib/query.js

@@ -36,2 +36,3 @@ const { Readable } = require('streamx')

this._autoDestroySession = !opts.session
this._onlyClosestNodes = false

@@ -56,2 +57,4 @@ this._onvisitbound = this._onvisit.bind(this)

}
if (opts.onlyClosestNodes) this._onlyClosestNodes = true
}

@@ -118,2 +121,4 @@

_addPending (node, ref) {
if (this._onlyClosestNodes) return false
const addr = node.host + ':' + node.port

@@ -120,0 +125,0 @@ const refs = this._seen.get(addr)

2

package.json
{
"name": "dht-rpc",
"version": "6.9.1",
"version": "6.10.0",
"description": "Make RPC calls over a Kademlia based DHT",

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

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