create-torrent
Advanced tools
Comparing version 6.0.3 to 6.0.4
@@ -0,1 +1,8 @@ | ||
## [6.0.4](https://github.com/webtorrent/create-torrent/compare/v6.0.3...v6.0.4) (2023-01-25) | ||
### Bug Fixes | ||
* **deps:** update dependency uint8-util to v2 ([#192](https://github.com/webtorrent/create-torrent/issues/192)) ([a88e7d1](https://github.com/webtorrent/create-torrent/commit/a88e7d131c8fbbf43b04420594022b0055fd275e)), closes [#197](https://github.com/webtorrent/create-torrent/issues/197) | ||
## [6.0.3](https://github.com/webtorrent/create-torrent/compare/v6.0.2...v6.0.3) (2023-01-25) | ||
@@ -2,0 +9,0 @@ |
@@ -11,3 +11,3 @@ /*! create-torrent. MIT License. WebTorrent LLC <https://webtorrent.io/opensource> */ | ||
import queueMicrotask from 'queue-microtask' | ||
import { sha1 } from 'uint8-util' | ||
import { hash } from 'uint8-util' | ||
import 'fast-readable-async-iterator' | ||
@@ -229,3 +229,3 @@ | ||
if (++remainingHashes < MAX_OUTSTANDING_HASHES) resolve() | ||
sha1(chunk, hash => { | ||
hash(chunk, 'hex').then(hash => { | ||
pieces[i] = hash | ||
@@ -232,0 +232,0 @@ --remainingHashes |
{ | ||
"name": "create-torrent", | ||
"description": "Create .torrent files", | ||
"version": "6.0.3", | ||
"version": "6.0.4", | ||
"author": { | ||
@@ -32,3 +32,3 @@ "name": "WebTorrent LLC", | ||
"run-parallel": "^1.2.0", | ||
"uint8-util": "^1.0.1" | ||
"uint8-util": "^2.1.4" | ||
}, | ||
@@ -38,3 +38,3 @@ "devDependencies": { | ||
"brfs": "2.0.2", | ||
"parse-torrent": "9.1.5", | ||
"parse-torrent": "10.0.2", | ||
"semantic-release": "19.0.5", | ||
@@ -41,0 +41,0 @@ "standard": "*", |
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
28977
- Removeduint8-util@1.0.1(transitive)
Updateduint8-util@^2.1.4