]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/html/doc/cli/npm-outdated.html
Adding integrated tile server
[simantics/district.git] / org.simantics.maps.server / node / node-v4.8.0-win-x64 / node_modules / npm / html / doc / cli / npm-outdated.html
1 <!doctype html>
2 <html>
3   <title>npm-outdated</title>
4   <meta charset="utf-8">
5   <link rel="stylesheet" type="text/css" href="../../static/style.css">
6   <link rel="canonical" href="https://www.npmjs.org/doc/cli/npm-outdated.html">
7   <script async=true src="../../static/toc.js"></script>
8
9   <body>
10     <div id="wrapper">
11
12 <h1><a href="../cli/npm-outdated.html">npm-outdated</a></h1> <p>Check for outdated packages</p>
13 <h2 id="synopsis">SYNOPSIS</h2>
14 <pre><code>npm outdated [&lt;name&gt; [&lt;name&gt; ...]]
15 </code></pre><h2 id="description">DESCRIPTION</h2>
16 <p>This command will check the registry to see if any (or, specific) installed
17 packages are currently outdated.</p>
18 <p>In the output:</p>
19 <ul>
20 <li><code>wanted</code> is the maximum version of the package that satisfies the semver
21 range specified in <code>package.json</code>. If there&#39;s no available semver range (i.e.
22 you&#39;re running <code>npm outdated --global</code>, or the package isn&#39;t included in
23 <code>package.json</code>), then <code>wanted</code> shows the currently-installed version.</li>
24 <li><code>latest</code> is the version of the package tagged as latest in the registry.
25 Running <code>npm publish</code> with no special configuration will publish the package
26 with a dist-tag of <code>latest</code>. This may or may not be the maximum version of
27 the package, or the most-recently published version of the package, depending
28 on how the package&#39;s developer manages the latest <a href="../cli/dist-tag.html">dist-tag(1)</a>.</li>
29 <li><code>location</code> is where in the dependency tree the package is located. Note that
30 <code>npm outdated</code> defaults to a depth of 0, so unless you override that, you&#39;ll
31 always be seeing only top-level dependencies that are outdated.</li>
32 <li><code>package type</code> (when using <code>--long</code> / <code>-l</code>) tells you whether this package is
33 a <code>dependency</code> or a <code>devDependency</code>. Packages not included in <code>package.json</code>
34 are always marked <code>dependencies</code>.</li>
35 </ul>
36 <h3 id="an-example">An example</h3>
37 <pre><code>$ npm outdated
38 Package      Current   Wanted   Latest  Location
39 glob          5.0.15   5.0.15    6.0.1  test-outdated-output
40 nothingness    0.0.3      git      git  test-outdated-output
41 npm            3.5.1    3.5.2    3.5.1  test-outdated-output
42 local-dev      0.0.3   linked   linked  test-outdated-output
43 once           1.3.2    1.3.3    1.3.3  test-outdated-output
44 </code></pre><p>With these <code>dependencies</code>:</p>
45 <pre><code class="lang-json">{
46   &quot;glob&quot;: &quot;^5.0.15&quot;,
47   &quot;nothingness&quot;: &quot;github:othiym23/nothingness#master&quot;,
48   &quot;npm&quot;: &quot;^3.5.1&quot;,
49   &quot;once&quot;: &quot;^1.3.1&quot;
50 }
51 </code></pre>
52 <p>A few things to note:</p>
53 <ul>
54 <li><code>glob</code> requires <code>^5</code>, which prevents npm from installing <code>glob@6</code>, which is
55 outside the semver range.</li>
56 <li>Git dependencies will always be reinstalled, because of how they&#39;re specified.
57 The installed committish might satisfy the dependency specifier (if it&#39;s
58 something immutable, like a commit SHA), or it might not, so <code>npm outdated</code> and
59 <code>npm update</code> have to fetch Git repos to check. This is why currently doing a
60 reinstall of a Git dependency always forces a new clone and install.</li>
61 <li><code>npm@3.5.2</code> is marked as &quot;wanted&quot;, but &quot;latest&quot; is <code>npm@3.5.1</code> because npm
62 uses dist-tags to manage its <code>latest</code> and <code>next</code> release channels. <code>npm update</code>
63 will install the <em>newest</em> version, but <code>npm install npm</code> (with no semver range)
64 will install whatever&#39;s tagged as <code>latest</code>.</li>
65 <li><code>once</code> is just plain out of date. Reinstalling <code>node_modules</code> from scratch or
66 running <code>npm update</code> will bring it up to spec.</li>
67 </ul>
68 <h2 id="configuration">CONFIGURATION</h2>
69 <h3 id="json">json</h3>
70 <ul>
71 <li>Default: false</li>
72 <li>Type: Boolean</li>
73 </ul>
74 <p>Show information in JSON format.</p>
75 <h3 id="long">long</h3>
76 <ul>
77 <li>Default: false</li>
78 <li>Type: Boolean</li>
79 </ul>
80 <p>Show extended information.</p>
81 <h3 id="parseable">parseable</h3>
82 <ul>
83 <li>Default: false</li>
84 <li>Type: Boolean</li>
85 </ul>
86 <p>Show parseable output instead of tree view.</p>
87 <h3 id="global">global</h3>
88 <ul>
89 <li>Default: false</li>
90 <li>Type: Boolean</li>
91 </ul>
92 <p>Check packages in the global install prefix instead of in the current
93 project.</p>
94 <h3 id="depth">depth</h3>
95 <ul>
96 <li>Default: 0</li>
97 <li>Type: Int</li>
98 </ul>
99 <p>Max depth for checking dependency tree.</p>
100 <h2 id="see-also">SEE ALSO</h2>
101 <ul>
102 <li><a href="../cli/npm-update.html">npm-update(1)</a></li>
103 <li><a href="../cli/npm-dist-tag.html">npm-dist-tag(1)</a></li>
104 <li><a href="../misc/npm-registry.html">npm-registry(7)</a></li>
105 <li><a href="../files/npm-folders.html">npm-folders(5)</a></li>
106 </ul>
107
108 </div>
109
110 <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
111 <tr><td style="width:180px;height:10px;background:rgb(237,127,127)" colspan=18>&nbsp;</td></tr>
112 <tr><td rowspan=4 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td><td style="width:40px;height:10px;background:#fff" colspan=4>&nbsp;</td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=4>&nbsp;</td><td style="width:40px;height:10px;background:#fff" colspan=4>&nbsp;</td><td rowspan=4 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td><td colspan=6 style="width:60px;height:10px;background:#fff">&nbsp;</td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=4>&nbsp;</td></tr>
113 <tr><td colspan=2 style="width:20px;height:30px;background:#fff" rowspan=3>&nbsp;</td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=3>&nbsp;</td><td style="width:10px;height:10px;background:#fff" rowspan=3>&nbsp;</td><td style="width:20px;height:10px;background:#fff" rowspan=4 colspan=2>&nbsp;</td><td style="width:10px;height:20px;background:rgb(237,127,127)" rowspan=2>&nbsp;</td><td style="width:10px;height:10px;background:#fff" rowspan=3>&nbsp;</td><td style="width:20px;height:10px;background:#fff" rowspan=3 colspan=2>&nbsp;</td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=3>&nbsp;</td><td style="width:10px;height:10px;background:#fff" rowspan=3>&nbsp;</td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=3>&nbsp;</td></tr>
114 <tr><td style="width:10px;height:10px;background:#fff" rowspan=2>&nbsp;</td></tr>
115 <tr><td style="width:10px;height:10px;background:#fff">&nbsp;</td></tr>
116 <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
117 <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
118 </table>
119 <p id="footer">npm-outdated &mdash; npm@2.15.11</p>
120