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 3.0.0 to 3.0.1

6

index.js

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

socket.off('error', socket.onError)
socket.off('data', socket.onData)
socket.off('message', socket.onMessage)
socket.off('close', socket.onClose)

@@ -528,3 +528,3 @@ }

}
socket.onData = function(data, buffer){
socket.onMessage = function(data, buffer){
const message = buffer ? JSON.parse(Buffer.from(data).toString('utf-8')) : JSON.parse(data)

@@ -640,3 +640,3 @@ if(message.action === 'session'){

socket.on('error', socket.onError)
socket.on('data', socket.onData)
socket.on('message', socket.onMessage)
socket.on('close', socket.onClose)

@@ -643,0 +643,0 @@ }

{
"name": "bittorrent-relay",
"description": "Uses the mainline dht to relay requests to other trackers in a swarm",
"version": "3.0.0",
"version": "3.0.1",
"bin": {

@@ -6,0 +6,0 @@ "bittorrent-relay": "./bin/cmd.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