Comparing version 1.3.1 to 1.3.2
@@ -0,3 +1,9 @@ | ||
1.3.2 (July 12, 2015) | ||
==================== | ||
* Support object being used for license or licenses property of package.json | ||
* Bump development dependencies | ||
1.3.1 (May 10, 2015) | ||
==================== | ||
@@ -4,0 +10,0 @@ * Fix issue where a root module without a name or version will result in an exception being thrown |
@@ -270,11 +270,6 @@ /** | ||
// simple license declarations first | ||
if (typeof license === 'string') { | ||
if (typeof license === 'string' || typeof license === 'object') { | ||
module.licenseSources.package.add(new PackageSource(license)); | ||
} | ||
// some modules incorrectly have a string licenses property | ||
if (typeof licenses === 'string') { | ||
return module.licenseSources.package.add(new PackageSource(licenses)); | ||
} | ||
// correct use of licenses array | ||
@@ -287,2 +282,5 @@ if (Array.isArray(licenses)) { | ||
} | ||
} else if (typeof licenses === 'string' || typeof licenses === 'object') { | ||
// some modules incorrectly have a string or object licenses property | ||
return module.licenseSources.package.add(new PackageSource(licenses)); | ||
} | ||
@@ -289,0 +287,0 @@ } |
@@ -6,3 +6,3 @@ { | ||
"author": "Ian Kelly <iandotkelly@gmail.com>", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"license": "MIT", | ||
@@ -21,11 +21,11 @@ "bin": { | ||
"glob-all": "3.0.1", | ||
"read-installed": "4.0.0" | ||
"read-installed": "^4.0.1" | ||
}, | ||
"devDependencies": { | ||
"gulp": "^3.8.11", | ||
"gulp-coverage": "^0.3.34", | ||
"gulp": "^3.9.0", | ||
"gulp-coverage": "^0.3.36", | ||
"gulp-coveralls": "^0.1.3", | ||
"gulp-jshint": "^1.10.0", | ||
"gulp-mocha": "^2.0.1", | ||
"should": "^6.0.1" | ||
"gulp-jshint": "^1.11.2", | ||
"gulp-mocha": "^2.1.3", | ||
"should": "^7.0.2" | ||
}, | ||
@@ -32,0 +32,0 @@ "engines": { |
Sorry, the diff of this file is not supported yet
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
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
3214398
110294
+ Addedread-installed@4.0.3(transitive)
+ Addedsemver@5.7.2(transitive)
- Removedgraceful-fs@3.0.12(transitive)
- Removednatives@1.1.6(transitive)
- Removedread-installed@4.0.0(transitive)
- Removedsemver@4.3.6(transitive)
Updatedread-installed@^4.0.1