New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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 5.0.5 to 5.0.6

12

bin/cmd.js
#!/usr/bin/env node
import minimist from 'minimist'
import Relay from '../index.js'
import {Server} from '../index.js'
import path from 'path'

@@ -82,3 +82,3 @@ import fs from 'fs'

const relay = new Relay({
const sever = new Server({
announceTimer: argv['announce-timer'],

@@ -97,16 +97,16 @@ relayTimer: argv['relay-timer'],

relay.on('listening', (which) => {
sever.on('listening', (which) => {
console.log('listening', which)
})
relay.on('error', (which, err) => {
sever.on('error', (which, err) => {
console.error('close', which, err)
})
relay.on('close', (which) => {
sever.on('close', (which) => {
console.log('close', which)
})
relay.turnOn(() => {
sever.turnOn(() => {
console.log('turned on')
})
{
"name": "bittorrent-relay",
"description": "Uses the mainline dht to relay requests to other trackers in a swarm",
"version": "5.0.5",
"version": "5.0.6",
"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