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.4.0 to 1.5.0

fixtures/lots-of-numbers.torrent

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'),

2

package.json
{
"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",

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