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.9 to 1.1.0

6

index.js

@@ -77,4 +77,4 @@ const WebTorrent = require('webtorrent')

const useData = await fs.readFile(path.join(this._author, data))
const parsedData = JSON.parse(useData.toString())
try {
const parsedData = JSON.parse(useData.toString())
await this.saveData(parsedData)

@@ -349,2 +349,4 @@ } catch (err) {

await fs.emptyDir(folderPath)
} else {
await fs.ensureDir(folderPath)
}

@@ -421,2 +423,4 @@ // await Promise.race([

await fs.emptyDir(folderPath)
} else {
await fs.ensureDir(folderPath)
}

@@ -423,0 +427,0 @@ // await Promise.race([

2

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