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 1.0.6 to 1.0.7

9

index.js

@@ -46,3 +46,10 @@ const WebTorrent = require('webtorrent')

this.webtorrent = new WebTorrent({ dht: { verify: ed.verify } })
this.webtorrent = ((finalOpts) => {
if(finalOpts.webtorrent){
finalOpts.webtorrent.dht._verify = ed.verify
return finalOpts.webtorrent
} else {
return new WebTorrent({ dht: { verify: ed.verify } })
}
})(finalOpts)

@@ -49,0 +56,0 @@ this.webtorrent.on('error', error => {

2

package.json
{
"name": "torrentz",
"version": "1.0.6",
"version": "1.0.7",
"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