analyze-deps
Advanced tools
Comparing version 0.1.0 to 1.0.0
@@ -19,3 +19,4 @@ const semver = require('semver'); | ||
return semver.diff(rangeVersion, version) || ''; | ||
return semver.diff(rangeVersion, version); // can't be null as diff shouldn't be calculated | ||
// when rangeVersion === version | ||
}; | ||
@@ -22,0 +23,0 @@ |
{ | ||
"name": "analyze-deps", | ||
"version": "0.1.0", | ||
"description": "Compares dependencies in the specified `package.json` to the latest available versions.", | ||
"version": "1.0.0", | ||
"description": "Compare dependencies in `package.json` to the latest available versions.", | ||
"main": "index.js", | ||
@@ -12,4 +12,5 @@ "repository": { | ||
"scripts": { | ||
"lint": "eslint index.js", | ||
"build": "npm run lint", | ||
"lint": "eslint index.js test", | ||
"test": "nyc mocha test", | ||
"build": "npm run lint && npm test", | ||
"preversion": "npm run build", | ||
@@ -25,3 +26,9 @@ "postversion": "git push && git push --tags" | ||
"devDependencies": { | ||
"eslint": "^3.7.1" | ||
"bithound": "^1.7.0", | ||
"chai": "^3.5.0", | ||
"chai-as-promised": "^6.0.0", | ||
"eslint": "^3.7.1", | ||
"mocha": "^3.1.1", | ||
"mock-require": "^1.3.0", | ||
"nyc": "^8.3.1" | ||
}, | ||
@@ -49,3 +56,20 @@ "files": [ | ||
], | ||
"nyc": { | ||
"lines": 100, | ||
"statements": 100, | ||
"functions": 100, | ||
"branches": 100, | ||
"include": [ | ||
"index.js" | ||
], | ||
"exclude": [ | ||
"test/**/*.js" | ||
], | ||
"reporter": [ | ||
"lcov", | ||
"text-summary" | ||
], | ||
"check-coverage": true | ||
}, | ||
"license": "MIT" | ||
} |
@@ -0,4 +1,9 @@ | ||
[![Build Status](https://img.shields.io/codeship/ba96f3c0-7103-0134-0ab4-36aa8dc0a6fb/master.svg?style=flat-square)](https://codeship.com/projects/178250) | ||
[![Coverage Status](https://img.shields.io/codecov/c/github/moroshko/analyze-deps/master.svg?style=flat-square)](https://codecov.io/gh/moroshko/analyze-deps) | ||
[![bitHound Overall Score](https://www.bithound.io/github/moroshko/analyze-deps/badges/score.svg)](https://www.bithound.io/github/moroshko/analyze-deps) | ||
[![npm Version](https://img.shields.io/npm/v/analyze-deps.svg?style=flat-square)](https://npmjs.org/package/analyze-deps) | ||
# Analyze Deps | ||
Compares dependencies in the specified `package.json` to the latest available versions. | ||
Compare dependencies in `package.json` to the latest available versions. | ||
@@ -63,1 +68,5 @@ ## Installation | ||
``` | ||
## License | ||
[MIT](http://moroshko.mit-license.org) |
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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
6470
68
1
72
7