magnet-uri
Advanced tools
Comparing version 7.0.3 to 7.0.4
@@ -0,1 +1,8 @@ | ||
## [7.0.4](https://github.com/webtorrent/magnet-uri/compare/v7.0.3...v7.0.4) (2023-05-27) | ||
### Bug Fixes | ||
* base32 in browser ([#72](https://github.com/webtorrent/magnet-uri/issues/72)) ([287c063](https://github.com/webtorrent/magnet-uri/commit/287c06310775917491d4d9a6a018d0368d7f8125)) | ||
## [7.0.3](https://github.com/webtorrent/magnet-uri/compare/v7.0.2...v7.0.3) (2023-04-02) | ||
@@ -2,0 +9,0 @@ |
@@ -70,3 +70,3 @@ /*! magnet-uri. MIT License. WebTorrent LLC <https://webtorrent.io/opensource> */ | ||
const decodedStr = base32.decode(m[1]) | ||
result.infoHash = bin2hex(decodedStr) | ||
result.infoHash = bin2hex(decodedStr.toString('binary')) | ||
} else if ((m = xt.match(/^urn:btmh:1220(.{64})/))) { | ||
@@ -73,0 +73,0 @@ result.infoHashV2 = m[1].toLowerCase() |
{ | ||
"name": "magnet-uri", | ||
"description": "Parse a magnet URI and return an object of keys/values", | ||
"version": "7.0.3", | ||
"version": "7.0.4", | ||
"author": { | ||
@@ -20,3 +20,3 @@ "name": "WebTorrent LLC", | ||
"devDependencies": { | ||
"@webtorrent/semantic-release-config": "1.0.8", | ||
"@webtorrent/semantic-release-config": "1.0.9", | ||
"semantic-release": "20.1.3", | ||
@@ -23,0 +23,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
14238