Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

magnet-uri

Package Overview
Dependencies
Maintainers
9
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

magnet-uri - npm Package Compare versions

Comparing version 7.0.3 to 7.0.4

7

CHANGELOG.md

@@ -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 @@

2

index.js

@@ -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": "*",

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