← Back to Pull requests

Upgrade dev tooling to clear Dependabot findings #163

Closed
unknown closed this pull request without merging on Nov 06, 2026 19:27 UTC
View on GitHub
unknown unknown commented on Nov 06, 2026 19:23 UTC
Author

npm audit went from 14 vulnerabilities (3 critical tinypool RCE chain, 2 high brace-expansion, 9 moderate vite/vitest/esbuild/minimatch) to 0.

  • vite 5.4.21 → 8.3.5, vitest 1.6.1 → 4.1.12, @vitest/coverage-v8 → 4.1.12, @vitejs/plugin-react → 6.1.2, typescript-eslint → 8.72.1

  • vite.config.ts: Vite 8 is rolldown-based and dropped object-form manualChunks — migrated to codeSplitting.groups with node_modules-anchored regexes preserving the react/supabase/charts/ui/forms split

  • overrides: minimatch ^11.0.1 — typescript-estree pins ^10.2.2 which sits in the vulnerable range; override is dual ESM/CJS safe, removable once upstream bumps

  • Version picks respect the >7-day rule (vite 8.3.6 / vitest 5.x were days old)
  • Verified: tsc -b, eslint (0 errors, 18 pre-existing warnings), vite build (~5.4s, all vendor chunks emitted), vitest run 13 files / 138 tests.
    <!-- devin-review-badge-begin -->

    ---

    <a href="https://app.devin.ai/review/syxnyn3/flexzora_gig_management_platform/pull/163" target="_blank"><picture><source media="(prefers-color-scheme: dark)" srcset="https://static.devin.ai/assets/gh-devin-review-dark.svg?v=4"><img src="https://static.devin.ai/assets/gh-devin-review-light.svg?v=4" alt="Devin Review"></picture></a>
    <!-- devin-review-badge-end -->

    Diff: 158 lines (+118 / -40) across 1 files Reviewer: devin-ai-integration[bot] Review duration: 3m
    All Vouch review confidence checks passed
    Residual risk 0.16 = Change Risk (0.38) × (1 − Review Confidence (0.58)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.38 · 158 lines diff across 1 files
    0.38
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 88% · Reviewer familiarity: 35%
    57%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.303
    Shallow Review Depth shallow_review_depth
    0.289
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    1 comments
    "Review active on #163"
    general weight: 0.35
    Assignees
    Unassigned
    Labels
    risk: low confidence: 57.6% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 38.3% (MEDIUM) · Higher = larger blast radius
    38.3%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 57.6% · Lower = rushed or shallow review
    57.6%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 16.3% · Safe to merge
    16.3%