diff options
Diffstat (limited to 'deps/npm/html/doc/cli/npm-update.html')
-rw-r--r-- | deps/npm/html/doc/cli/npm-update.html | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/deps/npm/html/doc/cli/npm-update.html b/deps/npm/html/doc/cli/npm-update.html index 2e6e115858d..d3bca7bb3c0 100644 --- a/deps/npm/html/doc/cli/npm-update.html +++ b/deps/npm/html/doc/cli/npm-update.html @@ -12,6 +12,8 @@ <h1><a href="../cli/npm-update.html">npm-update</a></h1> <p>Update a package</p> <h2 id="synopsis">SYNOPSIS</h2> <pre><code>npm update [-g] [<pkg>...] + +aliases: up, upgrade </code></pre><h2 id="description">DESCRIPTION</h2> <p>This command will update all the packages listed to the latest version (specified by the <code>tag</code> config), respecting semver.</p> @@ -24,7 +26,7 @@ packages.</p> or local) will be updated.</p> <p>As of <code>npm@2.6.1</code>, the <code>npm update</code> will only inspect top-level packages. Prior versions of <code>npm</code> would also recursively inspect all dependencies. -To get the old behavior, use <code>npm --depth Infinity update</code>.</p> +To get the old behavior, use <code>npm --depth 9999 update</code>.</p> <h2 id="examples">EXAMPLES</h2> <p>IMPORTANT VERSION NOTE: these examples assume <code>npm@2.6.1</code> or later. For older versions of <code>npm</code>, you must specify <code>--depth 0</code> to get the behavior @@ -33,7 +35,7 @@ described below.</p> on dependencies, <code>dep1</code> (<code>dep2</code>, .. etc.). The published versions of <code>dep1</code> are:</p> <pre><code>{ "dist-tags": { "latest": "1.2.2" }, - "versions": { + "versions": [ "1.2.2", "1.2.1", "1.2.0", @@ -43,7 +45,7 @@ on dependencies, <code>dep1</code> (<code>dep2</code>, .. etc.). The published "0.4.1", "0.4.0", "0.2.0" - } + ] } </code></pre><h3 id="caret-dependencies">Caret Dependencies</h3> <p>If <code>app</code>'s <code>package.json</code> contains:</p> @@ -116,5 +118,5 @@ be <em>downgraded</em>.</p> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr> </table> -<p id="footer">npm-update — npm@3.7.3</p> +<p id="footer">npm-update — npm@3.8.3</p> |