Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2014-07-02 21:10:40 +0400
committerisaacs <i@izs.me>2014-07-02 21:33:34 +0400
commitbb4b90c80dbf906a1cb26d85bc0625dc2758acc3 (patch)
treea8900ff1aeed31842d88c0b51687471a6a5e09f1
parentb3d112ae190b984cc1779b9e6de92218f22380c6 (diff)
outdated: Default to 'latest' rather than '*' for unspecified deps
Fix #5600
-rw-r--r--lib/outdated.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/outdated.js b/lib/outdated.js
index 11c02034a..a71df7fe7 100644
--- a/lib/outdated.js
+++ b/lib/outdated.js
@@ -224,7 +224,7 @@ function outdated_ (args, dir, parentHas, depth, cb) {
if (!has || !deps) return
if (deps === true) {
deps = Object.keys(has).reduce(function (l, r) {
- l[r] = "*"
+ l[r] = "latest"
return l
}, {})
}