Socket
Socket
Sign inDemoInstall

create-torrent

Package Overview
Dependencies
Maintainers
8
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-torrent - npm Package Compare versions

Comparing version 4.3.1 to 4.4.0

3

index.js

@@ -48,2 +48,3 @@ const bencode = require('bencode')

* @param {Array.<string>=} opts.urlList
* @param {Object} opts.info
* @param {function} cb

@@ -371,2 +372,4 @@ * @return {Buffer} buffer of .torrent file data

if (opts.info !== undefined) Object.assign(torrent.info, opts.info)
// "ssl-cert" key is for SSL torrents, see:

@@ -373,0 +376,0 @@ // - http://blog.libtorrent.org/2012/01/bittorrent-over-ssl/

2

package.json
{
"name": "create-torrent",
"description": "Create .torrent files",
"version": "4.3.1",
"version": "4.4.0",
"author": {

@@ -6,0 +6,0 @@ "name": "WebTorrent, LLC",

@@ -71,3 +71,4 @@ # create-torrent [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url] [![javascript style guide][standard-image]][standard-url]

announceList: [[String]], // custom trackers (array of arrays of strings) (see [bep12](http://www.bittorrent.org/beps/bep_0012.html))
urlList: [String] // web seed urls (see [bep19](http://www.bittorrent.org/beps/bep_0019.html))
urlList: [String], // web seed urls (see [bep19](http://www.bittorrent.org/beps/bep_0019.html))
info: Object // add non-standard info dict entries, e.g. info.source, a convention for cross-seeding
}

@@ -74,0 +75,0 @@ ```

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