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:
authorGriffinSchneider <griffinschneider@gmail.com>2016-03-04 00:51:12 +0300
committerKat Marchán <kzm@sykosomatic.org>2016-03-18 00:39:00 +0300
commit7d64fb1452d360aa736f31c85d6776ce570b2365 (patch)
tree3271585a1896d7b29cd9234bf5eff8e0303cda85
parentb7e733d02a82a7643ae40441116cd84e4f65abca (diff)
doc: Revert "advise use of `--depth Infinity` instead of `--depth 9999`"
This reverts commit b463e3424b296cfc4bd384fc8bfe0e2329649164. PR-URL: https://github.com/npm/npm/pull/11762 Credit: @GriffinSchneider Reviewed-By: @iarna
-rw-r--r--doc/cli/npm-update.md11
1 files changed, 1 insertions, 10 deletions
diff --git a/doc/cli/npm-update.md b/doc/cli/npm-update.md
index b24c200ca..775342f31 100644
--- a/doc/cli/npm-update.md
+++ b/doc/cli/npm-update.md
@@ -24,16 +24,7 @@ or local) will be updated.
As of `npm@2.6.1`, the `npm update` will only inspect top-level packages.
Prior versions of `npm` would also recursively inspect all dependencies.
-To get the old behavior, use `npm --depth Infinity update`, but be warned that
-simultaneous asynchronous update of all packages, including `npm` itself
-and packages that `npm` depends on, often causes problems up to and including
-the uninstallation of `npm` itself.
-
-To restore a missing `npm`, use the command:
-
-```
-curl -L https://npmjs.com/install.sh | sh
-```
+To get the old behavior, use `npm --depth 9999 update`.
## EXAMPLES