webtorrent-fixtures
Advanced tools
Comparing version 1.0.0 to 1.1.0
20
index.js
@@ -46,8 +46,20 @@ // Torrent and content test files. Content is Public Domain or Creative Commons. | ||
// Torrent file with "private" flag | ||
// Torrent file with "private" flag, and "url-list" property | ||
bunny: { | ||
torrentPath: path.join(__dirname, 'fixtures', 'bunny-private.torrent'), | ||
torrent: fs.readFileSync(path.join(__dirname, 'fixtures', 'bunny-private.torrent')), | ||
parsedTorrent: parseTorrent(fs.readFileSync(path.join(__dirname, 'fixtures', 'bunny-private.torrent'))) | ||
torrentPath: path.join(__dirname, 'fixtures', 'bunny.torrent'), | ||
torrent: fs.readFileSync(path.join(__dirname, 'fixtures', 'bunny.torrent')), | ||
parsedTorrent: parseTorrent(fs.readFileSync(path.join(__dirname, 'fixtures', 'bunny.torrent'))) | ||
}, | ||
// Invalid .torrent file | ||
corrupt: { | ||
torrentPath: path.join(__dirname, 'fixtures', 'corrupt.torrent'), | ||
torrent: fs.readFileSync(path.join(__dirname, 'fixtures', 'corrupt.torrent')) | ||
}, | ||
// ip-set formatted files (i.e. blocklists) | ||
blocklist: { | ||
path: path.join(__dirname, 'fixtures', 'blocklist.txt'), | ||
gzipPath: path.join(__dirname, 'fixtures', 'blocklist.txt.gz') | ||
} | ||
} |
{ | ||
"name": "webtorrent-fixtures", | ||
"description": "List of Packages that Use JavaScript Standard Style", | ||
"version": "1.0.0", | ||
"description": "Sample torrent files for the WebTorrent test suite", | ||
"version": "1.1.0", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "email": "feross@feross.org", |
@@ -8,2 +8,6 @@ # webtorrent-fixtures [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] | ||
### Sample torrent files for the WebTorrent test suite | ||
Torrent and content test files. All files are Public Domain or Creative Commons. | ||
## Usage | ||
@@ -10,0 +14,0 @@ |
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
550727
19
56
22