diff options
author | Kat Marchán <kzm@zkat.tech> | 2018-07-18 13:55:52 -0700 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2018-07-29 14:16:56 +0200 |
commit | 5842366ae83a36065d626e3937ad8fc327efab30 (patch) | |
tree | 663eb6d493b00788d83d7a71fc2489adabd24527 /deps/npm/man/man1/npm-audit.1 | |
parent | 2aca0957f46af0be33368a1fcb398e63a35c46ef (diff) | |
download | android-node-v8-5842366ae83a36065d626e3937ad8fc327efab30.tar.gz android-node-v8-5842366ae83a36065d626e3937ad8fc327efab30.tar.bz2 android-node-v8-5842366ae83a36065d626e3937ad8fc327efab30.zip |
deps: upgrade npm to 6.2.0
PR-URL: https://github.com/nodejs/node/pull/21592
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'deps/npm/man/man1/npm-audit.1')
-rw-r--r-- | deps/npm/man/man1/npm-audit.1 | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/deps/npm/man/man1/npm-audit.1 b/deps/npm/man/man1/npm-audit.1 index 8a4283d4cf..4b2f6f0636 100644 --- a/deps/npm/man/man1/npm-audit.1 +++ b/deps/npm/man/man1/npm-audit.1 @@ -1,11 +1,11 @@ -.TH "NPM\-AUDIT" "1" "May 2018" "" "" +.TH "NPM\-AUDIT" "1" "July 2018" "" "" .SH "NAME" \fBnpm-audit\fR \- Run a security audit .SH SYNOPSIS .P .RS 2 .nf -npm audit [\-\-json] +npm audit [\-\-json|\-\-parseable] npm audit fix [\-\-force|\-\-package\-lock\-only|\-\-dry\-run|\-\-production|\-\-only=dev] .fi .RE @@ -71,6 +71,24 @@ Get the detailed audit report in JSON format: $ npm audit \-\-json .fi .RE +.P +Get the detailed audit report in plain text result, separated by tab characters, allowing for +future reuse in scripting or command line post processing, like for example, selecting +some of the columns printed: +.P +.RS 2 +.nf +$ npm audit \-\-parseable +.fi +.RE +.P +To parse columns, you can use for example \fBawk\fP, and just print some of them: +.P +.RS 2 +.nf +$ npm audit \-\-parseable | awk \-F $'\\t' '{print $1,$4}' +.fi +.RE .SH DESCRIPTION .P The audit command submits a description of the dependencies configured in |