Skip to content

Commit 43bfe5f

Browse files
npm-cli-bottargos
authored andcommittedOct 27, 2023
deps: upgrade npm to 10.2.0
PR-URL: #50027 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
1 parent a140bc2 commit 43bfe5f

File tree

303 files changed

+13184
-1093
lines changed

Some content is hidden

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

303 files changed

+13184
-1093
lines changed
 

‎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

0 commit comments

Comments
 (0)
Please sign in to comment.