Repository navigation
Commit 9ab434f
ci: add audit-ci allowlist for known false-positive advisories
Replace the bare 'npm audit --audit-level high' gate with audit-ci,
which supports an allowlist of advisories. npm audit itself has no
ignore mechanism, and the newly registered GHSA-hp3w-g68c-fv3c
(sprintf-js) and GHSA-vfj7-8cjw-p6xm (braces) advisories are false
positives that the maintainers will not fix upstream: sprintf-js
already raises an exception for unbounded precision specifiers, and
the braces advisory only applies to code that misuses the library.
- Add audit-ci.jsonc with the two allowlisted advisories, including
justifications and removal instructions.
- CI keeps the previous churn profile: fail on high or critical.
- Add 'npm run audit' as the local equivalent with a strict low gate,
so a fully clean report remains enforced locally.
- Refresh package-lock.json.1 parent afd7b7f commit 9ab434f
4 files changed
Lines changed: 366 additions & 381 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
| 95 | + | |
95 | 96 | | |
96 | 97 | | |
97 | 98 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
0 commit comments