webtorrent-fixtures
Advanced tools
Comparing version 1.4.0 to 1.5.0
11
index.js
@@ -46,2 +46,11 @@ // Torrent and content test files. Content is Public Domain or Creative Commons. | ||
// Folder which contains multiple files | ||
lotsOfNumbers: { | ||
contentPath: path.join(__dirname, 'fixtures', 'lots-of-numbers'), | ||
torrentPath: path.join(__dirname, 'fixtures', 'lots-of-numbers.torrent'), | ||
torrent: fs.readFileSync(path.join(__dirname, 'fixtures', 'lots-of-numbers.torrent')), | ||
parsedTorrent: parseTorrent(fs.readFileSync(path.join(__dirname, 'fixtures', 'lots-of-numbers.torrent'))), | ||
magnetURI: parseTorrent.toMagnetURI(parseTorrent(fs.readFileSync(path.join(__dirname, 'fixtures', 'lots-of-numbers.torrent')))) | ||
}, | ||
// Big Buck Bunny, by Blender Foundation ("private" flag, "url-list" property, 434 MB) | ||
@@ -73,3 +82,3 @@ bunny: { | ||
// Invalid .torrent file | ||
// Invalid .torrent file (missing `name` field) | ||
corrupt: { | ||
@@ -76,0 +85,0 @@ torrentPath: path.join(__dirname, 'fixtures', 'corrupt.torrent'), |
{ | ||
"name": "webtorrent-fixtures", | ||
"description": "Sample torrent files for the WebTorrent test suite", | ||
"version": "1.4.0", | ||
"version": "1.5.0", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "email": "feross@feross.org", |
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
580220
28
81