Socket
Socket
Sign inDemoInstall

torrentz

Package Overview
Dependencies
Maintainers
1
Versions
137
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

torrentz - npm Package Compare versions

Comparing version 2.0.6 to 2.0.8

12

index.js

@@ -125,3 +125,13 @@ const WebTorrent = require('webtorrent')

return data
const putData = await new Promise((resolve, reject) => {
this.webtorrent.dht.put({ k: addressBuff, v: {ih: data.infohash, ...data.stuff}, seq: data.sequence, sig: signatureBuff }, (putErr, hash, number) => {
if (putErr) {
reject(putErr)
} else {
resolve({ hash: hash.toString('hex'), number })
}
})
})
return {...data, ...putData}
}

@@ -128,0 +138,0 @@

2

package.json
{
"name": "torrentz",
"version": "2.0.6",
"version": "2.0.8",
"description": "",

@@ -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