Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bittorrent-relay

Package Overview
Dependencies
Maintainers
1
Versions
142
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bittorrent-relay - npm Package Compare versions

Comparing version 15.0.0 to 15.0.1

2

package.json
{
"name": "bittorrent-relay",
"description": "Uses the mainline dht to relay requests to other trackers in a swarm",
"version": "15.0.0",
"version": "15.0.1",
"bin": {

@@ -6,0 +6,0 @@ "bittorrent-relay": "./bin/cmd.js"

@@ -527,14 +527,14 @@ import Debug from 'debug'

} else {
this.relay.lookup(test, (err, num) => {
this.relay.announce(test, this.port, (err) => {
if(err){
this.emit('error', err)
} else {
this.emit('ev', test + ': ' + num)
this.emit('ev', 'announced: ' + test)
}
})
this.relay.announce(test, this.port, (err) => {
this.relay.lookup(test, (err, num) => {
if(err){
this.emit('error', err)
} else {
this.emit('ev', 'announced: ' + test)
this.emit('ev', test + ': ' + num)
}

@@ -541,0 +541,0 @@ })

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