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

bittorrent-relay

Package Overview
Dependencies
Maintainers
0
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 14.0.4 to 14.0.5

2

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

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

@@ -642,3 +642,3 @@ import Debug from 'debug'

const params = new URLSearchParams(req.url.slice(req.url.indexOf('?')))
if(!this.hashes.has(params.info_hash)){
if(!params.has('info_hash') || !this.hashes.has(params.get('info_hash'))){
socket.send(JSON.stringify({action: 'failure reason', error: 'there was a error, info hash not supported'}))

@@ -645,0 +645,0 @@ socket.close()

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