diff options
author | npm team <ops+robot@npmjs.com> | 2022-01-21 01:08:53 +0300 |
---|---|---|
committer | Michaƫl Zasso <targos@protonmail.com> | 2022-01-24 17:26:39 +0300 |
commit | c0ef0d5a66e079349803fb8890f98745919d4803 (patch) | |
tree | 541aed5f4e61554092bd39937e12d69756e60092 /deps/npm/docs/output/commands/npm-update.html | |
parent | 400b7c242b2e1257979b8bd8cc4ed0f403366030 (diff) |
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-update.html')
-rw-r--r-- | deps/npm/docs/output/commands/npm-update.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/deps/npm/docs/output/commands/npm-update.html b/deps/npm/docs/output/commands/npm-update.html index 065feee3eb3..6185df91e8d 100644 --- a/deps/npm/docs/output/commands/npm-update.html +++ b/deps/npm/docs/output/commands/npm-update.html @@ -160,6 +160,11 @@ package).</p> packages.</p> <p>If no package name is specified, all packages in the specified location (global or local) will be updated.</p> +<p>Note that by default <code>npm update</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 update --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="example">Example</h3> <p>For the examples below, assume that the current package is <code>app</code> and it depends on dependencies, <code>dep1</code> (<code>dep2</code>, .. etc.). The published versions of <code>dep1</code> |