license-report
Advanced tools
Comparing version 1.0.6 to 1.0.8
@@ -117,6 +117,6 @@ #!/usr/bin/env node | ||
if (~~packageIndex.indexOf(package)) { | ||
if (packageIndex.indexOf(package) === -1) { | ||
packageIndex.push(package) | ||
} | ||
} | ||
} | ||
} |
{ | ||
"name": "license-report", | ||
"version": "1.0.6", | ||
"version": "1.0.8", | ||
"description": "creates a short report about project's dependencies (license, url etc)", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -54,2 +54,6 @@ # license report tool | ||
### TODO | ||
1. complete exclude libraries feature | ||
2. refactor getPackageJson and getPackageReportData to be usable for both local filesystem and npm | ||
![ironSource logo](ironsource.png) |
@@ -28,3 +28,3 @@ var assert = require('assert') | ||
getPackageReportData('async', '0.0.1', function(err, data) { | ||
assert(~err.message.indexOf('cannot find a version that satisfies range')) | ||
assert(err.message.indexOf('cannot find a version that satisfies range') === -1) | ||
@@ -31,0 +31,0 @@ done() |
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
81529
341
58