@@ -30,13 +30,11 @@ In the output:
30
30
with a dist-tag of ` latest ` . This may or may not be the maximum version of
31
31
the package, or the most-recently published version of the package, depending
32
32
on how the package's developer manages the latest [ dist-tag] ( npm-dist-tag ) .
33
- * ` location ` is where in the dependency tree the package is located. Note that
34
- ` npm outdated ` defaults to a depth of 0, so unless you override that, you'll
35
- always be seeing only top-level dependencies that are outdated.
33
+ * ` location ` is where in the physical tree the package is located.
36
34
* ` package type ` (when using ` --long ` / ` -l ` ) tells you whether this package is
37
- a ` dependency ` or a ` devDependency ` . Packages not included in ` package.json `
35
+ a ` dependency ` or a dev/peer/optional dependency . Packages not included in ` package.json `
38
36
are always marked ` dependencies ` .
39
- * ` homepage ` (when using ` --long ` / ` -l ` ) is the ` homepage ` value contained in the package's ` package.json `
37
+ * ` homepage ` (when using ` --long ` / ` -l ` ) is the ` homepage ` value contained in the package's packument
40
38
* Red means there's a newer version matching your semver requirements, so you should update now.
41
39
* Yellow indicates that there's a newer version above your semver requirements (usually new major, or new 0.x minor) so proceed with caution.
42
40
@@ -45,11 +43,11 @@ In the output:
45
43
``` bash
46
44
$ npm outdated
47
45
Package Current Wanted Latest Location
48
- glob 5.0.15 5.0.15 6.0.1 test-outdated-output
49
- nothingness 0.0.3 git git test-outdated-output
50
- npm 3.5.1 3.5.2 3.5.1 test-outdated-output
51
- local-dev 0.0.3 linked linked test-outdated-output
52
- once 1.3.2 1.3.3 1.3.3 test-outdated-output
46
+ glob 5.0.15 5.0.15 6.0.1 node_modules/glob
47
+ nothingness 0.0.3 git git node_modules/nothingness
48
+ npm 3.5.1 3.5.2 3.5.1 node_modules/npm
49
+ local-dev 0.0.3 linked linked local-dev
50
+ once 1.3.2 1.3.3 1.3.3 node_modules/once
53
51
```
54
52
55
53
With these ` dependencies ` :
@@ -109,12 +107,12 @@ Show parseable output instead of tree view.
109
107
Check packages in the global install prefix instead of in the current
110
108
project.
111
109
112
- #### depth
110
+ #### all
113
111
114
- * Default: 0
115
- * Type: Int
112
+ * Default: false
113
+ * Type: Boolean
116
114
117
- Max depth for checking dependency tree.
115
+ Display all outdated dependencies on the tree.
118
116
119
117
### See Also
120
118
0 commit comments