Skip to content

Commit b339d80

Browse files
npm-cli-botRafaelGSS
authored andcommitted
deps: upgrade npm to 9.7.1
PR-URL: #48378 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Luke Karrys <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Marco Ippolito <[email protected]>
1 parent 7c790ca commit b339d80

File tree

321 files changed

+4603
-3408
lines changed

Some content is hidden

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

321 files changed

+4603
-3408
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ Whether or not to output JSON data, rather than the normal output.
9090
9191
Not supported by all npm commands.
9292
93+
94+
9395
#### `otp`
9496
9597
* Default: null
@@ -101,13 +103,17 @@ when publishing or changing package permissions with `npm access`.
101103
If not set, and a registry response fails with a challenge for a one-time
102104
password, npm will prompt on the command line for one.
103105
106+
107+
104108
#### `registry`
105109
106110
* Default: "https://registry.npmjs.org/"
107111
* Type: URL
108112
109113
The base URL of the npm registry.
110114
115+
116+
111117
### See Also
112118
113119
* [`libnpmaccess`](https://npm.im/libnpmaccess)

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ email are read in from prompts.
3232

3333
The base URL of the npm registry.
3434

35+
36+
3537
#### `scope`
3638

3739
* Default: the scope of the current project, if any, or ""
@@ -62,6 +64,7 @@ npm init --scope=@foo --yes
6264
```
6365

6466

67+
6568
#### `auth-type`
6669

6770
* Default: "web"
@@ -70,6 +73,8 @@ npm init --scope=@foo --yes
7073
What authentication strategy to use with `login`. Note that if an `otp`
7174
config is given, this value will always be set to `legacy`.
7275

76+
77+
7378
### See Also
7479

7580
* [npm registry](/using-npm/registry)

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,8 @@ $ npm audit --audit-level=moderate
246246
The minimum level of vulnerability for `npm audit` to exit with a non-zero
247247
exit code.
248248

249+
250+
249251
#### `dry-run`
250252

251253
* Default: false
@@ -259,6 +261,8 @@ commands that modify your local installation, eg, `install`, `update`,
259261
Note: This is NOT honored by other network related commands, eg `dist-tags`,
260262
`owner`, etc.
261263

264+
265+
262266
#### `force`
263267

264268
* Default: false
@@ -285,6 +289,8 @@ mistakes, unnecessary performance degradation, and malicious input.
285289
If you don't have a clear idea of what you want to do, it is strongly
286290
recommended that you do not use this option!
287291

292+
293+
288294
#### `json`
289295

290296
* Default: false
@@ -297,6 +303,8 @@ Whether or not to output JSON data, rather than the normal output.
297303

298304
Not supported by all npm commands.
299305

306+
307+
300308
#### `package-lock-only`
301309

302310
* Default: false
@@ -311,6 +319,8 @@ instead of checking `node_modules` and downloading dependencies.
311319
For `list` this means the output will be based on the tree described by the
312320
`package-lock.json`, rather than the contents of `node_modules`.
313321

322+
323+
314324
#### `omit`
315325

316326
* Default: 'dev' if the `NODE_ENV` environment variable is set to
@@ -329,6 +339,8 @@ it will be included.
329339
If the resulting omit list includes `'dev'`, then the `NODE_ENV` environment
330340
variable will be set to `'production'` for all lifecycle scripts.
331341

342+
343+
332344
#### `foreground-scripts`
333345

334346
* Default: false
@@ -341,6 +353,8 @@ input, output, and error with the main npm process.
341353
Note that this will generally make installs run slower, and be much noisier,
342354
but can be useful for debugging.
343355

356+
357+
344358
#### `ignore-scripts`
345359

346360
* Default: false
@@ -353,6 +367,8 @@ Note that commands explicitly intended to run a particular script, such as
353367
will still run their intended script if `ignore-scripts` is set, but they
354368
will *not* run any pre- or post-scripts.
355369

370+
371+
356372
#### `workspace`
357373

358374
* Default:
@@ -415,6 +431,8 @@ When set file: protocol dependencies will be packed and installed as regular
415431
dependencies instead of creating a symlink. This option has no effect on
416432
workspaces.
417433

434+
435+
418436
### See Also
419437

420438
* [npm install](/commands/npm-install)

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,17 @@ terminal.
3434
3535
Set to `true` to use default system URL opener.
3636
37+
38+
3739
#### `registry`
3840
3941
* Default: "https://registry.npmjs.org/"
4042
* Type: URL
4143
4244
The base URL of the npm registry.
4345
46+
47+
4448
#### `workspace`
4549
4650
* Default:

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ verify`.
7777

7878
The location of npm's cache directory.
7979

80+
81+
8082
### See Also
8183

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

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

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ place, no hoisting. shallow (formerly --global-style) only install direct
8484
deps at top-level. linked: (experimental) install in node_modules/.store,
8585
link in place, unhoisted.
8686

87+
88+
8789
#### `legacy-bundling`
8890

8991
* Default: false
@@ -96,6 +98,8 @@ the same manner that they are depended on. This may cause very deep
9698
directory structures and duplicate package installs as there is no
9799
de-duplicating. Sets `--install-strategy=nested`.
98100

101+
102+
99103
#### `global-style`
100104

101105
* Default: false
@@ -106,6 +110,8 @@ de-duplicating. Sets `--install-strategy=nested`.
106110
Only install direct dependencies in the top level `node_modules`, but hoist
107111
on deeper dependencies. Sets `--install-strategy=shallow`.
108112

113+
114+
109115
#### `omit`
110116

111117
* Default: 'dev' if the `NODE_ENV` environment variable is set to
@@ -124,6 +130,8 @@ it will be included.
124130
If the resulting omit list includes `'dev'`, then the `NODE_ENV` environment
125131
variable will be set to `'production'` for all lifecycle scripts.
126132

133+
134+
127135
#### `strict-peer-deps`
128136

129137
* Default: false
@@ -143,15 +151,7 @@ When such an override is performed, a warning is printed, explaining the
143151
conflict and the packages involved. If `--strict-peer-deps` is set, then
144152
this warning is treated as a failure.
145153

146-
#### `package-lock`
147-
148-
* Default: true
149-
* Type: Boolean
150-
151-
If set to false, then ignore `package-lock.json` files when installing. This
152-
will also prevent _writing_ `package-lock.json` if `save` is true.
153154

154-
This configuration does not affect `npm ci`.
155155

156156
#### `foreground-scripts`
157157

@@ -165,6 +165,8 @@ input, output, and error with the main npm process.
165165
Note that this will generally make installs run slower, and be much noisier,
166166
but can be useful for debugging.
167167

168+
169+
168170
#### `ignore-scripts`
169171

170172
* Default: false
@@ -177,6 +179,8 @@ Note that commands explicitly intended to run a particular script, such as
177179
will still run their intended script if `ignore-scripts` is set, but they
178180
will *not* run any pre- or post-scripts.
179181

182+
183+
180184
#### `audit`
181185

182186
* Default: true
@@ -187,6 +191,8 @@ default registry and all registries configured for scopes. See the
187191
documentation for [`npm audit`](/commands/npm-audit) for details on what is
188192
submitted.
189193

194+
195+
190196
#### `bin-links`
191197

192198
* Default: true
@@ -199,6 +205,8 @@ Set to false to have it not do this. This can be used to work around the
199205
fact that some file systems don't support symlinks, even on ostensibly Unix
200206
systems.
201207

208+
209+
202210
#### `fund`
203211

204212
* Default: true
@@ -208,6 +216,8 @@ When "true" displays the message at the end of each `npm install`
208216
acknowledging the number of dependencies looking for funding. See [`npm
209217
fund`](/commands/npm-fund) for details.
210218

219+
220+
211221
#### `dry-run`
212222

213223
* Default: false
@@ -221,6 +231,8 @@ commands that modify your local installation, eg, `install`, `update`,
221231
Note: This is NOT honored by other network related commands, eg `dist-tags`,
222232
`owner`, etc.
223233

234+
235+
224236
#### `workspace`
225237

226238
* Default:
@@ -283,6 +295,8 @@ When set file: protocol dependencies will be packed and installed as regular
283295
dependencies instead of creating a symlink. This option has no effect on
284296
workspaces.
285297

298+
299+
286300
### See Also
287301

288302
* [npm install](/commands/npm-install)

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ Whether or not to output JSON data, rather than the normal output.
116116
117117
Not supported by all npm commands.
118118
119+
120+
119121
#### `global`
120122
121123
* Default: false
@@ -130,6 +132,8 @@ folder instead of the current working directory. See
130132
* bin files are linked to `{prefix}/bin`
131133
* man pages are linked to `{prefix}/share/man`
132134
135+
136+
133137
#### `editor`
134138
135139
* Default: The EDITOR or VISUAL environment variables, or
@@ -138,6 +142,8 @@ folder instead of the current working directory. See
138142
139143
The command to run for `npm edit` and `npm config edit`.
140144
145+
146+
141147
#### `location`
142148
143149
* Default: "user" unless `--global` is passed, which will also set this value
@@ -155,13 +161,17 @@ instead of the current working directory. See
155161
* bin files are linked to `{prefix}/bin`
156162
* man pages are linked to `{prefix}/share/man`
157163
164+
165+
158166
#### `long`
159167
160168
* Default: false
161169
* Type: Boolean
162170
163171
Show extended information in `ls`, `search`, and `help-search`.
164172
173+
174+
165175
### See Also
166176
167177
* [npm folders](/configuring-npm/folders)

0 commit comments

Comments
 (0)