npm-check-updates
Advanced tools
Comparing version 2.0.0-alpha5 to 2.0.0-alpha6
@@ -217,5 +217,3 @@ var npm = require('npm'); | ||
npm.commands.list([], true, function (error, results) { | ||
if (error) { | ||
return callback(error); | ||
} | ||
if (error) return callback(error); | ||
@@ -229,3 +227,5 @@ var packageList = results.dependencies; | ||
for (var package in packageList) { | ||
globalPackages[packageList[package].name] = packageList[package].version; | ||
if(packageList[package] !== "*") { | ||
globalPackages[packageList[package].name] = packageList[package].version; | ||
} | ||
} | ||
@@ -232,0 +232,0 @@ |
{ | ||
"name": "npm-check-updates", | ||
"version": "2.0.0-alpha5", | ||
"version": "2.0.0-alpha6", | ||
"author": "Tomas Junnonen <tomas1@gmail.com>", | ||
@@ -5,0 +5,0 @@ "description": "Find newer versions of dependencies than what your package.json allows", |
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
35294