Skip to content

Commit 3598fe1

Browse files
committed
This adds support for `npm audit --production`, by having Arborist respect the `omit` option when running audit reports.
1 parent 5fb2177 commit 3598fe1

6 files changed

Lines changed: 87 additions & 33 deletions

File tree

node_modules/@npmcli/arborist/lib/arborist/reify.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/@npmcli/arborist/lib/audit-report.js

Lines changed: 67 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/@npmcli/arborist/lib/vuln.js

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/@npmcli/arborist/package.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"./package.json": "./package.json"
4343
},
4444
"dependencies": {
45-
"@npmcli/arborist": "^0.0.15",
45+
"@npmcli/arborist": "^0.0.16",
4646
"@npmcli/ci-detect": "^1.2.0",
4747
"@npmcli/run-script": "^1.4.0",
4848
"abbrev": "~1.1.1",

0 commit comments

Comments
 (0)