Socket
Socket
Sign inDemoInstall

webtorrent-fixtures

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webtorrent-fixtures - npm Package Compare versions

Comparing version 1.2.0 to 1.3.0

fixtures/sintel.torrent

13

index.js

@@ -46,9 +46,18 @@ // Torrent and content test files. Content is Public Domain or Creative Commons.

// Torrent file with "private" flag, and "url-list" property
// Big Buck Bunny, by Blender Foundation ("private" flag, "url-list" property, 434 MB)
bunny: {
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')))
parsedTorrent: parseTorrent(fs.readFileSync(path.join(__dirname, 'fixtures', 'bunny.torrent'))),
magnetURI: parseTorrent.toMagnetURI(parseTorrent(fs.readFileSync(path.join(__dirname, 'fixtures', 'bunny.torrent'))))
},
// Sintel, by Blender Foundation (5.5 GB)
sintel: {
torrentPath: path.join(__dirname, 'fixtures', 'sintel.torrent'),
torrent: fs.readFileSync(path.join(__dirname, 'fixtures', 'sintel.torrent')),
parsedTorrent: parseTorrent(fs.readFileSync(path.join(__dirname, 'fixtures', 'sintel.torrent'))),
magnetURI: parseTorrent.toMagnetURI(parseTorrent(fs.readFileSync(path.join(__dirname, 'fixtures', 'sintel.torrent'))))
},
// Invalid .torrent file

@@ -55,0 +64,0 @@ corrupt: {

2

package.json
{
"name": "webtorrent-fixtures",
"description": "Sample torrent files for the WebTorrent test suite",
"version": "1.2.0",
"version": "1.3.0",
"author": {

@@ -6,0 +6,0 @@ "email": "feross@feross.org",

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