webtorrent-fixtures
Advanced tools
Comparing version 1.3.0 to 1.4.0
10
index.js
@@ -62,2 +62,12 @@ // Torrent and content test files. Content is Public Domain or Creative Commons. | ||
// Leaves of Grass, by Walt Whitman (only the metadata portion received via ut_metadata) | ||
leavesMetadata: { | ||
contentPath: path.join(__dirname, 'fixtures', 'Leaves of Grass by Walt Whitman.epub'), | ||
torrentPath: path.join(__dirname, 'fixtures', 'leaves-metadata.torrent'), | ||
content: fs.readFileSync(path.join(__dirname, 'fixtures', 'Leaves of Grass by Walt Whitman.epub')), | ||
torrent: fs.readFileSync(path.join(__dirname, 'fixtures', 'leaves-metadata.torrent')), | ||
parsedTorrent: parseTorrent(fs.readFileSync(path.join(__dirname, 'fixtures', 'leaves-metadata.torrent'))), | ||
magnetURI: parseTorrent.toMagnetURI(parseTorrent(fs.readFileSync(path.join(__dirname, 'fixtures', 'leaves-metadata.torrent')))) | ||
}, | ||
// Invalid .torrent file | ||
@@ -64,0 +74,0 @@ corrupt: { |
{ | ||
"name": "webtorrent-fixtures", | ||
"description": "Sample torrent files for the WebTorrent test suite", | ||
"version": "1.3.0", | ||
"version": "1.4.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
579231
21
73