diff options
Diffstat (limited to 'deps/npm/html/doc/cli/npm-deprecate.html')
-rw-r--r-- | deps/npm/html/doc/cli/npm-deprecate.html | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/deps/npm/html/doc/cli/npm-deprecate.html b/deps/npm/html/doc/cli/npm-deprecate.html index 6c91f2a7e6..0bff72bada 100644 --- a/deps/npm/html/doc/cli/npm-deprecate.html +++ b/deps/npm/html/doc/cli/npm-deprecate.html @@ -14,11 +14,13 @@ <pre><code>npm deprecate <pkg>[@<version>] <message></code></pre><h2 id="description">DESCRIPTION</h2> <p>This command will update the npm registry entry for a package, providing a deprecation warning to all who attempt to install it.</p> -<p>It works on version ranges as well as specific versions, so you can do -something like this:</p> +<p>It works on <a href="https://semver.npmjs.com/">version ranges</a> as well as specific +versions, so you can do something like this:</p> <pre><code>npm deprecate my-thing@"< 0.2.3" "critical bug fixed in v0.2.3"</code></pre><p>Note that you must be the package owner to deprecate something. See the <code>owner</code> and <code>adduser</code> help topics.</p> -<p>To un-deprecate a package, specify an empty string (<code>""</code>) for the <code>message</code> argument.</p> +<p>To un-deprecate a package, specify an empty string (<code>""</code>) for the <code>message</code> +argument. Note that you must use double quotes with no space between them to +format an empty string.</p> <h2 id="see-also">SEE ALSO</h2> <ul> <li><a href="../cli/npm-publish.html">npm-publish(1)</a></li> @@ -36,5 +38,5 @@ something like this:</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-deprecate — npm@6.4.1</p> +<p id="footer">npm-deprecate — npm@6.5.0-next.0</p> |