Skip to content

fix(web): upgrade npm packages with known advisories - #71

Merged
mattmattox merged 2 commits into
mainfrom
claude/dashboard-npm-audit
Nov 12, 2026
Merged

mattmattox merged 2 commits into
mainfrom
claude/dashboard-npm-audit

Conversation

@mattmattox

Copy link
Copy Markdown
Contributor

Follow-up to #64, as the PM asked: upgrade the npm packages with advisories, using only versions at least 48 hours old. Only the lockfile changes; package.json ranges are unchanged.

How: npm audit fix --package-lock-only --before=2026-11-10T00:00:00Z, through safe-chain. I also checked the publish date of each of the 72 new package versions against the registry. The newest is @rollup/rollup-win32-x64-gnu 4.68.2, published 2026-11-09 14:20 UTC.

Upgrades:

  • Shipped in the binary: react-router and react-router-dom go from 7.11.0 to 7.18.5 (released 2026-10-27).
  • Build tools:
    • vite: 7.3.0 → 7.3.8
    • rollup: 4.54.0 → 4.68.2
    • postcss: 8.5.6 → 8.5.32
    • zod: 4.3.2 → 4.6.7
    • source-map-js: 1.2.1 → 1.2.2
    • Also brace-expansion, minimatch, picomatch, js-yaml, flatted, nanoid and browserslist.

npm audit now: 0 critical, 0 high, 0 low, and 7 moderate, down from 19 advisories (14 high).

  • All 7 are one advisory: minimatch 7.0–11.0 (GHSA-g3hv-75wg-m249), pulled in by typescript-eslint, a lint tool that doesn't ship.
  • The only fix npm offers is a typescript-eslint version change that it marks as breaking, so it stays for now.

Node: stays at 22.23.4 for now. 22.23.5 (released 2026-11-11) turns 48 hours old after 2026-11-13, and goes in its own PR.

Checks:

  • Here, after npm ci of this lockfile: lint, tsc -b and the Vite build pass, and TestEmbeddedBuild passes against the build.
  • Router: with vite preview, deep links (/ui/snapshots) and in-app navigation under the /ui/ base still work.
  • CI: the Dashboard job runs npm ci on this lockfile.

🤖 Generated with Claude Code

mattmattox and others added 2 commits November 12, 2026 01:25
npm audit fix within the existing semver ranges, resolved with
--before=2026-11-10T00:00:00Z so every new version is at least 48 hours
old. react-router and react-router-dom, the only affected packages that
ship in the binary, go from 7.11.0 to 7.18.5. vite, rollup, postcss and
the other build tools get their fixes too. npm audit now reports no high
or critical advisories.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
npm audit fix ran through safe-chain, which recorded its proxy registry in
80 resolved URLs. CI can't authenticate to that proxy, so npm ci failed with
E401. The URLs now point at registry.npmjs.org; every tarball URL and
integrity hash matches the registry's metadata.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mattmattox
mattmattox merged commit ad55520 into main Nov 12, 2026
15 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant