Skip to content

Commit f864bef

Browse files
npm-cli-botMylesBorins
authored andcommitted
deps: upgrade npm to 9.5.0
PR-URL: #46673 Reviewed-By: Luke Karrys <[email protected]> Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Ruy Adorno <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Myles Borins <[email protected]>
1 parent 648041d commit f864bef

File tree

550 files changed

+24378
-7885
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

550 files changed

+24378
-7885
lines changed

deps/npm/docs/content/commands/npm-access.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,7 @@ You must have privileges to set the access of a package:
6767
* You have been given read-write privileges for a package, either as a member
6868
of a team or directly as an owner.
6969
70-
If you have two-factor authentication enabled then you'll be prompted to
71-
provide an otp token, or may use the `--otp=...` option to specify it on
70+
If you have two-factor authentication enabled then you'll be prompted to provide a second factor, or may use the `--otp=...` option to specify it on
7271
the command line.
7372
7473
If your account is not paid, then attempts to publish scoped packages will

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ This value is not exported to the environment for child processes.
408408

409409
#### `install-links`
410410

411-
* Default: true
411+
* Default: false
412412
* Type: Boolean
413413

414414
When set file: protocol dependencies will be packed and installed as regular

deps/npm/docs/content/commands/npm-ci.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ This value is not exported to the environment for child processes.
310310

311311
#### `install-links`
312312

313-
* Default: true
313+
* Default: false
314314
* Type: Boolean
315315

316316
When set file: protocol dependencies will be packed and installed as regular

deps/npm/docs/content/commands/npm-dedupe.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ This value is not exported to the environment for child processes.
269269
270270
#### `install-links`
271271
272-
* Default: true
272+
* Default: false
273273
* Type: Boolean
274274
275275
When set file: protocol dependencies will be packed and installed as regular

deps/npm/docs/content/commands/npm-dist-tag.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ Add, remove, and enumerate distribution tags on a package:
2222
or the [`--tag` config](/using-npm/config#tag) if not specified. If you have
2323
two-factor authentication on auth-and-writes then you’ll need to include a
2424
one-time password on the command line with
25-
`--otp <one-time password>`, or at the OTP prompt.
25+
`--otp <one-time password>`, or go through a second factor flow based on your `authtype`.
2626

2727
* rm: Clear a tag that is no longer in use from the package. If you have
2828
two-factor authentication on auth-and-writes then you’ll need to include
2929
a one-time password on the command line with `--otp <one-time password>`,
30-
or at the OTP prompt.
30+
or go through a second factor flow based on your `authtype`
3131

3232
* ls: Show all of the dist-tags for a package, defaulting to the package in
3333
the current prefix. This is the default action if none is specified.

deps/npm/docs/content/commands/npm-find-dupes.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ This value is not exported to the environment for child processes.
196196

197197
#### `install-links`
198198

199-
* Default: true
199+
* Default: false
200200
* Type: Boolean
201201

202202
When set file: protocol dependencies will be packed and installed as regular

deps/npm/docs/content/commands/npm-install-ci-test.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ This value is not exported to the environment for child processes.
256256

257257
#### `install-links`
258258

259-
* Default: true
259+
* Default: false
260260
* Type: Boolean
261261

262262
When set file: protocol dependencies will be packed and installed as regular

deps/npm/docs/content/commands/npm-install-test.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ This value is not exported to the environment for child processes.
257257

258258
#### `install-links`
259259

260-
* Default: true
260+
* Default: false
261261
* Type: Boolean
262262

263263
When set file: protocol dependencies will be packed and installed as regular

deps/npm/docs/content/commands/npm-install.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ This value is not exported to the environment for child processes.
647647
648648
#### `install-links`
649649
650-
* Default: true
650+
* Default: false
651651
* Type: Boolean
652652
653653
When set file: protocol dependencies will be packed and installed as regular

deps/npm/docs/content/commands/npm-link.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ This value is not exported to the environment for child processes.
336336

337337
#### `install-links`
338338

339-
* Default: true
339+
* Default: false
340340
* Type: Boolean
341341

342342
When set file: protocol dependencies will be packed and installed as regular

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ packages will *also* show the paths to the specified packages. For
2727
example, running `npm ls promzard` in npm's source tree will show:
2828

2929
```bash
30-
npm@9.4.0 /path/to/npm
30+
npm@9.5.0 /path/to/npm
3131
3232
3333
```
@@ -236,7 +236,7 @@ This value is not exported to the environment for child processes.
236236

237237
#### `install-links`
238238

239-
* Default: true
239+
* Default: false
240240
* Type: Boolean
241241

242242
When set file: protocol dependencies will be packed and installed as regular

deps/npm/docs/content/commands/npm-owner.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ or you can't. Future versions may contain more fine-grained access levels, but
3030
that is not implemented at this time.
3131

3232
If you have two-factor authentication enabled with `auth-and-writes` (see
33-
[`npm-profile`](/commands/npm-profile)) then you'll need to include an otp
34-
on the command line when changing ownership with `--otp`.
33+
[`npm-profile`](/commands/npm-profile)) then you'll need to go through a second factor
34+
flow when changing ownership or include an otp on the command line with `--otp`.
3535

3636
### Configuration
3737

deps/npm/docs/content/commands/npm-prune.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ This value is not exported to the environment for child processes.
157157

158158
#### `install-links`
159159

160-
* Default: true
160+
* Default: false
161161
* Type: Boolean
162162

163163
When set file: protocol dependencies will be packed and installed as regular

deps/npm/docs/content/commands/npm-publish.md

+7
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,13 @@ the specified workspaces, and not on the root project.
194194

195195
This value is not exported to the environment for child processes.
196196

197+
#### `provenance`
198+
199+
* Default: false
200+
* Type: Boolean
201+
202+
Indicates that a provenance statement should be generated.
203+
197204
### See Also
198205

199206
* [package spec](/using-npm/package-spec)

deps/npm/docs/content/commands/npm-rebuild.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ This value is not exported to the environment for child processes.
130130

131131
#### `install-links`
132132

133-
* Default: true
133+
* Default: false
134134
* Type: Boolean
135135

136136
When set file: protocol dependencies will be packed and installed as regular

deps/npm/docs/content/commands/npm-team.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ as `@org:newteam` in these commands.
2828

2929
If you have two-factor authentication enabled in `auth-and-writes` mode, then
3030
you can provide a code from your authenticator with `[--otp <otpcode>]`.
31-
If you don't include this then you will be prompted.
31+
If you don't include this then you will be taken through a second factor flow based
32+
on your `authtype`.
3233

3334
* create / destroy:
3435
Create a new team, or destroy an existing one. Note: You cannot remove the

deps/npm/docs/content/commands/npm-uninstall.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ This value is not exported to the environment for child processes.
123123

124124
#### `install-links`
125125

126-
* Default: true
126+
* Default: false
127127
* Type: Boolean
128128

129129
When set file: protocol dependencies will be packed and installed as regular

deps/npm/docs/content/commands/npm-update.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ This value is not exported to the environment for child processes.
387387

388388
#### `install-links`
389389

390-
* Default: true
390+
* Default: false
391391
* Type: Boolean
392392

393393
When set file: protocol dependencies will be packed and installed as regular

deps/npm/docs/content/commands/npm.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Note: This command is unaware of workspaces.
1414

1515
### Version
1616

17-
9.4.0
17+
9.5.0
1818

1919
### Description
2020

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

+8-1
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ number, if not already set in package.json.
691691

692692
#### `install-links`
693693

694-
* Default: true
694+
* Default: false
695695
* Type: Boolean
696696

697697
When set file: protocol dependencies will be packed and installed as regular
@@ -1005,6 +1005,13 @@ operations, if `process.stderr` is a TTY.
10051005

10061006
Set to `false` to suppress the progress bar.
10071007

1008+
#### `provenance`
1009+
1010+
* Default: false
1011+
* Type: Boolean
1012+
1013+
Indicates that a provenance statement should be generated.
1014+
10081015
#### `proxy`
10091016

10101017
* Default: null

deps/npm/docs/output/commands/npm-access.html

+1-2
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,7 @@ <h3 id="details">Details</h3>
205205
<li>You have been given read-write privileges for a package, either as a member
206206
of a team or directly as an owner.</li>
207207
</ul>
208-
<p>If you have two-factor authentication enabled then you'll be prompted to
209-
provide an otp token, or may use the <code>--otp=...</code> option to specify it on
208+
<p>If you have two-factor authentication enabled then you'll be prompted to provide a second factor, or may use the <code>--otp=...</code> option to specify it on
210209
the command line.</p>
211210
<p>If your account is not paid, then attempts to publish scoped packages will
212211
fail with an HTTP 402 status code (logically enough), unless you use

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ <h4 id="include-workspace-root"><code>include-workspace-root</code></h4>
454454
<p>This value is not exported to the environment for child processes.</p>
455455
<h4 id="install-links"><code>install-links</code></h4>
456456
<ul>
457-
<li>Default: true</li>
457+
<li>Default: false</li>
458458
<li>Type: Boolean</li>
459459
</ul>
460460
<p>When set file: protocol dependencies will be packed and installed as regular

deps/npm/docs/output/commands/npm-ci.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ <h4 id="include-workspace-root"><code>include-workspace-root</code></h4>
399399
<p>This value is not exported to the environment for child processes.</p>
400400
<h4 id="install-links"><code>install-links</code></h4>
401401
<ul>
402-
<li>Default: true</li>
402+
<li>Default: false</li>
403403
<li>Type: Boolean</li>
404404
</ul>
405405
<p>When set file: protocol dependencies will be packed and installed as regular

deps/npm/docs/output/commands/npm-dedupe.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ <h4 id="include-workspace-root"><code>include-workspace-root</code></h4>
358358
<p>This value is not exported to the environment for child processes.</p>
359359
<h4 id="install-links"><code>install-links</code></h4>
360360
<ul>
361-
<li>Default: true</li>
361+
<li>Default: false</li>
362362
<li>Type: Boolean</li>
363363
</ul>
364364
<p>When set file: protocol dependencies will be packed and installed as regular

deps/npm/docs/output/commands/npm-dist-tag.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -160,13 +160,13 @@ <h3 id="description">Description</h3>
160160
or the <a href="../using-npm/config#tag.html"><code>--tag</code> config</a> if not specified. If you have
161161
two-factor authentication on auth-and-writes then you’ll need to include a
162162
one-time password on the command line with
163-
<code>--otp &lt;one-time password&gt;</code>, or at the OTP prompt.</p>
163+
<code>--otp &lt;one-time password&gt;</code>, or go through a second factor flow based on your <code>authtype</code>.</p>
164164
</li>
165165
<li>
166166
<p>rm: Clear a tag that is no longer in use from the package. If you have
167167
two-factor authentication on auth-and-writes then you’ll need to include
168168
a one-time password on the command line with <code>--otp &lt;one-time password&gt;</code>,
169-
or at the OTP prompt.</p>
169+
or go through a second factor flow based on your <code>authtype</code></p>
170170
</li>
171171
<li>
172172
<p>ls: Show all of the dist-tags for a package, defaulting to the package in

deps/npm/docs/output/commands/npm-find-dupes.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ <h4 id="include-workspace-root"><code>include-workspace-root</code></h4>
304304
<p>This value is not exported to the environment for child processes.</p>
305305
<h4 id="install-links"><code>install-links</code></h4>
306306
<ul>
307-
<li>Default: true</li>
307+
<li>Default: false</li>
308308
<li>Type: Boolean</li>
309309
</ul>
310310
<p>When set file: protocol dependencies will be packed and installed as regular

deps/npm/docs/output/commands/npm-install-ci-test.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ <h4 id="include-workspace-root"><code>include-workspace-root</code></h4>
356356
<p>This value is not exported to the environment for child processes.</p>
357357
<h4 id="install-links"><code>install-links</code></h4>
358358
<ul>
359-
<li>Default: true</li>
359+
<li>Default: false</li>
360360
<li>Type: Boolean</li>
361361
</ul>
362362
<p>When set file: protocol dependencies will be packed and installed as regular

deps/npm/docs/output/commands/npm-install-test.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ <h4 id="include-workspace-root"><code>include-workspace-root</code></h4>
357357
<p>This value is not exported to the environment for child processes.</p>
358358
<h4 id="install-links"><code>install-links</code></h4>
359359
<ul>
360-
<li>Default: true</li>
360+
<li>Default: false</li>
361361
<li>Type: Boolean</li>
362362
</ul>
363363
<p>When set file: protocol dependencies will be packed and installed as regular

deps/npm/docs/output/commands/npm-install.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ <h4 id="include-workspace-root"><code>include-workspace-root</code></h4>
683683
<p>This value is not exported to the environment for child processes.</p>
684684
<h4 id="install-links"><code>install-links</code></h4>
685685
<ul>
686-
<li>Default: true</li>
686+
<li>Default: false</li>
687687
<li>Type: Boolean</li>
688688
</ul>
689689
<p>When set file: protocol dependencies will be packed and installed as regular

deps/npm/docs/output/commands/npm-link.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ <h4 id="include-workspace-root"><code>include-workspace-root</code></h4>
410410
<p>This value is not exported to the environment for child processes.</p>
411411
<h4 id="install-links"><code>install-links</code></h4>
412412
<ul>
413-
<li>Default: true</li>
413+
<li>Default: false</li>
414414
<li>Type: Boolean</li>
415415
</ul>
416416
<p>When set file: protocol dependencies will be packed and installed as regular

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ <h3 id="description">Description</h3>
160160
the results to only the paths to the packages named. Note that nested
161161
packages will <em>also</em> show the paths to the specified packages. For
162162
example, running <code>npm ls promzard</code> in npm's source tree will show:</p>
163-
<pre><code class="language-bash">npm@9.4.0 /path/to/npm
163+
<pre><code class="language-bash">npm@9.5.0 /path/to/npm
164164
165165
166166
</code></pre>
@@ -333,7 +333,7 @@ <h4 id="include-workspace-root"><code>include-workspace-root</code></h4>
333333
<p>This value is not exported to the environment for child processes.</p>
334334
<h4 id="install-links"><code>install-links</code></h4>
335335
<ul>
336-
<li>Default: true</li>
336+
<li>Default: false</li>
337337
<li>Type: Boolean</li>
338338
</ul>
339339
<p>When set file: protocol dependencies will be packed and installed as regular

deps/npm/docs/output/commands/npm-owner.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,8 @@ <h3 id="description">Description</h3>
166166
or you can't. Future versions may contain more fine-grained access levels, but
167167
that is not implemented at this time.</p>
168168
<p>If you have two-factor authentication enabled with <code>auth-and-writes</code> (see
169-
<a href="../commands/npm-profile.html"><code>npm-profile</code></a>) then you'll need to include an otp
170-
on the command line when changing ownership with <code>--otp</code>.</p>
169+
<a href="../commands/npm-profile.html"><code>npm-profile</code></a>) then you'll need to go through a second factor
170+
flow when changing ownership or include an otp on the command line with <code>--otp</code>.</p>
171171
<h3 id="configuration">Configuration</h3>
172172
<h4 id="registry"><code>registry</code></h4>
173173
<ul>

deps/npm/docs/output/commands/npm-prune.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ <h4 id="include-workspace-root"><code>include-workspace-root</code></h4>
268268
<p>This value is not exported to the environment for child processes.</p>
269269
<h4 id="install-links"><code>install-links</code></h4>
270270
<ul>
271-
<li>Default: true</li>
271+
<li>Default: false</li>
272272
<li>Type: Boolean</li>
273273
</ul>
274274
<p>When set file: protocol dependencies will be packed and installed as regular

deps/npm/docs/output/commands/npm-publish.html

+7-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ <h1 id="npm-publish">npm-publish</h1>
142142

143143
<section id="table_of_contents">
144144
<h2 id="table-of-contents">Table of contents</h2>
145-
<div id="_table_of_contents"><ul><li><a href="#synopsis">Synopsis</a></li><li><a href="#description">Description</a></li><li><a href="#files-included-in-package">Files included in package</a></li><li><a href="#configuration">Configuration</a></li><ul><li><a href="#tag"><code>tag</code></a></li><li><a href="#access"><code>access</code></a></li><li><a href="#dry-run"><code>dry-run</code></a></li><li><a href="#otp"><code>otp</code></a></li><li><a href="#workspace"><code>workspace</code></a></li><li><a href="#workspaces"><code>workspaces</code></a></li><li><a href="#include-workspace-root"><code>include-workspace-root</code></a></li></ul><li><a href="#see-also">See Also</a></li></ul></div>
145+
<div id="_table_of_contents"><ul><li><a href="#synopsis">Synopsis</a></li><li><a href="#description">Description</a></li><li><a href="#files-included-in-package">Files included in package</a></li><li><a href="#configuration">Configuration</a></li><ul><li><a href="#tag"><code>tag</code></a></li><li><a href="#access"><code>access</code></a></li><li><a href="#dry-run"><code>dry-run</code></a></li><li><a href="#otp"><code>otp</code></a></li><li><a href="#workspace"><code>workspace</code></a></li><li><a href="#workspaces"><code>workspaces</code></a></li><li><a href="#include-workspace-root"><code>include-workspace-root</code></a></li><li><a href="#provenance"><code>provenance</code></a></li></ul><li><a href="#see-also">See Also</a></li></ul></div>
146146
</section>
147147

148148
<div id="_content"><h3 id="synopsis">Synopsis</h3>
@@ -306,6 +306,12 @@ <h4 id="include-workspace-root"><code>include-workspace-root</code></h4>
306306
all workspaces via the <code>workspaces</code> flag, will cause npm to operate only on
307307
the specified workspaces, and not on the root project.</p>
308308
<p>This value is not exported to the environment for child processes.</p>
309+
<h4 id="provenance"><code>provenance</code></h4>
310+
<ul>
311+
<li>Default: false</li>
312+
<li>Type: Boolean</li>
313+
</ul>
314+
<p>Indicates that a provenance statement should be generated.</p>
309315
<h3 id="see-also">See Also</h3>
310316
<ul>
311317
<li><a href="../using-npm/package-spec.html">package spec</a></li>

deps/npm/docs/output/commands/npm-rebuild.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ <h4 id="include-workspace-root"><code>include-workspace-root</code></h4>
250250
<p>This value is not exported to the environment for child processes.</p>
251251
<h4 id="install-links"><code>install-links</code></h4>
252252
<ul>
253-
<li>Default: true</li>
253+
<li>Default: false</li>
254254
<li>Type: Boolean</li>
255255
</ul>
256256
<p>When set file: protocol dependencies will be packed and installed as regular

deps/npm/docs/output/commands/npm-team.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,8 @@ <h3 id="description">Description</h3>
162162
as <code>@org:newteam</code> in these commands.</p>
163163
<p>If you have two-factor authentication enabled in <code>auth-and-writes</code> mode, then
164164
you can provide a code from your authenticator with <code>[--otp &lt;otpcode&gt;]</code>.
165-
If you don't include this then you will be prompted.</p>
165+
If you don't include this then you will be taken through a second factor flow based
166+
on your <code>authtype</code>.</p>
166167
<ul>
167168
<li>
168169
<p>create / destroy:

0 commit comments

Comments
 (0)