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

@multiformats/multiaddr

Package Overview
Dependencies
Maintainers
10
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@multiformats/multiaddr - npm Package Compare versions

Comparing version 11.6.0 to 11.6.1

2

dist/src/resolvers/index.js

@@ -43,3 +43,3 @@ /**

const records = await resolver.resolveTxt(`_dnsaddr.${hostname}`);
let addresses = records.flat().map((a) => a.split('=')[1]);
let addresses = records.flat().map((a) => a.split('=')[1]).filter(Boolean);
if (peerId != null) {

@@ -46,0 +46,0 @@ addresses = addresses.filter((entry) => entry.includes(peerId));

{
"name": "@multiformats/multiaddr",
"version": "11.6.0",
"version": "11.6.1",
"description": "multiaddr implementation (binary + string representation of network addresses)",

@@ -5,0 +5,0 @@ "license": "Apache-2.0 OR MIT",

@@ -52,3 +52,3 @@ /**

let addresses = records.flat().map((a) => a.split('=')[1])
let addresses = records.flat().map((a) => a.split('=')[1]).filter(Boolean)

@@ -55,0 +55,0 @@ if (peerId != null) {

Sorry, the diff of this file is not supported yet

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