Skip to content

Commit 7e73e5e

Browse files
npm-robotdanielleadams
authored andcommitted
deps: upgrade npm to 8.5.5
PR-URL: #42382 Reviewed-By: Ruy Adorno <[email protected]> Reviewed-By: Mestery <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Rich Trott <[email protected]>
1 parent 682248c commit 7e73e5e

File tree

191 files changed

+4340
-4013
lines changed

Some content is hidden

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

191 files changed

+4340
-4013
lines changed

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

+31
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ mistakes, unnecessary performance degradation, and malicious input.
246246
* Allow conflicting peerDependencies to be installed in the root project.
247247
* Implicitly set `--yes` during `npm init`.
248248
* Allow clobbering existing values in `npm pkg`
249+
* Allow unpublishing of entire packages (not just a single version).
249250

250251
If you don't have a clear idea of what you want to do, it is strongly
251252
recommended that you do not use this option!
@@ -306,6 +307,36 @@ variable will be set to `'production'` for all lifecycle scripts.
306307
<!-- automatically generated, do not edit manually -->
307308
<!-- see lib/utils/config/definitions.js -->
308309

310+
#### `foreground-scripts`
311+
312+
* Default: false
313+
* Type: Boolean
314+
315+
Run all build scripts (ie, `preinstall`, `install`, and `postinstall`)
316+
scripts for installed packages in the foreground process, sharing standard
317+
input, output, and error with the main npm process.
318+
319+
Note that this will generally make installs run slower, and be much noisier,
320+
but can be useful for debugging.
321+
322+
<!-- automatically generated, do not edit manually -->
323+
<!-- see lib/utils/config/definitions.js -->
324+
325+
#### `ignore-scripts`
326+
327+
* Default: false
328+
* Type: Boolean
329+
330+
If true, npm does not run scripts specified in package.json files.
331+
332+
Note that commands explicitly intended to run a particular script, such as
333+
`npm start`, `npm stop`, `npm restart`, `npm test`, and `npm run-script`
334+
will still run their intended script if `ignore-scripts` is set, but they
335+
will *not* run any pre- or post-scripts.
336+
337+
<!-- automatically generated, do not edit manually -->
338+
<!-- see lib/utils/config/definitions.js -->
339+
309340
#### `workspace`
310341

311342
* Default:

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

+15
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,21 @@ submitted.
9494
<!-- automatically generated, do not edit manually -->
9595
<!-- see lib/utils/config/definitions.js -->
9696

97+
#### `foreground-scripts`
98+
99+
* Default: false
100+
* Type: Boolean
101+
102+
Run all build scripts (ie, `preinstall`, `install`, and `postinstall`)
103+
scripts for installed packages in the foreground process, sharing standard
104+
input, output, and error with the main npm process.
105+
106+
Note that this will generally make installs run slower, and be much noisier,
107+
but can be useful for debugging.
108+
109+
<!-- automatically generated, do not edit manually -->
110+
<!-- see lib/utils/config/definitions.js -->
111+
97112
#### `ignore-scripts`
98113

99114
* Default: false

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

+1
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ mistakes, unnecessary performance degradation, and malicious input.
199199
* Allow conflicting peerDependencies to be installed in the root project.
200200
* Implicitly set `--yes` during `npm init`.
201201
* Allow clobbering existing values in `npm pkg`
202+
* Allow unpublishing of entire packages (not just a single version).
202203

203204
If you don't have a clear idea of what you want to do, it is strongly
204205
recommended that you do not use this option!

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

+15
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,21 @@ submitted.
4343
<!-- automatically generated, do not edit manually -->
4444
<!-- see lib/utils/config/definitions.js -->
4545

46+
#### `foreground-scripts`
47+
48+
* Default: false
49+
* Type: Boolean
50+
51+
Run all build scripts (ie, `preinstall`, `install`, and `postinstall`)
52+
scripts for installed packages in the foreground process, sharing standard
53+
input, output, and error with the main npm process.
54+
55+
Note that this will generally make installs run slower, and be much noisier,
56+
but can be useful for debugging.
57+
58+
<!-- automatically generated, do not edit manually -->
59+
<!-- see lib/utils/config/definitions.js -->
60+
4661
#### `ignore-scripts`
4762

4863
* Default: false

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

+29-14
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,27 @@ will be preferred.
112112
<!-- automatically generated, do not edit manually -->
113113
<!-- see lib/utils/config/definitions.js -->
114114

115+
#### `omit`
116+
117+
* Default: 'dev' if the `NODE_ENV` environment variable is set to
118+
'production', otherwise empty.
119+
* Type: "dev", "optional", or "peer" (can be set multiple times)
120+
121+
Dependency types to omit from the installation tree on disk.
122+
123+
Note that these dependencies _are_ still resolved and added to the
124+
`package-lock.json` or `npm-shrinkwrap.json` file. They are just not
125+
physically installed on disk.
126+
127+
If a package type appears in both the `--include` and `--omit` lists, then
128+
it will be included.
129+
130+
If the resulting omit list includes `'dev'`, then the `NODE_ENV` environment
131+
variable will be set to `'production'` for all lifecycle scripts.
132+
133+
<!-- automatically generated, do not edit manually -->
134+
<!-- see lib/utils/config/definitions.js -->
135+
115136
#### `strict-peer-deps`
116137

117138
* Default: false
@@ -151,23 +172,17 @@ This configuration does not affect `npm ci`.
151172
<!-- automatically generated, do not edit manually -->
152173
<!-- see lib/utils/config/definitions.js -->
153174

154-
#### `omit`
155-
156-
* Default: 'dev' if the `NODE_ENV` environment variable is set to
157-
'production', otherwise empty.
158-
* Type: "dev", "optional", or "peer" (can be set multiple times)
159-
160-
Dependency types to omit from the installation tree on disk.
175+
#### `foreground-scripts`
161176

162-
Note that these dependencies _are_ still resolved and added to the
163-
`package-lock.json` or `npm-shrinkwrap.json` file. They are just not
164-
physically installed on disk.
177+
* Default: false
178+
* Type: Boolean
165179

166-
If a package type appears in both the `--include` and `--omit` lists, then
167-
it will be included.
180+
Run all build scripts (ie, `preinstall`, `install`, and `postinstall`)
181+
scripts for installed packages in the foreground process, sharing standard
182+
input, output, and error with the main npm process.
168183

169-
If the resulting omit list includes `'dev'`, then the `NODE_ENV` environment
170-
variable will be set to `'production'` for all lifecycle scripts.
184+
Note that this will generally make installs run slower, and be much noisier,
185+
but can be useful for debugging.
171186

172187
<!-- automatically generated, do not edit manually -->
173188
<!-- see lib/utils/config/definitions.js -->

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

+30-15
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ npm install <tarball url>
2222
npm install <git:// url>
2323
npm install <github username>/<github project>
2424

25-
aliases: i, in, ins, inst, insta, instal, isnt, isnta, isntal, add
25+
aliases: i, in, ins, inst, insta, instal, isnt, isnta, isntal, isntall, add
2626
```
2727

2828
<!-- automatically generated, do not edit manually -->
@@ -502,6 +502,27 @@ will be preferred.
502502
<!-- automatically generated, do not edit manually -->
503503
<!-- see lib/utils/config/definitions.js -->
504504
505+
#### `omit`
506+
507+
* Default: 'dev' if the `NODE_ENV` environment variable is set to
508+
'production', otherwise empty.
509+
* Type: "dev", "optional", or "peer" (can be set multiple times)
510+
511+
Dependency types to omit from the installation tree on disk.
512+
513+
Note that these dependencies _are_ still resolved and added to the
514+
`package-lock.json` or `npm-shrinkwrap.json` file. They are just not
515+
physically installed on disk.
516+
517+
If a package type appears in both the `--include` and `--omit` lists, then
518+
it will be included.
519+
520+
If the resulting omit list includes `'dev'`, then the `NODE_ENV` environment
521+
variable will be set to `'production'` for all lifecycle scripts.
522+
523+
<!-- automatically generated, do not edit manually -->
524+
<!-- see lib/utils/config/definitions.js -->
525+
505526
#### `strict-peer-deps`
506527
507528
* Default: false
@@ -541,23 +562,17 @@ This configuration does not affect `npm ci`.
541562
<!-- automatically generated, do not edit manually -->
542563
<!-- see lib/utils/config/definitions.js -->
543564
544-
#### `omit`
545-
546-
* Default: 'dev' if the `NODE_ENV` environment variable is set to
547-
'production', otherwise empty.
548-
* Type: "dev", "optional", or "peer" (can be set multiple times)
549-
550-
Dependency types to omit from the installation tree on disk.
565+
#### `foreground-scripts`
551566
552-
Note that these dependencies _are_ still resolved and added to the
553-
`package-lock.json` or `npm-shrinkwrap.json` file. They are just not
554-
physically installed on disk.
567+
* Default: false
568+
* Type: Boolean
555569
556-
If a package type appears in both the `--include` and `--omit` lists, then
557-
it will be included.
570+
Run all build scripts (ie, `preinstall`, `install`, and `postinstall`)
571+
scripts for installed packages in the foreground process, sharing standard
572+
input, output, and error with the main npm process.
558573
559-
If the resulting omit list includes `'dev'`, then the `NODE_ENV` environment
560-
variable will be set to `'production'` for all lifecycle scripts.
574+
Note that this will generally make installs run slower, and be much noisier,
575+
but can be useful for debugging.
561576
562577
<!-- automatically generated, do not edit manually -->
563578
<!-- see lib/utils/config/definitions.js -->

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

+3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ description: Manages your package.json
1414
npm pkg set <key>=<value> [<key>=<value> ...]
1515
npm pkg get [<key> [<key> ...]]
1616
npm pkg delete <key> [<key> ...]
17+
npm pkg set [<array>[<index>].<key>=<value> ...]
18+
npm pkg set [<array>[].<key>=<value> ...]
1719
```
1820
1921
<!-- automatically generated, do not edit manually -->
@@ -197,6 +199,7 @@ mistakes, unnecessary performance degradation, and malicious input.
197199
* Allow conflicting peerDependencies to be installed in the root project.
198200
* Implicitly set `--yes` during `npm init`.
199201
* Allow clobbering existing values in `npm pkg`
202+
* Allow unpublishing of entire packages (not just a single version).
200203
201204
If you don't have a clear idea of what you want to do, it is strongly
202205
recommended that you do not use this option!

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

+30
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,36 @@ Not supported by all npm commands.
9999
<!-- automatically generated, do not edit manually -->
100100
<!-- see lib/utils/config/definitions.js -->
101101

102+
#### `foreground-scripts`
103+
104+
* Default: false
105+
* Type: Boolean
106+
107+
Run all build scripts (ie, `preinstall`, `install`, and `postinstall`)
108+
scripts for installed packages in the foreground process, sharing standard
109+
input, output, and error with the main npm process.
110+
111+
Note that this will generally make installs run slower, and be much noisier,
112+
but can be useful for debugging.
113+
114+
<!-- automatically generated, do not edit manually -->
115+
<!-- see lib/utils/config/definitions.js -->
116+
117+
#### `ignore-scripts`
118+
119+
* Default: false
120+
* Type: Boolean
121+
122+
If true, npm does not run scripts specified in package.json files.
123+
124+
Note that commands explicitly intended to run a particular script, such as
125+
`npm start`, `npm stop`, `npm restart`, `npm test`, and `npm run-script`
126+
will still run their intended script if `ignore-scripts` is set, but they
127+
will *not* run any pre- or post-scripts.
128+
129+
<!-- automatically generated, do not edit manually -->
130+
<!-- see lib/utils/config/definitions.js -->
131+
102132
#### `workspace`
103133

104134
* Default:

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

+15
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,21 @@ systems.
7070
<!-- automatically generated, do not edit manually -->
7171
<!-- see lib/utils/config/definitions.js -->
7272

73+
#### `foreground-scripts`
74+
75+
* Default: false
76+
* Type: Boolean
77+
78+
Run all build scripts (ie, `preinstall`, `install`, and `postinstall`)
79+
scripts for installed packages in the foreground process, sharing standard
80+
input, output, and error with the main npm process.
81+
82+
Note that this will generally make installs run slower, and be much noisier,
83+
but can be useful for debugging.
84+
85+
<!-- automatically generated, do not edit manually -->
86+
<!-- see lib/utils/config/definitions.js -->
87+
7388
#### `ignore-scripts`
7489

7590
* Default: false

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

+12-10
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,22 @@ description: Remove a package from the registry
66

77
### Synopsis
88

9-
To learn more about how the npm registry treats unpublish, see our <a
10-
href="https://docs.npmjs.com/policies/unpublish" target="_blank"
11-
rel="noopener noreferrer"> unpublish policies</a>
12-
13-
#### Unpublishing a single version of a package
9+
<!-- AUTOGENERATED USAGE DESCRIPTIONS START -->
10+
<!-- automatically generated, do not edit manually -->
11+
<!-- see lib/commands/unpublish.js -->
1412

1513
```bash
16-
npm unpublish [<@scope>/]<pkg>@<version>
14+
npm unpublish [<@scope>/]<pkg>[@<version>]
1715
```
1816

19-
#### Unpublishing an entire package
17+
<!-- automatically generated, do not edit manually -->
18+
<!-- see lib/commands/unpublish.js -->
19+
20+
<!-- AUTOGENERATED USAGE DESCRIPTIONS END -->
2021

21-
```bash
22-
npm unpublish [<@scope>/]<pkg> --force
23-
```
22+
To learn more about how the npm registry treats unpublish, see our <a
23+
href="https://docs.npmjs.com/policies/unpublish" target="_blank"
24+
rel="noopener noreferrer"> unpublish policies</a>
2425

2526
### Warning
2627

@@ -87,6 +88,7 @@ mistakes, unnecessary performance degradation, and malicious input.
8788
* Allow conflicting peerDependencies to be installed in the root project.
8889
* Implicitly set `--yes` during `npm init`.
8990
* Allow clobbering existing values in `npm pkg`
91+
* Allow unpublishing of entire packages (not just a single version).
9092

9193
If you don't have a clear idea of what you want to do, it is strongly
9294
recommended that you do not use this option!

0 commit comments

Comments
 (0)