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 3.0.2 to 3.0.3

10

index.js

@@ -240,3 +240,6 @@ const WebTorrent = require('webtorrent')

this.midTorrent(id, { path: folderPath, destroyStoreOnDestroy: false })
])
]).catch(err => {
this.webtorrent.remove(id, { destroyStore: false })
throw err
})
const mainPath = path.join(checkTorrent.path, checkTorrent.name)

@@ -305,3 +308,6 @@ checkTorrent.folder = folderPath

this.midTorrent(checkProperty.infohash, { path: dataPath, destroyStoreOnDestroy: false })
])
]).catch(err => {
this.webtorrent.remove(checkProperty.infohash, { destroyStore: false })
throw err
})
// don't overwrite the torrent's infohash even though they will both be the same

@@ -308,0 +314,0 @@ for (const prop in checkProperty) {

2

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