create-torrent
Advanced tools
Comparing version 5.0.3 to 5.0.4
@@ -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 @@ |
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26578
+ Addedfast-blob-stream@^1.0.3
+ Addedbare-events@2.5.0(transitive)
+ Addedfast-blob-stream@1.1.1(transitive)
+ Addedfast-fifo@1.3.2(transitive)
+ Addedfast-readable-async-iterator@1.1.2(transitive)
+ Addedqueue-tick@1.0.1(transitive)
+ Addedstreamx@2.20.1(transitive)
+ Addedtext-decoder@1.2.1(transitive)
- Removedfilestream@^5.0.0
- Removedfilestream@5.0.0(transitive)
- Removedis-typedarray@1.0.0(transitive)
- Removedtypedarray-to-buffer@3.1.5(transitive)