Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1fa724e

Browse filesBrowse files
npm-robotdanielleadams
authored andcommitted
deps: upgrade npm to 7.18.1
PR-URL: #39065 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruy Adorno <ruyadorno@github.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com>
1 parent a53911b commit 1fa724e
Copy full SHA for 1fa724e

File tree

Expand file treeCollapse file tree

108 files changed

+3433
-690
lines changed
Open diff view settings
Filter options

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree

108 files changed

+3433
-690
lines changed
Open diff view settings
Collapse file

‎deps/npm/docs/content/commands/npm-audit.md‎

Copy file name to clipboardExpand all lines: deps/npm/docs/content/commands/npm-audit.md
+8-2Lines changed: 8 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,14 @@ Not supported by all npm commands.
250250
* Default: false
251251
* Type: Boolean
252252

253-
If set to true, it will update only the `package-lock.json`, instead of
254-
checking `node_modules` and downloading dependencies.
253+
If set to true, the current operation will only use the `package-lock.json`,
254+
ignoring `node_modules`.
255+
256+
For `update` this means only the `package-lock.json` will be updated,
257+
instead of checking `node_modules` and downloading dependencies.
258+
259+
For `list` this means the output will be based on the tree described by the
260+
`package-lock.json`, rather than the contents of `node_modules`.
255261

256262
#### `omit`
257263

Collapse file

‎deps/npm/docs/content/commands/npm-ls.md‎

Copy file name to clipboardExpand all lines: deps/npm/docs/content/commands/npm-ls.md
+12-9Lines changed: 12 additions & 9 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -155,18 +155,21 @@ variable will be set to `'production'` for all lifecycle scripts.
155155
* Default: false
156156
* Type: Boolean
157157

158-
If true, then local installs will link if there is a suitable globally
159-
installed package.
158+
Used with `npm ls`, limiting output to only those packages that are linked.
160159

161-
Note that this means that local installs can cause things to be installed
162-
into the global space at the same time. The link is only done if one of the
163-
two conditions are met:
160+
#### `package-lock-only`
164161

165-
* The package is not already installed globally, or
166-
* the globally installed version is identical to the version that is being
167-
installed locally.
162+
* Default: false
163+
* Type: Boolean
164+
165+
If set to true, the current operation will only use the `package-lock.json`,
166+
ignoring `node_modules`.
167+
168+
For `update` this means only the `package-lock.json` will be updated,
169+
instead of checking `node_modules` and downloading dependencies.
168170

169-
When used with `npm ls`, only show packages that are linked.
171+
For `list` this means the output will be based on the tree described by the
172+
`package-lock.json`, rather than the contents of `node_modules`.
170173

171174
#### `unicode`
172175

Collapse file

‎deps/npm/docs/content/commands/npm-pack.md‎

Copy file name to clipboardExpand all lines: deps/npm/docs/content/commands/npm-pack.md
+7Lines changed: 7 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@ Whether or not to output JSON data, rather than the normal output.
3636

3737
Not supported by all npm commands.
3838

39+
#### `pack-destination`
40+
41+
* Default: "."
42+
* Type: String
43+
44+
Directory in which `npm pack` will save tarballs.
45+
3946
#### `workspace`
4047

4148
* Default:
Collapse file

‎deps/npm/docs/content/using-npm/config.md‎

Copy file name to clipboardExpand all lines: deps/npm/docs/content/using-npm/config.md
+16-14Lines changed: 16 additions & 14 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -743,18 +743,7 @@ Use of `legacy-peer-deps` is not recommended, as it will not enforce the
743743
* Default: false
744744
* Type: Boolean
745745

746-
If true, then local installs will link if there is a suitable globally
747-
installed package.
748-
749-
Note that this means that local installs can cause things to be installed
750-
into the global space at the same time. The link is only done if one of the
751-
two conditions are met:
752-
753-
* The package is not already installed globally, or
754-
* the globally installed version is identical to the version that is being
755-
installed locally.
756-
757-
When used with `npm ls`, only show packages that are linked.
746+
Used with `npm ls`, limiting output to only those packages that are linked.
758747

759748
#### `local-address`
760749

@@ -878,6 +867,13 @@ when publishing or changing package permissions with `npm access`.
878867
If not set, and a registry response fails with a challenge for a one-time
879868
password, npm will prompt on the command line for one.
880869

870+
#### `pack-destination`
871+
872+
* Default: "."
873+
* Type: String
874+
875+
Directory in which `npm pack` will save tarballs.
876+
881877
#### `package`
882878

883879
* Default:
@@ -902,8 +898,14 @@ package-locks disabled use `npm prune`.
902898
* Default: false
903899
* Type: Boolean
904900

905-
If set to true, it will update only the `package-lock.json`, instead of
906-
checking `node_modules` and downloading dependencies.
901+
If set to true, the current operation will only use the `package-lock.json`,
902+
ignoring `node_modules`.
903+
904+
For `update` this means only the `package-lock.json` will be updated,
905+
instead of checking `node_modules` and downloading dependencies.
906+
907+
For `list` this means the output will be based on the tree described by the
908+
`package-lock.json`, rather than the contents of `node_modules`.
907909

908910
#### `parseable`
909911

Collapse file

‎deps/npm/docs/output/commands/npm-audit.html‎

Copy file name to clipboardExpand all lines: deps/npm/docs/output/commands/npm-audit.html
+6-2Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,8 +324,12 @@ <h4 id="package-lock-only"><code>package-lock-only</code></h4>
324324
<li>Default: false</li>
325325
<li>Type: Boolean</li>
326326
</ul>
327-
<p>If set to true, it will update only the <code>package-lock.json</code>, instead of
328-
checking <code>node_modules</code> and downloading dependencies.</p>
327+
<p>If set to true, the current operation will only use the <code>package-lock.json</code>,
328+
ignoring <code>node_modules</code>.</p>
329+
<p>For <code>update</code> this means only the <code>package-lock.json</code> will be updated,
330+
instead of checking <code>node_modules</code> and downloading dependencies.</p>
331+
<p>For <code>list</code> this means the output will be based on the tree described by the
332+
<code>package-lock.json</code>, rather than the contents of <code>node_modules</code>.</p>
329333
<h4 id="omit"><code>omit</code></h4>
330334
<ul>
331335
<li>Default: ‘dev’ if the <code>NODE_ENV</code> environment variable is set to
Collapse file

‎deps/npm/docs/output/commands/npm-ls.html‎

Copy file name to clipboardExpand all lines: deps/npm/docs/output/commands/npm-ls.html
+12-11Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ <h1 id="npm-ls">npm-ls</h1>
141141

142142
<section id="table_of_contents">
143143
<h2 id="table-of-contents">Table of contents</h2>
144-
<div id="_table_of_contents"><ul><li><a href="#synopsis">Synopsis</a></li><li><a href="#description">Description</a></li><li><a href="#note-design-changes-pending">Note: Design Changes Pending</a></li><li><a href="#configuration">Configuration</a></li><ul><li><a href="#all"><code>all</code></a></li><li><a href="#json"><code>json</code></a></li><li><a href="#long"><code>long</code></a></li><li><a href="#parseable"><code>parseable</code></a></li><li><a href="#global"><code>global</code></a></li><li><a href="#depth"><code>depth</code></a></li><li><a href="#omit"><code>omit</code></a></li><li><a href="#link"><code>link</code></a></li><li><a href="#unicode"><code>unicode</code></a></li><li><a href="#workspace"><code>workspace</code></a></li><li><a href="#workspaces"><code>workspaces</code></a></li></ul><li><a href="#see-also">See Also</a></li></ul></div>
144+
<div id="_table_of_contents"><ul><li><a href="#synopsis">Synopsis</a></li><li><a href="#description">Description</a></li><li><a href="#note-design-changes-pending">Note: Design Changes Pending</a></li><li><a href="#configuration">Configuration</a></li><ul><li><a href="#all"><code>all</code></a></li><li><a href="#json"><code>json</code></a></li><li><a href="#long"><code>long</code></a></li><li><a href="#parseable"><code>parseable</code></a></li><li><a href="#global"><code>global</code></a></li><li><a href="#depth"><code>depth</code></a></li><li><a href="#omit"><code>omit</code></a></li><li><a href="#link"><code>link</code></a></li><li><a href="#package-lock-only"><code>package-lock-only</code></a></li><li><a href="#unicode"><code>unicode</code></a></li><li><a href="#workspace"><code>workspace</code></a></li><li><a href="#workspaces"><code>workspaces</code></a></li></ul><li><a href="#see-also">See Also</a></li></ul></div>
145145
</section>
146146

147147
<div id="_content"><h3 id="synopsis">Synopsis</h3>
@@ -159,7 +159,7 @@ <h3 id="description">Description</h3>
159159
the results to only the paths to the packages named. Note that nested
160160
packages will <em>also</em> show the paths to the specified packages. For
161161
example, running <code>npm ls promzard</code> in npm’s source tree will show:</p>
162-
<pre lang="bash"><code>npm@7.17.0 /path/to/npm
162+
<pre lang="bash"><code>npm@7.18.1 /path/to/npm
163163
└─┬ init-package-json@0.0.4
164164
└── promzard@0.1.5
165165
</code></pre>
@@ -263,17 +263,18 @@ <h4 id="link"><code>link</code></h4>
263263
<li>Default: false</li>
264264
<li>Type: Boolean</li>
265265
</ul>
266-
<p>If true, then local installs will link if there is a suitable globally
267-
installed package.</p>
268-
<p>Note that this means that local installs can cause things to be installed
269-
into the global space at the same time. The link is only done if one of the
270-
two conditions are met:</p>
266+
<p>Used with <code>npm ls</code>, limiting output to only those packages that are linked.</p>
267+
<h4 id="package-lock-only"><code>package-lock-only</code></h4>
271268
<ul>
272-
<li>The package is not already installed globally, or</li>
273-
<li>the globally installed version is identical to the version that is being
274-
installed locally.</li>
269+
<li>Default: false</li>
270+
<li>Type: Boolean</li>
275271
</ul>
276-
<p>When used with <code>npm ls</code>, only show packages that are linked.</p>
272+
<p>If set to true, the current operation will only use the <code>package-lock.json</code>,
273+
ignoring <code>node_modules</code>.</p>
274+
<p>For <code>update</code> this means only the <code>package-lock.json</code> will be updated,
275+
instead of checking <code>node_modules</code> and downloading dependencies.</p>
276+
<p>For <code>list</code> this means the output will be based on the tree described by the
277+
<code>package-lock.json</code>, rather than the contents of <code>node_modules</code>.</p>
277278
<h4 id="unicode"><code>unicode</code></h4>
278279
<ul>
279280
<li>Default: false on windows, true on mac/unix systems with a unicode locale,
Collapse file

‎deps/npm/docs/output/commands/npm-pack.html‎

Copy file name to clipboardExpand all lines: deps/npm/docs/output/commands/npm-pack.html
+7-1Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ <h1 id="npm-pack">npm-pack</h1>
141141

142142
<section id="table_of_contents">
143143
<h2 id="table-of-contents">Table of contents</h2>
144-
<div id="_table_of_contents"><ul><li><a href="#synopsis">Synopsis</a></li><li><a href="#configuration">Configuration</a></li><ul><li><a href="#dry-run"><code>dry-run</code></a></li><li><a href="#json"><code>json</code></a></li><li><a href="#workspace"><code>workspace</code></a></li><li><a href="#workspaces"><code>workspaces</code></a></li></ul><li><a href="#description">Description</a></li><li><a href="#see-also">See Also</a></li></ul></div>
144+
<div id="_table_of_contents"><ul><li><a href="#synopsis">Synopsis</a></li><li><a href="#configuration">Configuration</a></li><ul><li><a href="#dry-run"><code>dry-run</code></a></li><li><a href="#json"><code>json</code></a></li><li><a href="#pack-destination"><code>pack-destination</code></a></li><li><a href="#workspace"><code>workspace</code></a></li><li><a href="#workspaces"><code>workspaces</code></a></li></ul><li><a href="#description">Description</a></li><li><a href="#see-also">See Also</a></li></ul></div>
145145
</section>
146146

147147
<div id="_content"><h3 id="synopsis">Synopsis</h3>
@@ -168,6 +168,12 @@ <h4 id="json"><code>json</code></h4>
168168
</ul>
169169
<p>Whether or not to output JSON data, rather than the normal output.</p>
170170
<p>Not supported by all npm commands.</p>
171+
<h4 id="pack-destination"><code>pack-destination</code></h4>
172+
<ul>
173+
<li>Default: “.”</li>
174+
<li>Type: String</li>
175+
</ul>
176+
<p>Directory in which <code>npm pack</code> will save tarballs.</p>
171177
<h4 id="workspace"><code>workspace</code></h4>
172178
<ul>
173179
<li>Default:</li>
Collapse file

‎deps/npm/docs/output/commands/npm.html‎

Copy file name to clipboardExpand all lines: deps/npm/docs/output/commands/npm.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ <h2 id="table-of-contents">Table of contents</h2>
148148
<pre lang="bash"><code>npm &lt;command&gt; [args]
149149
</code></pre>
150150
<h3 id="version">Version</h3>
151-
<p>7.17.0</p>
151+
<p>7.18.1</p>
152152
<h3 id="description">Description</h3>
153153
<p>npm is the package manager for the Node JavaScript platform. It puts
154154
modules in place so that node can find them, and manages dependency
Collapse file

‎deps/npm/docs/output/using-npm/config.html‎

Copy file name to clipboardExpand all lines: deps/npm/docs/output/using-npm/config.html
+14-14Lines changed: 14 additions & 14 deletions
Large diffs are not rendered by default.
Collapse file

‎deps/npm/lib/audit.js‎

Copy file name to clipboardExpand all lines: deps/npm/lib/audit.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class Audit extends ArboristWorkspaceCmd {
5858
audit: true,
5959
path: this.npm.prefix,
6060
reporter,
61-
workspaces: this.workspaces,
61+
workspaces: this.workspaceNames,
6262
}
6363

6464
const arb = new Arborist(opts)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.