Skip to content

Commit 1915905

Browse files
committed
deps: upgrade npm to 10.2.0
1 parent 7a3e1ff commit 1915905

File tree

652 files changed

+36465
-4504
lines changed

Some content is hidden

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

652 files changed

+36465
-4504
lines changed

deps/npm/README.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@
99

1010
One of the following versions of [Node.js](https://nodejs.org/en/download/) must be installed to run **`npm`**:
1111

12-
* `14.x.x` >= `14.17.0`
13-
* `16.x.x` >= `16.13.0`
14-
* `18.0.0` or higher
12+
* `18.x.x` >= `18.17.0`
13+
* `20.5.0` or higher
1514

1615
### Installation
1716

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

+31
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ vulnerability is found. It may be useful in CI environments to include the
3232
will cause the command to fail. This option does not filter the report
3333
output, it simply changes the command's failure threshold.
3434

35+
### Package lock
36+
37+
By default npm requires a package-lock or shrinkwrap in order to run the
38+
audit. You can bypass the package lock with `--no-package-lock` but be
39+
aware the results may be different with every run, since npm will
40+
re-build the dependency tree each time.
41+
3542
### Audit Signatures
3643

3744
To ensure the integrity of packages you download from the public npm registry, or any registry that supports signatures, you can verify the registry signatures of downloaded packages using the npm CLI.
@@ -321,6 +328,16 @@ For `list` this means the output will be based on the tree described by the
321328

322329

323330

331+
#### `package-lock`
332+
333+
* Default: true
334+
* Type: Boolean
335+
336+
If set to false, then ignore `package-lock.json` files when installing. This
337+
will also prevent _writing_ `package-lock.json` if `save` is true.
338+
339+
340+
324341
#### `omit`
325342

326343
* Default: 'dev' if the `NODE_ENV` environment variable is set to
@@ -341,6 +358,20 @@ variable will be set to `'production'` for all lifecycle scripts.
341358

342359

343360

361+
#### `include`
362+
363+
* Default:
364+
* Type: "prod", "dev", "optional", or "peer" (can be set multiple times)
365+
366+
Option that allows for defining which types of dependencies to install.
367+
368+
This is the inverse of `--omit=<type>`.
369+
370+
Dependency types specified in `--include` will not be omitted, regardless of
371+
the order in which omit/include are specified on the command-line.
372+
373+
374+
344375
#### `foreground-scripts`
345376

346377
* Default: false

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

+14
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,20 @@ variable will be set to `'production'` for all lifecycle scripts.
132132

133133

134134

135+
#### `include`
136+
137+
* Default:
138+
* Type: "prod", "dev", "optional", or "peer" (can be set multiple times)
139+
140+
Option that allows for defining which types of dependencies to install.
141+
142+
This is the inverse of `--omit=<type>`.
143+
144+
Dependency types specified in `--include` will not be omitted, regardless of
145+
the order in which omit/include are specified on the command-line.
146+
147+
148+
135149
#### `strict-peer-deps`
136150

137151
* Default: false

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

+14
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,20 @@ variable will be set to `'production'` for all lifecycle scripts.
168168
169169
170170
171+
#### `include`
172+
173+
* Default:
174+
* Type: "prod", "dev", "optional", or "peer" (can be set multiple times)
175+
176+
Option that allows for defining which types of dependencies to install.
177+
178+
This is the inverse of `--omit=<type>`.
179+
180+
Dependency types specified in `--include` will not be omitted, regardless of
181+
the order in which omit/include are specified on the command-line.
182+
183+
184+
171185
#### `ignore-scripts`
172186
173187
* Default: false

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: npm-doctor
33
section: 1
4-
description: Check your npm environment
4+
description: Check the health of your npm environment
55
---
66

77
### Synopsis

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

+14
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,20 @@ variable will be set to `'production'` for all lifecycle scripts.
108108

109109

110110

111+
#### `include`
112+
113+
* Default:
114+
* Type: "prod", "dev", "optional", or "peer" (can be set multiple times)
115+
116+
Option that allows for defining which types of dependencies to install.
117+
118+
This is the inverse of `--omit=<type>`.
119+
120+
Dependency types specified in `--include` will not be omitted, regardless of
121+
the order in which omit/include are specified on the command-line.
122+
123+
124+
111125
#### `ignore-scripts`
112126

113127
* Default: false

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

+50
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,56 @@ dot to represent the current directory in that context, e.g: `react-app .`:
156156

157157
### Configuration
158158

159+
#### `init-author-name`
160+
161+
* Default: ""
162+
* Type: String
163+
164+
The value `npm init` should use by default for the package author's name.
165+
166+
167+
168+
#### `init-author-url`
169+
170+
* Default: ""
171+
* Type: "" or URL
172+
173+
The value `npm init` should use by default for the package author's
174+
homepage.
175+
176+
177+
178+
#### `init-license`
179+
180+
* Default: "ISC"
181+
* Type: String
182+
183+
The value `npm init` should use by default for the package license.
184+
185+
186+
187+
#### `init-module`
188+
189+
* Default: "~/.npm-init.js"
190+
* Type: Path
191+
192+
A module that will be loaded by the `npm init` command. See the
193+
documentation for the
194+
[init-package-json](https://github.com/npm/init-package-json) module for
195+
more information, or [npm init](/commands/npm-init).
196+
197+
198+
199+
#### `init-version`
200+
201+
* Default: "1.0.0"
202+
* Type: SemVer string
203+
204+
The value that `npm init` should use by default for the package version
205+
number, if not already set in package.json.
206+
207+
208+
159209
#### `yes`
160210

161211
* Default: null

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

+14
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,20 @@ variable will be set to `'production'` for all lifecycle scripts.
7878

7979

8080

81+
#### `include`
82+
83+
* Default:
84+
* Type: "prod", "dev", "optional", or "peer" (can be set multiple times)
85+
86+
Option that allows for defining which types of dependencies to install.
87+
88+
This is the inverse of `--omit=<type>`.
89+
90+
Dependency types specified in `--include` will not be omitted, regardless of
91+
the order in which omit/include are specified on the command-line.
92+
93+
94+
8195
#### `strict-peer-deps`
8296

8397
* Default: false

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

+34
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,20 @@ variable will be set to `'production'` for all lifecycle scripts.
119119

120120

121121

122+
#### `include`
123+
124+
* Default:
125+
* Type: "prod", "dev", "optional", or "peer" (can be set multiple times)
126+
127+
Option that allows for defining which types of dependencies to install.
128+
129+
This is the inverse of `--omit=<type>`.
130+
131+
Dependency types specified in `--include` will not be omitted, regardless of
132+
the order in which omit/include are specified on the command-line.
133+
134+
135+
122136
#### `strict-peer-deps`
123137

124138
* Default: false
@@ -256,6 +270,26 @@ Note: This is NOT honored by other network related commands, eg `dist-tags`,
256270

257271

258272

273+
#### `cpu`
274+
275+
* Default: null
276+
* Type: null or String
277+
278+
Override CPU architecture of native modules to install. Acceptable values
279+
are same as `cpu` field of package.json, which comes from `process.arch`.
280+
281+
282+
283+
#### `os`
284+
285+
* Default: null
286+
* Type: null or String
287+
288+
Override OS of native modules to install. Acceptable values are same as `os`
289+
field of package.json, which comes from `process.platform`.
290+
291+
292+
259293
#### `workspace`
260294

261295
* Default:

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

+34
Original file line numberDiff line numberDiff line change
@@ -509,6 +509,20 @@ variable will be set to `'production'` for all lifecycle scripts.
509509
510510
511511
512+
#### `include`
513+
514+
* Default:
515+
* Type: "prod", "dev", "optional", or "peer" (can be set multiple times)
516+
517+
Option that allows for defining which types of dependencies to install.
518+
519+
This is the inverse of `--omit=<type>`.
520+
521+
Dependency types specified in `--include` will not be omitted, regardless of
522+
the order in which omit/include are specified on the command-line.
523+
524+
525+
512526
#### `strict-peer-deps`
513527
514528
* Default: false
@@ -646,6 +660,26 @@ Note: This is NOT honored by other network related commands, eg `dist-tags`,
646660
647661
648662
663+
#### `cpu`
664+
665+
* Default: null
666+
* Type: null or String
667+
668+
Override CPU architecture of native modules to install. Acceptable values
669+
are same as `cpu` field of package.json, which comes from `process.arch`.
670+
671+
672+
673+
#### `os`
674+
675+
* Default: null
676+
* Type: null or String
677+
678+
Override OS of native modules to install. Acceptable values are same as `os`
679+
field of package.json, which comes from `process.platform`.
680+
681+
682+
649683
#### `workspace`
650684
651685
* Default:

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

+14
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,20 @@ variable will be set to `'production'` for all lifecycle scripts.
241241

242242

243243

244+
#### `include`
245+
246+
* Default:
247+
* Type: "prod", "dev", "optional", or "peer" (can be set multiple times)
248+
249+
Option that allows for defining which types of dependencies to install.
250+
251+
This is the inverse of `--omit=<type>`.
252+
253+
Dependency types specified in `--include` will not be omitted, regardless of
254+
the order in which omit/include are specified on the command-line.
255+
256+
257+
244258
#### `ignore-scripts`
245259

246260
* Default: false

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

+15-1
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.8.1 /path/to/npm
30+
npm@10.2.0 /path/to/npm
3131
3232
3333
```
@@ -165,6 +165,20 @@ variable will be set to `'production'` for all lifecycle scripts.
165165

166166

167167

168+
#### `include`
169+
170+
* Default:
171+
* Type: "prod", "dev", "optional", or "peer" (can be set multiple times)
172+
173+
Option that allows for defining which types of dependencies to install.
174+
175+
This is the inverse of `--omit=<type>`.
176+
177+
Dependency types specified in `--include` will not be omitted, regardless of
178+
the order in which omit/include are specified on the command-line.
179+
180+
181+
168182
#### `link`
169183

170184
* Default: false

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

-1
Original file line numberDiff line numberDiff line change
@@ -269,5 +269,4 @@ This value is not exported to the environment for child processes.
269269
* [npm install](/commands/npm-install)
270270
* [npm init](/commands/npm-init)
271271
* [npm config](/commands/npm-config)
272-
* [npm set-script](/commands/npm-set-script)
273272
* [workspaces](/using-npm/workspaces)

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

+14
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,20 @@ variable will be set to `'production'` for all lifecycle scripts.
5555

5656

5757

58+
#### `include`
59+
60+
* Default:
61+
* Type: "prod", "dev", "optional", or "peer" (can be set multiple times)
62+
63+
Option that allows for defining which types of dependencies to install.
64+
65+
This is the inverse of `--omit=<type>`.
66+
67+
Dependency types specified in `--include` will not be omitted, regardless of
68+
the order in which omit/include are specified on the command-line.
69+
70+
71+
5872
#### `dry-run`
5973

6074
* Default: false

0 commit comments

Comments
 (0)