Socket
Socket
Sign inDemoInstall

create-torrent

Package Overview
Dependencies
Maintainers
9
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 5.0.3 to 5.0.4

7

CHANGELOG.md

@@ -0,1 +1,8 @@

## [5.0.4](https://github.com/webtorrent/create-torrent/compare/v5.0.3...v5.0.4) (2022-07-03)
### Bug Fixes
* replace filestream with fast-blob-stream ([#171](https://github.com/webtorrent/create-torrent/issues/171)) ([d93a718](https://github.com/webtorrent/create-torrent/commit/d93a7181add5a8ac3fbd4b6bec92ad61f6b235cc))
## [5.0.3](https://github.com/webtorrent/create-torrent/compare/v5.0.2...v5.0.3) (2022-07-03)

@@ -2,0 +9,0 @@

4

index.js

@@ -6,3 +6,3 @@ /*! create-torrent. MIT License. WebTorrent LLC <https://webtorrent.io/opensource> */

const corePath = require('path')
const FileReadStream = require('filestream/read')
const { BlobReadStream } = require('fast-blob-stream')
const isFile = require('is-file')

@@ -418,3 +418,3 @@ const junk = require('junk')

function getBlobStream (file) {
return () => new FileReadStream(file)
return () => new BlobReadStream(file)
}

@@ -421,0 +421,0 @@

{
"name": "create-torrent",
"description": "Create .torrent files",
"version": "5.0.3",
"version": "5.0.4",
"author": {

@@ -23,3 +23,3 @@ "name": "WebTorrent LLC",

"block-stream2": "^2.1.0",
"filestream": "^5.0.0",
"fast-blob-stream": "^1.0.3",
"is-file": "^1.0.0",

@@ -26,0 +26,0 @@ "junk": "^3.1.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