@@ -6,19 +6,10 @@ description: Run a security audit
66
77### Synopsis
88
9- <!-- AUTOGENERATED USAGE DESCRIPTIONS START -->
10- <!-- automatically generated, do not edit manually -->
11- <!-- see lib/commands/audit.js -->
12-
139``` bash
1410npm audit [fix| signatures]
1511```
1612
17- <!-- automatically generated, do not edit manually -->
18- <!-- see lib/commands/audit.js -->
19-
20- <!-- AUTOGENERATED USAGE DESCRIPTIONS END -->
21-
2213### Description
2314
2415The audit command submits a description of the dependencies configured in
@@ -247,9 +238,6 @@ $ npm audit --audit-level=moderate
247238
248239### Configuration
249240
250- <!-- AUTOGENERATED CONFIG DESCRIPTIONS START -->
251- <!-- automatically generated, do not edit manually -->
252- <!-- see lib/utils/config/definitions.js -->
253241#### ` audit-level `
254242
255243* Default: null
@@ -258,9 +246,6 @@ $ npm audit --audit-level=moderate
258246The minimum level of vulnerability for ` npm audit ` to exit with a non-zero
259247exit code.
260248
261- <!-- automatically generated, do not edit manually -->
262- <!-- see lib/utils/config/definitions.js -->
263-
264249#### ` dry-run `
265250
266251* Default: false
@@ -274,9 +259,6 @@ commands that modify your local installation, eg, `install`, `update`,
274259Note: This is NOT honored by other network related commands, eg ` dist-tags ` ,
275260` owner ` , etc.
276261
277- <!-- automatically generated, do not edit manually -->
278- <!-- see lib/utils/config/definitions.js -->
279-
280262#### ` force `
281263
282264* Default: false
@@ -303,9 +285,6 @@ mistakes, unnecessary performance degradation, and malicious input.
303285If you don't have a clear idea of what you want to do, it is strongly
304286recommended that you do not use this option!
305287
306- <!-- automatically generated, do not edit manually -->
307- <!-- see lib/utils/config/definitions.js -->
308-
309288#### ` json `
310289
311290* Default: false
@@ -318,9 +297,6 @@ Whether or not to output JSON data, rather than the normal output.
318297
319298Not supported by all npm commands.
320299
321- <!-- automatically generated, do not edit manually -->
322- <!-- see lib/utils/config/definitions.js -->
323-
324300#### ` package-lock-only `
325301
326302* Default: false
@@ -335,9 +311,6 @@ instead of checking `node_modules` and downloading dependencies.
335311For ` list ` this means the output will be based on the tree described by the
336312` package-lock.json ` , rather than the contents of ` node_modules ` .
337313
338- <!-- automatically generated, do not edit manually -->
339- <!-- see lib/utils/config/definitions.js -->
340-
341314#### ` omit `
342315
343316* Default: 'dev' if the ` NODE_ENV ` environment variable is set to
@@ -356,9 +329,6 @@ it will be included.
356329If the resulting omit list includes ` 'dev' ` , then the ` NODE_ENV ` environment
357330variable will be set to ` 'production' ` for all lifecycle scripts.
358331
359- <!-- automatically generated, do not edit manually -->
360- <!-- see lib/utils/config/definitions.js -->
361-
362332#### ` foreground-scripts `
363333
364334* Default: false
@@ -371,9 +341,6 @@ input, output, and error with the main npm process.
371341Note that this will generally make installs run slower, and be much noisier,
372342but can be useful for debugging.
373343
374- <!-- automatically generated, do not edit manually -->
375- <!-- see lib/utils/config/definitions.js -->
376-
377344#### ` ignore-scripts `
378345
379346* Default: false
@@ -386,9 +353,6 @@ Note that commands explicitly intended to run a particular script, such as
386353will still run their intended script if ` ignore-scripts ` is set, but they
387354will * not* run any pre- or post-scripts.
388355
389- <!-- automatically generated, do not edit manually -->
390- <!-- see lib/utils/config/definitions.js -->
391-
392356#### ` workspace `
393357
394358* Default:
@@ -411,9 +375,6 @@ brand new workspace within the project.
411375
412376This value is not exported to the environment for child processes.
413377
414- <!-- automatically generated, do not edit manually -->
415- <!-- see lib/utils/config/definitions.js -->
416-
417378#### ` workspaces `
418379
419380* Default: null
@@ -432,9 +393,6 @@ _unless_ one or more workspaces are specified in the `workspace` config.
432393
433394This value is not exported to the environment for child processes.
434395
435- <!-- automatically generated, do not edit manually -->
436- <!-- see lib/utils/config/definitions.js -->
437-
438396#### ` include-workspace-root `
439397
440398* Default: false
@@ -448,9 +406,6 @@ the specified workspaces, and not on the root project.
448406
449407This value is not exported to the environment for child processes.
450408
451- <!-- automatically generated, do not edit manually -->
452- <!-- see lib/utils/config/definitions.js -->
453-
454409#### ` install-links `
455410
456411* Default: false
@@ -460,11 +415,6 @@ When set file: protocol dependencies that exist outside of the project root
460415will be packed and installed as regular dependencies instead of creating a
461416symlink. This option has no effect on workspaces.
462417
463- <!-- automatically generated, do not edit manually -->
464- <!-- see lib/utils/config/definitions.js -->
465-
466- <!-- AUTOGENERATED CONFIG DESCRIPTIONS END -->
467-
468418### See Also
469419
470420* [ npm install] ( /commands/npm-install )
0 commit comments