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

mafmt

Package Overview
Dependencies
Maintainers
2
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mafmt - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

5

package.json
{
"name": "mafmt",
"version": "3.0.0",
"version": "3.0.1",
"description": "A multiaddr validator",

@@ -41,3 +41,3 @@ "main": "src/index.js",

"dependencies": {
"multiaddr": "^3.0.0"
"multiaddr": "^3.0.1"
},

@@ -48,2 +48,3 @@ "contributors": [

"Jeromy Johnson <why@ipfs.io>",
"Maciej Krüger <mkg20001@gmail.com>",
"dignifiedquire <dignifiedquire@gmail.com>",

@@ -50,0 +51,0 @@ "dmitriy ryajov <dryajov@dmitriys-MBP.HomeNET>"

11

src/index.js

@@ -47,6 +47,7 @@ 'use strict'

const WebSocketsStar = or(
and(WebSockets, base('p2p-websockets-star')),
and(WebSockets, base('p2p-websockets-star'), base('ipfs')),
and(WebSocketsSecure, base('p2p-websockets-star'), base('ipfs'))
const WebSocketStar = or(
and(WebSockets, base('p2p-websocket-star'), base('ipfs')),
and(WebSocketsSecure, base('p2p-websocket-star'), base('ipfs')),
and(WebSockets, base('p2p-websocket-star')),
and(WebSocketsSecure, base('p2p-websocket-star'))
)

@@ -106,3 +107,3 @@

exports.WebSocketsSecure = WebSocketsSecure
exports.WebSocketsStar = WebSocketsStar
exports.WebSocketStar = WebSocketStar
exports.WebRTCStar = WebRTCStar

@@ -109,0 +110,0 @@ exports.WebRTCDirect = WebRTCDirect

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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