Repository navigation
Bump frontend deps (minor versions) - #4411
Conversation
Update all direct frontend dependencies to their latest minor/patch versions, refresh transitive dependencies, and regenerate the frontend license report. axios 1.20 types the content-type response header as AxiosHeaderValue, so stringify it before building data URIs for avatars and consent images. Pin @swc/core (a Parcel dependency) to 1.15.x: 1.16's native cache validation fails on single-volume Windows machines whose C:\ grants Authenticated Users write rights (swc-project/swc#12563). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
📝 Walkthrough
Merge Risk: 🔵 Low · up to
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #4411 +/- ##
=======================================
Coverage 76.26% 76.26%
=======================================
Files 305 305
Lines 11452 11452
Branches 1409 1409
=======================================
Hits 8734 8734
Misses 2324 2324
Partials 394 394
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
jasonleenaylor
left a comment
There was a problem hiding this comment.
LGTM
This review was assisted by Claude Opus 5.5.
Summary
Minor/patch bump of all frontend
dependenciesanddevDependencies(no majors), plus a transitive refresh and a regenerateddocs/user_guide/assets/licenses/frontend_licenses.txt(version changes only, no license changes).Notable runtime bumps:
axios1.18 → 1.20,chart.js4.5 → 4.6,@reduxjs/toolkit2.12 → 2.13,@marsidev/react-turnstile1.5 → 1.6,@microsoft/signalr9.0.6 → 9.0.19,motion12.42 → 12.43,react-router7.18.1 → 7.18.4.axios 1.20 types the
content-typeresponse header asAxiosHeaderValue | undefined, which broketscinsrc/backend/index.ts:@swc/core(a Parcel dependency) is pinned to 1.15.x. Its 1.16 native-cache check rejectsC:\as an ancestor on single-volume Windows machines, sonpm run buildfails there withERR_SWC_NATIVE_CACHE(swc-project/swc#12563). Remove the override once that's fixed."devDependencies": { ... }, + "overrides": { + "@swc/core": "~1.15.46" + },Evidence
tscfails withTS2533/TS2339onresp.headers["content-type"].toLowerCase();npm run buildfails on Windows withERR_SWC_NATIVE_CACHEunder@swc/core1.16.20.After:
tsc,npm run lint, andnpm run buildpass. Frontend Jest: 657/660 locally; the 3 failures were 5 s timeouts inSignup.test.tsxunder full-suite load, and that suite passes 5/5 alone.Merge Danger
Door: two-way
Revert restores the previous lockfile.
Blast Radius: frontend-wide
Dependency bumps touch the API layer (axios), state (RTK/immer/reselect), charts, captcha, and SignalR.
@swc/coreis build-time only.🤖 Generated with Claude Code
This change is
Summary by CodeRabbit