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

bittorrent-dht

Package Overview
Dependencies
Maintainers
1
Versions
137
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bittorrent-dht - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

5

index.js
// TODO:
// - Use the same DHT object for looking up multiple torrents
// - Persist the routing table for later bootstrapping
// - Should work in Node, not just browser
// - Use actual DHT data structure with "buckets" (follow spec)

@@ -14,3 +13,3 @@

var EventEmitter = require('events').EventEmitter
var util = require('util')
var inherits = require('inherits')

@@ -59,3 +58,3 @@ var MAX_NODES = 5000

util.inherits(DHT, EventEmitter)
inherits(DHT, EventEmitter)

@@ -62,0 +61,0 @@ /**

{
"name": "bittorrent-dht",
"version": "0.2.2",
"version": "0.2.3",
"description": "Simple, robust, BitTorrent DHT implementation",

@@ -10,3 +10,4 @@ "main": "index.js",

"chrome-dgram": "1.x",
"compact2string": "~1.2.0"
"compact2string": "~1.2.0",
"inherits": "~2.0.1"
},

@@ -13,0 +14,0 @@ "devDependencies": {

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