New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

k-rpc

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

k-rpc - npm Package Compare versions

Comparing version 2.0.2 to 2.1.0

10

index.js

@@ -69,3 +69,3 @@ var socket = require('k-rpc-socket')

response.id = this.id
if (!response.id) response.id = this.id
if (nodes) response.nodes = encodeNodes(nodes)

@@ -89,4 +89,4 @@ this.socket.response(node, query, response, cb)

if (!message.a) message.a = {}
message.a.id = this.id
message.a.token = node.token
if (!message.a.id) message.a.id = this.id
if (!message.a.token) message.a.token = node.token

@@ -98,3 +98,3 @@ this._query(node, message, cb)

if (!message.a) message.a = {}
message.a.id = this.id
if (!message.a.id) message.a.id = this.id

@@ -168,3 +168,3 @@ var stop = false

if (!message.a) message.a = {}
message.a.id = this.id
if (!message.a.id) message.a.id = this.id

@@ -171,0 +171,0 @@ var table = new KBucket({

{
"name": "k-rpc",
"version": "2.0.2",
"version": "2.1.0",
"description": "Low-level implementation of the k-rpc protocol used the BitTorrent 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