test(audit): fix

This commit is contained in:
Zoltan Kochan
2022-01-13 13:41:51 +02:00
parent 551b253b71
commit a4e25abdbe

View File

@@ -232,6 +232,17 @@ exports[`audit --audit-level 1`] = `
├─────────────────────┼───────────────────────────────────────────────────┤
│ More info │ https://github.com/advisories/GHSA-42xw-2xvc-qx8m │
└─────────────────────┴───────────────────────────────────────────────────┘
┌─────────────────────┬───────────────────────────────────────────────────────┐
│ high │ Exposure of sensitive information in follow-redirects │
├─────────────────────┼───────────────────────────────────────────────────────┤
│ Package │ follow-redirects │
├─────────────────────┼───────────────────────────────────────────────────────┤
│ Vulnerable versions │ <1.14.7 │
├─────────────────────┼───────────────────────────────────────────────────────┤
│ Patched versions │ >=1.14.7 │
├─────────────────────┼───────────────────────────────────────────────────────┤
│ More info │ https://github.com/advisories/GHSA-74fj-2j2h-c42q │
└─────────────────────┴───────────────────────────────────────────────────────┘
┌─────────────────────┬───────────────────────────────────────────────────┐
│ moderate │ Prototype Pollution in node-jsonpointer │
├─────────────────────┼───────────────────────────────────────────────────┤
@@ -353,8 +364,8 @@ exports[`audit --audit-level 1`] = `
├─────────────────────┼────────────────────────────────────────────────────────┤
│ More info │ https://github.com/advisories/GHSA-29mw-wpgm-hmr9 │
└─────────────────────┴────────────────────────────────────────────────────────┘
37 vulnerabilities found
Severity: 4 low | 12 moderate | 17 high | 4 critical"
39 vulnerabilities found
Severity: 4 low | 12 moderate | 19 high | 4 critical"
`;
exports[`audit --dev 1`] = `
@@ -391,6 +402,17 @@ exports[`audit --dev 1`] = `
├─────────────────────┼───────────────────────────────────────────────────┤
│ More info │ https://github.com/advisories/GHSA-42xw-2xvc-qx8m │
└─────────────────────┴───────────────────────────────────────────────────┘
┌─────────────────────┬───────────────────────────────────────────────────────┐
│ high │ Exposure of sensitive information in follow-redirects │
├─────────────────────┼───────────────────────────────────────────────────────┤
│ Package │ follow-redirects │
├─────────────────────┼───────────────────────────────────────────────────────┤
│ Vulnerable versions │ <1.14.7 │
├─────────────────────┼───────────────────────────────────────────────────────┤
│ Patched versions │ >=1.14.7 │
├─────────────────────┼───────────────────────────────────────────────────────┤
│ More info │ https://github.com/advisories/GHSA-74fj-2j2h-c42q │
└─────────────────────┴───────────────────────────────────────────────────────┘
┌─────────────────────┬───────────────────────────────────────────────────┐
│ moderate │ Tmp files readable by other users in sync-exec │
├─────────────────────┼───────────────────────────────────────────────────┤
@@ -402,8 +424,8 @@ exports[`audit --dev 1`] = `
├─────────────────────┼───────────────────────────────────────────────────┤
│ More info │ https://github.com/advisories/GHSA-38h8-x697-gh8q │
└─────────────────────┴───────────────────────────────────────────────────┘
4 vulnerabilities found
Severity: 1 moderate | 3 high"
5 vulnerabilities found
Severity: 1 moderate | 4 high"
`;
exports[`audit 1`] = `
@@ -638,6 +660,17 @@ exports[`audit 1`] = `
├─────────────────────┼───────────────────────────────────────────────────┤
│ More info │ https://github.com/advisories/GHSA-42xw-2xvc-qx8m │
└─────────────────────┴───────────────────────────────────────────────────┘
┌─────────────────────┬───────────────────────────────────────────────────────┐
│ high │ Exposure of sensitive information in follow-redirects │
├─────────────────────┼───────────────────────────────────────────────────────┤
│ Package │ follow-redirects │
├─────────────────────┼───────────────────────────────────────────────────────┤
│ Vulnerable versions │ <1.14.7 │
├─────────────────────┼───────────────────────────────────────────────────────┤
│ Patched versions │ >=1.14.7 │
├─────────────────────┼───────────────────────────────────────────────────────┤
│ More info │ https://github.com/advisories/GHSA-74fj-2j2h-c42q │
└─────────────────────┴───────────────────────────────────────────────────────┘
┌─────────────────────┬───────────────────────────────────────────────────┐
│ moderate │ Prototype Pollution in node-jsonpointer │
├─────────────────────┼───────────────────────────────────────────────────┤
@@ -803,6 +836,6 @@ exports[`audit 1`] = `
├─────────────────────┼────────────────────────────────────────────────────────┤
│ More info │ https://github.com/advisories/GHSA-cwfw-4gq5-mrqx │
└─────────────────────┴────────────────────────────────────────────────────────┘
37 vulnerabilities found
Severity: 4 low | 12 moderate | 17 high | 4 critical"
39 vulnerabilities found
Severity: 4 low | 12 moderate | 19 high | 4 critical"
`;