chore: clear the dependency advisories blocking CI #17

Merged
chrnx merged 1 commits from chore/audit-advisories into develop 2026-08-07 19:27:23 +00:00
Owner

Both audit trees were red, for unrelated reasons and with different correct fixes. No source changes, so no bump.

Root — undici, high

miniflare@4.20260730.0 is the newest stable release and it pulls undici@7.28.0. The advisory range is 7.0.0 – 7.28.0, so the newest stable miniflare is inside it by exactly one patch.

npm audit fix --force proposes miniflare@5.20260801.1-alpha — a breaking major, and an alpha, to patch a devDependency that never ships (files is dist, assets, README, CHANGELOG, LICENSE). That trade is worse than the finding.

undici@7.29.0 sits outside the range, so it is pinned through overrides, the same approach already used here for find-my-way and hyperid.

website — js-yaml, high

Reached through Starlight, several paths deep. 4.3.1 carries the fix and the bump is not breaking, so a plain npm audit fix is enough.

Verified

  • npm audit → 0 vulnerabilities
  • npm audit --prefix website → 0 vulnerabilities
  • npm test → 357 passed, 56 files
  • npm run test:edge → PASS — this is the one that matters, since it exercises miniflare against the pinned undici
  • npm run docs:build → 23 pages

Worth deciding separately

The release gate runs a full npm audit, which includes devDependencies. That means a vulnerability in a test-only tool can block a publish even though it cannot reach a consumer — which is exactly what happened here, and it will happen again the next time a miniflare release lags an undici advisory.

npm audit --omit=dev on the release gate, with the full audit kept in CI, would put the block where the risk is. Not doing it in this PR; flagging it as a real recurring cost.

Both audit trees were red, for unrelated reasons and with different correct fixes. No source changes, so no bump. ## Root — `undici`, high `miniflare@4.20260730.0` is the newest **stable** release and it pulls `undici@7.28.0`. The advisory range is `7.0.0 – 7.28.0`, so the newest stable miniflare is inside it by exactly one patch. `npm audit fix --force` proposes `miniflare@5.20260801.1-alpha` — a breaking major, and an *alpha*, to patch a devDependency that never ships (`files` is `dist`, `assets`, README, CHANGELOG, LICENSE). That trade is worse than the finding. `undici@7.29.0` sits outside the range, so it is pinned through `overrides`, the same approach already used here for `find-my-way` and `hyperid`. ## website — `js-yaml`, high Reached through Starlight, several paths deep. `4.3.1` carries the fix and the bump is not breaking, so a plain `npm audit fix` is enough. ## Verified - `npm audit` → **0 vulnerabilities** - `npm audit --prefix website` → **0 vulnerabilities** - `npm test` → 357 passed, 56 files - `npm run test:edge` → PASS — this is the one that matters, since it exercises miniflare against the pinned undici - `npm run docs:build` → 23 pages ## Worth deciding separately The release gate runs a full `npm audit`, which includes devDependencies. That means a vulnerability in a test-only tool can block a publish even though it cannot reach a consumer — which is exactly what happened here, and it will happen again the next time a miniflare release lags an undici advisory. `npm audit --omit=dev` on the release gate, with the full audit kept in CI, would put the block where the risk is. Not doing it in this PR; flagging it as a real recurring cost.
chrnx added 1 commit 2026-08-07 19:23:00 +00:00
chore: clear the dependency advisories blocking CI
CI / build (pull_request) Successful in 33s
3a8d93320d
Both audit trees were failing, for unrelated reasons and with different fixes.

**Root — undici, high.** miniflare 4.20260730.0 (the newest stable) pulls
undici 7.28.0, and the advisory range is 7.0.0–7.28.0. `npm audit fix --force`
wants miniflare 5.20260801.1-alpha: a breaking major, and an alpha, to patch a
devDependency that never ships. undici 7.29.0 is outside the range, so pin it
through `overrides` instead — same approach already used for find-my-way and
hyperid.

**website — js-yaml, high.** Reached through Starlight. 4.3.1 carries the fix
and the bump is not breaking, so a plain `npm audit fix` covers it.

Verified: root and website audits both report 0 vulnerabilities; 357 tests
pass; `test:edge` still passes, which is the one that actually exercises
miniflare against the pinned undici; `docs:build` produces its 23 pages.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
chrnx merged commit 94ab334d85 into develop 2026-08-07 19:27:23 +00:00
Sign in to join this conversation.