npm-check-updates
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -200,3 +200,3 @@ var options = {}; | ||
satisfiedUpgraded = cint.filterObject(satisfiedUpgraded, function (dep) { | ||
return !args.latest || args.latest[dep] !== args.installed[dep]; | ||
return !args.latest || !args.installed || args.latest[dep] !== args.installed[dep]; | ||
}); | ||
@@ -287,10 +287,14 @@ var numSatisfied = Object.keys(satisfiedUpgraded).length; | ||
options = opts || {}; | ||
_.defaults(options, { | ||
jsonUpgraded: true, | ||
silent: true, | ||
args: [] | ||
}); | ||
// if not executed on the command-line (i.e. executed as a node module), set some defaults | ||
if(!options.cli) { | ||
_.defaults(options, { | ||
jsonUpgraded: true, | ||
silent: true, | ||
args: [] | ||
}); | ||
} | ||
return vm.initialize(options.global).then(programRun); | ||
} | ||
}, vm); |
{ | ||
"name": "npm-check-updates", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"author": "Tomas Junnonen <tomas1@gmail.com>", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
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
69660
1337
1