Use domain counters in summary

This commit is contained in:
2026-04-21 20:33:16 +00:00
parent fa496fc81e
commit 903d7100c3
4 changed files with 10 additions and 7 deletions

View File

@@ -260,8 +260,9 @@ function renderSummary(summary, loading) {
<article><span>${localize("KSA.Summary.Files")}</span><strong>${summary.files}</strong></article>
<article><span>${localize("KSA.Summary.References")}</span><strong>${summary.references}</strong></article>
<article><span>${localize("KSA.Summary.Findings")}</span><strong>${summary.findings}</strong></article>
<article><span>${localize("KSA.Summary.High")}</span><strong>${summary.bySeverity.high}</strong></article>
<article><span>${localize("KSA.Summary.Warning")}</span><strong>${summary.bySeverity.warning}</strong></article>
<article><span>${localize("KSA.Summary.Missing")}</span><strong>${summary.byKind["broken-reference"] ?? 0}</strong></article>
<article><span>${localize("KSA.Summary.Deprecated")}</span><strong>${summary.byKind["non-package-to-package-reference"] ?? 0}</strong></article>
<article><span>${localize("KSA.Summary.Orphaned")}</span><strong>${summary.byKind["orphan-file"] ?? 0}</strong></article>
</div>
<div class="storage-audit__kinds">
<h3>${localize("KSA.Summary.ByType")}</h3>