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.3.0 to 1.4.0

fixtures/leaves-metadata.torrent

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: {

2

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

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