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

torrentz

Package Overview
Dependencies
Maintainers
1
Versions
158
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 10.0.5 to 10.0.6

5

index.js

@@ -368,3 +368,2 @@ const WebTorrent = require('webtorrent')

}
// const mainPath = path.join(checkTorrent.path, checkTorrent.name)
checkTorrent.folder = folderPath

@@ -409,3 +408,2 @@ checkTorrent.address = null

}
// const mainPath = path.join(checkTorrent.path, checkTorrent.name)
checkTorrent.dir = null

@@ -433,3 +431,2 @@ checkTorrent.own = true

await this.handleTheData({num: 0}, this.db.put(`${this._fixed.load}${this._fixed.address}${checkTorrent.address}`, {size: checkTorrent.length, length: checkTorrent.files.length, address: checkTorrent.address, infohash: checkTorrent.infohash, name: checkTorrent.name}), {err: true, cb: async () => {await this.stopTorrent(checkTorrent.address, { destroyStore: false })}})
// const mainPath = path.join(checkTorrent.path, checkTorrent.name)
checkTorrent.own = false

@@ -814,3 +811,3 @@ checkTorrent.dir = null

for (const info of data) {
const tempPath = path.join(folderPath, info.name)
const tempPath = path.join(folderPath, info.webkitRelativePath || info.name)
await this.handleTheData({ id: tempPath, num: sec, res: false, kind: 'formdata' }, pipelinePromise(Readable.from(info.stream()), fs.createWriteStream(tempPath)), {err: true, cb: null})

@@ -817,0 +814,0 @@ }

2

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