mirror of
https://github.com/pnpm/pnpm.git
synced 2026-04-02 06:22:52 -04:00
test: fix audit tests
This commit is contained in:
@@ -167,6 +167,17 @@ exports[`audit --audit-level 1`] = `
|
||||
│ More info │ https://npmjs.com/advisories/1781 │
|
||||
└─────────────────────┴──────────────────────────────────────────────────────────────────────────────────────────┘
|
||||
┌─────────────────────┬───────────────────────────────────┐
|
||||
│ high │ Code Injection │
|
||||
├─────────────────────┼───────────────────────────────────┤
|
||||
│ Package │ pac-resolver │
|
||||
├─────────────────────┼───────────────────────────────────┤
|
||||
│ Vulnerable versions │ <5.0.0 │
|
||||
├─────────────────────┼───────────────────────────────────┤
|
||||
│ Patched versions │ >=5.0.0 │
|
||||
├─────────────────────┼───────────────────────────────────┤
|
||||
│ More info │ https://npmjs.com/advisories/1784 │
|
||||
└─────────────────────┴───────────────────────────────────┘
|
||||
┌─────────────────────┬───────────────────────────────────┐
|
||||
│ moderate │ Tmp files readable by other users │
|
||||
├─────────────────────┼───────────────────────────────────┤
|
||||
│ Package │ sync-exec │
|
||||
@@ -243,8 +254,8 @@ exports[`audit --audit-level 1`] = `
|
||||
├─────────────────────┼───────────────────────────────────┤
|
||||
│ More info │ https://npmjs.com/advisories/1776 │
|
||||
└─────────────────────┴───────────────────────────────────┘
|
||||
29 vulnerabilities found
|
||||
Severity: 7 low | 7 moderate | 13 high | 2 critical"
|
||||
30 vulnerabilities found
|
||||
Severity: 7 low | 7 moderate | 14 high | 2 critical"
|
||||
`;
|
||||
|
||||
exports[`audit --dev 1`] = `
|
||||
@@ -452,6 +463,17 @@ exports[`audit 1`] = `
|
||||
│ More info │ https://npmjs.com/advisories/1781 │
|
||||
└─────────────────────┴──────────────────────────────────────────────────────────────────────────────────────────┘
|
||||
┌─────────────────────┬───────────────────────────────────┐
|
||||
│ high │ Code Injection │
|
||||
├─────────────────────┼───────────────────────────────────┤
|
||||
│ Package │ pac-resolver │
|
||||
├─────────────────────┼───────────────────────────────────┤
|
||||
│ Vulnerable versions │ <5.0.0 │
|
||||
├─────────────────────┼───────────────────────────────────┤
|
||||
│ Patched versions │ >=5.0.0 │
|
||||
├─────────────────────┼───────────────────────────────────┤
|
||||
│ More info │ https://npmjs.com/advisories/1784 │
|
||||
└─────────────────────┴───────────────────────────────────┘
|
||||
┌─────────────────────┬───────────────────────────────────┐
|
||||
│ moderate │ Tmp files readable by other users │
|
||||
├─────────────────────┼───────────────────────────────────┤
|
||||
│ Package │ sync-exec │
|
||||
@@ -594,6 +616,6 @@ exports[`audit 1`] = `
|
||||
├─────────────────────┼──────────────────────────────────────┤
|
||||
│ More info │ https://npmjs.com/advisories/1662 │
|
||||
└─────────────────────┴──────────────────────────────────────┘
|
||||
29 vulnerabilities found
|
||||
Severity: 7 low | 7 moderate | 13 high | 2 critical"
|
||||
30 vulnerabilities found
|
||||
Severity: 7 low | 7 moderate | 14 high | 2 critical"
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user