license-report
Advanced tools
Comparing version 2.2.0 to 2.2.1
var visit = require('visit-values') | ||
var isString = require('util').isString | ||
@@ -12,4 +13,5 @@ module.exports = function(json) { | ||
var otherUrls = [] | ||
visit(json, function(value) { | ||
if (!isString(value)) return | ||
if (value.substr(0, 'http'.length) === 'http') { | ||
@@ -16,0 +18,0 @@ return otherUrls.push(value) |
{ | ||
"name": "license-report", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "creates a short report about project's dependencies (license, url etc)", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -12,4 +12,4 @@ # license report tool | ||
``` | ||
> cd your/project/ | ||
> license-report | ||
cd your/project/ | ||
license-report | ||
``` | ||
@@ -19,6 +19,6 @@ by default, `license-report` outputs all licenses from `dependencies` and `devDependencies`. | ||
``` | ||
> license-report --only=dev | ||
license-report --only=dev | ||
``` | ||
``` | ||
> license-report --only=prod | ||
license-report --only=prod | ||
``` | ||
@@ -25,0 +25,0 @@ explicit package.json: |
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
82614
383