Simple email application for Android. Original source code: https://framagit.org/dystopia-project/simple-email
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

118 lines
7.2 KiB

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