summaryrefslogtreecommitdiff
path: root/deps/npm/docs/output/commands/npm-dedupe.html
diff options
context:
space:
mode:
authornpm team <ops+robot@npmjs.com>2022-01-20 22:08:53 +0000
committerMichaƫl Zasso <targos@protonmail.com>2022-01-24 15:26:39 +0100
commitc0ef0d5a66e079349803fb8890f98745919d4803 (patch)
tree541aed5f4e61554092bd39937e12d69756e60092 /deps/npm/docs/output/commands/npm-dedupe.html
parent400b7c242b2e1257979b8bd8cc4ed0f403366030 (diff)
downloadnode-new-c0ef0d5a66e079349803fb8890f98745919d4803.tar.gz
deps: upgrade npm to 8.3.2
PR-URL: https://github.com/nodejs/node/pull/41621 Reviewed-By: Ruy Adorno <ruyadorno@github.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com>
Diffstat (limited to 'deps/npm/docs/output/commands/npm-dedupe.html')
-rw-r--r--deps/npm/docs/output/commands/npm-dedupe.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/deps/npm/docs/output/commands/npm-dedupe.html b/deps/npm/docs/output/commands/npm-dedupe.html
index ea811c28e9..a31af824b2 100644
--- a/deps/npm/docs/output/commands/npm-dedupe.html
+++ b/deps/npm/docs/output/commands/npm-dedupe.html
@@ -192,6 +192,11 @@ sufficient.</p>
<p>Note that this operation transforms the dependency tree, but will never
result in new modules being installed.</p>
<p>Using <code>npm find-dupes</code> will run the command in <code>--dry-run</code> mode.</p>
+<p>Note that by default <code>npm dedupe</code> will not update the semver values of direct
+dependencies in your project <code>package.json</code>, if you want to also update
+values in <code>package.json</code> you can run: <code>npm dedupe --save</code> (or add the
+<code>save=true</code> option to a <a href="../configuring-npm/npmrc.html">configuration file</a>
+to make that the default behavior).</p>
<h3 id="configuration">Configuration</h3>
<!-- raw HTML omitted -->
<!-- raw HTML omitted -->