create-torrent
Advanced tools
Comparing version 3.17.1 to 3.17.2
@@ -89,2 +89,5 @@ module.exports = createTorrent | ||
if (input.length === 1 && typeof input[0] === 'string') { | ||
if (typeof fs.stat !== 'function') { | ||
throw new Error('filesystem paths do not work in the browser') | ||
} | ||
// If there's a single path, verify it's a file before deciding this is a single | ||
@@ -91,0 +94,0 @@ // file torrent |
{ | ||
"name": "create-torrent", | ||
"description": "Create .torrent files", | ||
"version": "3.17.1", | ||
"version": "3.17.2", | ||
"author": "Feross Aboukhadijeh <feross@feross.org> (http://feross.org/)", | ||
@@ -6,0 +6,0 @@ "bin": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
441020
869