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 1.0.1 to 2.0.0

.travis.yml

35

package.json
{
"name": "mafmt",
"version": "1.0.1",
"version": "2.0.0",
"description": "A multiaddr validator",
"main": "src/index.js",
"main": "lib/index.js",
"jsnext:main": "src/index.js",
"scripts": {
"lint": "standard",
"test": "node tests/test.js"
"lint": "aegir-lint",
"build": "aegir-build",
"test": "aegir-test",
"test:node": "aegir-test node",
"test:browser": "aegir-test browser",
"release": "aegir-release",
"release-minor": "aegir-release --type minor",
"release-major": "aegir-release --type major",
"coverage": "aegir-coverage",
"coverage-publish": "aegir-coverage publish"
},

@@ -28,9 +37,15 @@ "pre-commit": [

"devDependencies": {
"pre-commit": "^1.1.2",
"standard": "^6.0.8",
"tape": "^4.4.0"
"aegir": "^3.0.4",
"chai": "^3.5.0",
"pre-commit": "^1.1.2"
},
"dependencies": {
"multiaddr": "^1.3.0"
}
}
"multiaddr": "^2.0.0"
},
"contributors": [
"David Dias <daviddias.p@gmail.com>",
"Jeromy <jeromyj@gmail.com>",
"Jeromy Johnson <why@ipfs.io>",
"dignifiedquire <dignifiedquire@gmail.com>"
]
}
js-mafmt
========
[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](http://ipn.io) [![](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23ipfs)
[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](http://ipn.io)
[![](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](http://ipfs.io/)
[![](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23ipfs)
[![Coverage Status](https://coveralls.io/repos/github/whyrusleeping/js-mafmt/badge.svg?branch=master)](https://coveralls.io/github/whyrusleeping/js-mafmt?branch=master)
[![Travis CI](https://travis-ci.org/whyrusleeping/js-mafmt.svg?branch=master)](https://travis-ci.org/whyrusleeping/js-mafmt)
[![Circle CI](https://circleci.com/gh/whyrusleeping/js-mafmt.svg?style=svg)](https://circleci.com/gh/whyrusleeping/js-mafmt)
[![Dependency Status](https://david-dm.org/whyrusleeping/js-mafmt.svg?style=flat-square)](https://david-dm.org/whyrusleeping/js-mafmt) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/feross/standard)
> Javascript implementation of multiaddr validation
> Javascript implementation of multiaddr validation

@@ -0,1 +1,3 @@

'use strict'
var multiaddr = require('multiaddr')

@@ -7,3 +9,3 @@

var UTP = and(UDP, base('utp'))
var WebSockets = and(TCP, base('websockets'))
var WebSockets = and(TCP, base('ws'))
var Reliable = or(TCP, UTP)

@@ -10,0 +12,0 @@ var IPFS = and(Reliable, base('ipfs'))

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