fix(npm-audit): audit the package through a wrapper project

npm 11 prints via as an array and metadata.dependencies as an object, so
the parser failed on every report. It now reads both shapes of via and
lists each advisory once.

The lockfile step resolved devDependencies, which took 28 seconds for
dayjs and reported 142 findings in its development tree. The tarball is
now the only dependency of a wrapper project, audited with --omit=dev.
This also audits the package itself, which npm audit skips for a root.
This commit is contained in:
2026-11-23 18:07:00 +00:00
parent 65aa2e25dc
commit 157814cf08
7 changed files with 1776 additions and 107 deletions
File diff suppressed because it is too large Load Diff