diff --git a/node_modules/npm-audit-report/CHANGELOG.md b/node_modules/npm-audit-report/CHANGELOG.md
deleted file mode 100644
index 58819a43b4d11..0000000000000
--- a/node_modules/npm-audit-report/CHANGELOG.md
+++ /dev/null
@@ -1,81 +0,0 @@
-# Change Log
-
-All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
-
-
-## [1.3.3](https://github.com/npm/npm-audit-report/compare/v1.3.2...v1.3.3) (2020-03-26)
-
-
-
-
-## [1.3.2](https://github.com/npm/npm-audit-report/compare/v1.3.1...v1.3.2) (2018-12-18)
-
-
-### Bug Fixes
-
-* **parseable:** add support for critical vulns and more resolves on update/install action ([#28](https://github.com/npm/npm-audit-report/issues/28)) ([5e27893](https://github.com/npm/npm-audit-report/commit/5e27893))
-* **security:** audit fix ([ff9faf3](https://github.com/npm/npm-audit-report/commit/ff9faf3))
-* **urls:** Replace hardcoded URL to advisory with a URL from audit response ([#34](https://github.com/npm/npm-audit-report/issues/34)) ([e2fe95b](https://github.com/npm/npm-audit-report/commit/e2fe95b))
-
-
-
-
-## [1.3.1](https://github.com/npm/npm-audit-report/compare/v1.3.0...v1.3.1) (2018-07-10)
-
-
-
-
-# [1.3.0](https://github.com/npm/npm-audit-report/compare/v1.2.1...v1.3.0) (2018-07-09)
-
-
-### Bug Fixes
-
-* **deps:** remove object.values dependency ([2c5374a](https://github.com/npm/npm-audit-report/commit/2c5374a))
-* **detail:** Fix info-level severity ([#18](https://github.com/npm/npm-audit-report/issues/18)) ([807db5a](https://github.com/npm/npm-audit-report/commit/807db5a))
-* **tests:** a test should not cause side-effects in other tests ([#23](https://github.com/npm/npm-audit-report/issues/23)) ([a94449f](https://github.com/npm/npm-audit-report/commit/a94449f))
-
-
-### Features
-
-* **output:** add `parseable` tabular output format support ([#21](https://github.com/npm/npm-audit-report/issues/21)) ([1c9aaf4](https://github.com/npm/npm-audit-report/commit/1c9aaf4))
-
-
-
-
-## [1.2.1](https://github.com/npm/npm-audit-report/compare/v1.2.0...v1.2.1) (2018-05-17)
-
-
-### Bug Fixes
-
-* **detail:** count id+path instead of just id ([99880fd](https://github.com/npm/npm-audit-report/commit/99880fd))
-
-
-
-
-# [1.2.0](https://github.com/npm/npm-audit-report/compare/v1.1.0...v1.2.0) (2018-05-16)
-
-
-### Bug Fixes
-
-* **full-report:** Fix install flag for devDependencies ([#14](https://github.com/npm/npm-audit-report/issues/14)) ([30e5f30](https://github.com/npm/npm-audit-report/commit/30e5f30))
-
-
-### Features
-
-* **detail:** consistified full report with install report ([#15](https://github.com/npm/npm-audit-report/issues/15)) ([6df6810](https://github.com/npm/npm-audit-report/commit/6df6810))
-* **install:** include `npm audit` recommendation too ([32fb153](https://github.com/npm/npm-audit-report/commit/32fb153))
-
-
-
-
-# [1.1.0](https://github.com/npm/npm-audit-report/compare/v1.0.9...v1.1.0) (2018-05-10)
-
-
-### Bug Fixes
-
-* **install:** not enough data for this conditional ([6ddc30c](https://github.com/npm/npm-audit-report/commit/6ddc30c))
-
-
-### Features
-
-* **report:** compress and reformat human-readable install report ([74d5203](https://github.com/npm/npm-audit-report/commit/74d5203))
diff --git a/node_modules/npm-audit-report/lib/index.js b/node_modules/npm-audit-report/lib/index.js
index 464004c17518a..9ee86be7915d8 100644
--- a/node_modules/npm-audit-report/lib/index.js
+++ b/node_modules/npm-audit-report/lib/index.js
@@ -15,9 +15,11 @@ module.exports = Object.assign((data, options = {}) => {
color = true,
unicode = true,
indent = 2,
- auditLevel = 'low'
} = options
+ // CLI defaults this to `null` so the defaulting method above doesn't work
+ const auditLevel = options.auditLevel || 'low'
+
if (!data)
throw Object.assign(
new TypeError('ENOAUDITDATA'),
diff --git a/node_modules/npm-audit-report/package.json b/node_modules/npm-audit-report/package.json
index 66b4a6aa74b2c..c819b9608412a 100644
--- a/node_modules/npm-audit-report/package.json
+++ b/node_modules/npm-audit-report/package.json
@@ -1,6 +1,6 @@
{
"name": "npm-audit-report",
- "version": "2.1.4",
+ "version": "2.1.5",
"description": "Given a response from the npm security api, render it into a variety of security reports",
"main": "lib/index.js",
"scripts": {
@@ -26,8 +26,8 @@
"chalk": "^4.0.0"
},
"devDependencies": {
- "tap": "^14.10.7",
- "require-inject": "^1.4.4"
+ "require-inject": "^1.4.4",
+ "tap": "^14.10.7"
},
"directories": {
"lib": "lib",
diff --git a/package-lock.json b/package-lock.json
index 5c511c49f581a..3d172f460621d 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -120,7 +120,7 @@
"ms": "^2.1.2",
"node-gyp": "^7.1.2",
"nopt": "^5.0.0",
- "npm-audit-report": "^2.1.4",
+ "npm-audit-report": "^2.1.5",
"npm-package-arg": "^8.1.2",
"npm-pick-manifest": "^6.1.1",
"npm-profile": "^5.0.3",
@@ -5372,9 +5372,9 @@
}
},
"node_modules/npm-audit-report": {
- "version": "2.1.4",
- "resolved": "https://registry.npmjs.org/npm-audit-report/-/npm-audit-report-2.1.4.tgz",
- "integrity": "sha512-Tz7rnfskSdZ0msTzt2mENC/B+H2QI8u0jN0ck7o3zDsQYIQrek/l3MjEc+CARer+64LsVTU6ZIqNuh0X55QPhw==",
+ "version": "2.1.5",
+ "resolved": "https://registry.npmjs.org/npm-audit-report/-/npm-audit-report-2.1.5.tgz",
+ "integrity": "sha512-YB8qOoEmBhUH1UJgh1xFAv7Jg1d+xoNhsDYiFQlEFThEBui0W1vIz2ZK6FVg4WZjwEdl7uBQlm1jy3MUfyHeEw==",
"inBundle": true,
"dependencies": {
"chalk": "^4.0.0"
@@ -14251,9 +14251,9 @@
"dev": true
},
"npm-audit-report": {
- "version": "2.1.4",
- "resolved": "https://registry.npmjs.org/npm-audit-report/-/npm-audit-report-2.1.4.tgz",
- "integrity": "sha512-Tz7rnfskSdZ0msTzt2mENC/B+H2QI8u0jN0ck7o3zDsQYIQrek/l3MjEc+CARer+64LsVTU6ZIqNuh0X55QPhw==",
+ "version": "2.1.5",
+ "resolved": "https://registry.npmjs.org/npm-audit-report/-/npm-audit-report-2.1.5.tgz",
+ "integrity": "sha512-YB8qOoEmBhUH1UJgh1xFAv7Jg1d+xoNhsDYiFQlEFThEBui0W1vIz2ZK6FVg4WZjwEdl7uBQlm1jy3MUfyHeEw==",
"requires": {
"chalk": "^4.0.0"
}
diff --git a/package.json b/package.json
index d7f46589a4d2b..00209b624538c 100644
--- a/package.json
+++ b/package.json
@@ -84,7 +84,7 @@
"ms": "^2.1.2",
"node-gyp": "^7.1.2",
"nopt": "^5.0.0",
- "npm-audit-report": "^2.1.4",
+ "npm-audit-report": "^2.1.5",
"npm-package-arg": "^8.1.2",
"npm-pick-manifest": "^6.1.1",
"npm-profile": "^5.0.3",