Socket
Socket
Sign inDemoInstall

create-torrent

Package Overview
Dependencies
Maintainers
1
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-torrent - npm Package Compare versions

Comparing version 3.20.1 to 3.20.2

2

index.js

@@ -87,3 +87,3 @@ module.exports = createTorrent

commonPrefix = null
} else if (i === 0) { // The first file has a prefix
} else if (i === 0 && input.length > 1) { // The first file has a prefix
commonPrefix = item.path[0]

@@ -90,0 +90,0 @@ } else if (item.path[0] !== commonPrefix) { // The prefix doesn't match

{
"name": "create-torrent",
"description": "Create .torrent files",
"version": "3.20.1",
"version": "3.20.2",
"author": "Feross Aboukhadijeh <feross@feross.org> (http://feross.org/)",

@@ -6,0 +6,0 @@ "bin": {

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