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 13.0.0 to 13.0.1

7

index.js

@@ -86,2 +86,5 @@ const WebTorrent = require('webtorrent')

if (rej) {
if(rej !== true){
await rej()
}
// if (useCaught.cb) {

@@ -558,3 +561,3 @@ // await useCaught.cb()

const dataFromFolder = await this.resOrRej(this.dataFromTorrent(folderPath, authorStuff.desc), true)
const dataFromFolder = await this.resOrRej(this.dataFromTorrent(folderPath, authorStuff.desc), async () => {await fs.remove(folderPath);await this.db.del(`${this._fixed.seed}${this._fixed.infohash}${authorStuff.infohash}`);})

@@ -641,3 +644,3 @@ if (authorStuff.infohash !== dataFromFolder.infoHash) {

const dataFromFolder = await this.resOrRej(this.dataFromTorrent(folderPath, authorStuff.desc), true)
const dataFromFolder = await this.resOrRej(this.dataFromTorrent(folderPath, authorStuff.desc), async () => {await fs.remove(folderPath);await this.db.del(`${this._fixed.seed}${this._fixed.address}${authorStuff.address}`);})

@@ -644,0 +647,0 @@ const dataFromProp = await this.resOrRej(this.publishFunc(authorStuff.address, info.secret, {...authorStuff.stuff, ih: dataFromFolder.infoHash}, authorStuff.sequence + 1), true)

{
"name": "torrentz",
"version": "13.0.0",
"version": "13.0.1",
"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