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
path: root/doc
diff options
context:
space:
mode:
authorTieme van Veen <tiemevanveen@hotmail.com>2018-04-23 11:10:03 +0300
committerRebecca Turner <me@re-becca.org>2018-05-04 03:16:33 +0300
commit7a6555e618e4b8459609b7847a9e17de2d4fa36e (patch)
treecb8fdaea445813ebb901988ad748e183ea0ec023 /doc
parentb7fca1084b0be6f8b87ec0807c6daf91dbc3060a (diff)
docs: describe what colors in outdated mean
Fixes: #16224 PR-URL: https://github.com/npm/npm/pull/20408 Credit: @teameh Reviewed-By: @iarna
Diffstat (limited to 'doc')
-rw-r--r--doc/cli/npm-outdated.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/cli/npm-outdated.md b/doc/cli/npm-outdated.md
index 0792be24a..ad0d003ce 100644
--- a/doc/cli/npm-outdated.md
+++ b/doc/cli/npm-outdated.md
@@ -27,6 +27,8 @@ In the output:
* `package type` (when using `--long` / `-l`) tells you whether this package is
a `dependency` or a `devDependency`. Packages not included in `package.json`
are always marked `dependencies`.
+* Red means there's a newer version matching your semver requirements, so you should update now.
+* Yellow indicates that there's a newer version above your semver requirements (usually new major, or new 0.x minor) so proceed with caution.
### An example