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

torrent-properties

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

torrent-properties - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

3

index.js
const sodium = require('sodium-universal')
const sha1 = require('simple-sha1')
const fs = require('fs')
const { json } = require('stream/consumers')

@@ -181,3 +180,3 @@ const BTPK_PREFIX = 'urn:btpk:'

dht.put({k: buffAddKey, v: {ih: Buffer.from(infoHash, 'hex')}, sign: (buf) => {return sign(buf, buffAddKey, buffSecKey)}, sequence}, (putErr, hash) => {
this.dht.put({k: buffAddKey, v: {ih: Buffer.from(infoHash, 'hex')}, sign: (buf) => {return sign(buf, buffAddKey, buffSecKey)}, sequence}, (putErr, hash) => {
if(putErr){

@@ -184,0 +183,0 @@ return callback(putErr)

{
"name": "torrent-properties",
"version": "1.0.7",
"version": "1.0.8",
"description": "BEP 46",

@@ -5,0 +5,0 @@ "main": "index.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