Comparing version 1.0.1 to 2.0.0
{ | ||
"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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
917343
9
27583
13
2
+ Addedbase-x@3.0.10(transitive)
+ Addedbs58@4.0.1(transitive)
+ Addedmultiaddr@2.3.0(transitive)
+ Addedsafe-buffer@5.2.1(transitive)
+ Addedvarint@5.0.2(transitive)
- Removedbabel-runtime@6.26.0(transitive)
- Removedbase-x@1.1.0(transitive)
- Removedbs58@3.1.0(transitive)
- Removedcore-js@2.6.12(transitive)
- Removedmultiaddr@1.4.1(transitive)
- Removedregenerator-runtime@0.11.1(transitive)
- Removedvarint@4.0.1(transitive)
Updatedmultiaddr@^2.0.0