diff options
author | smikes <smikes@cubane.com> | 2015-02-11 20:07:04 +0300 |
---|---|---|
committer | Forrest L Norvell <forrest@npmjs.com> | 2015-02-20 19:28:40 +0300 |
commit | 8b98f0e709d77a8616c944aebd48ab726f726f76 (patch) | |
tree | bb43f50d0a54c6115e1625e880e5b31ce2f7e570 /doc | |
parent | 0fe0caa7eddb7acdacbe5ee81ceabaca27175c78 (diff) |
npm outdated: have default depth=0
interpret Infinity as 0 for `outdated`
remove depth: 0 from outdated-depth unit test
add child package with outdated dependency to outdated-depth test
new unit test outdated-depth-deep to confirm that
npm outdated --depth=9999 works as expected
Diffstat (limited to 'doc')
-rw-r--r-- | doc/misc/npm-config.md | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/misc/npm-config.md b/doc/misc/npm-config.md index 96dda6b9f..7e4c10af2 100644 --- a/doc/misc/npm-config.md +++ b/doc/misc/npm-config.md @@ -243,8 +243,13 @@ If true, then only prints color codes for tty file descriptors. * Default: Infinity * Type: Number -The depth to go when recursing directories for `npm ls` and -`npm cache ls`. +The depth to go when recursing directories for `npm ls`, +`npm cache ls`, and `npm outdated`. + +For `npm outdated`, a setting of `Infinity` will be treated as `0` +since that gives more useful information. To show the outdated status +of all packages and dependents, use a large integer value, +e.g., `npm outdated --depth 9999` ### description |