chore(deps): consolidate 4 dependabot PRs (2026-07-27 batch) - #513
Conversation
Dependabot PR #511 (runtime-patches group).
…st-dom - next 16.2.10 -> 16.2.12, react/react-dom 19.2.7 -> 19.2.8 (Dependabot PR #512, runtime-patches group) - eslint-config-next 16.2.10 -> 16.2.12 (Dependabot PR #509, dev-tooling group) - @testing-library/jest-dom 6.9.1 -> 7.0.0 (Dependabot PR #510, major — @testing-library/dom is already pinned >=10.4.1 satisfying the new required peer dep; repo already imports via '@testing-library/jest-dom/vitest' and Node engine is already >=22.13.0, so no code changes were needed for the v7 breaking changes).
…atch-2026-07-27 # Conflicts: # web-ui/package-lock.json # web-ui/package.json
CI status: 5/7 green, 2 pre-existing audit failures (not caused by this PR)All build/lint/typecheck/test checks pass:
Both Root causes, neither fixable without out-of-scope major bumps or an upstream release that doesn't exist yet:
Since these two checks are in the required-status-check list, this PR will show the same red X |
…x required audit gate Pins nested/transitive packages via npm overrides (the direct dependency declaring them either has no fix yet or would need a major bump): - axios 1.18.1 (nested under botbuilder, was pinned to a stale <1.18.0 in the lockfile despite node_modules already resolving newer) - fast-uri 3.1.4, postcss 8.5.23 (same stale-lockfile-pin pattern) - brace-expansion 5.0.8 (the only version line clear of both DoS advisories) middleware audit: 16 vulnerabilities (4 high) -> 10 (0 high/critical). Remaining 10 moderate (botbuilder/uuid/@azure/msal-node, @modelcontextprotocol/sdk/@hono/node-server chains) need upstream major bumps and don't block the required 'audit (high+critical block)' check. Verified: build, typecheck, lint, full test suite (4701/4705, 4 skipped, 0 fail) all green after a clean node_modules + lockfile regeneration (overrides don't apply reliably on an incremental install over an existing lockfile — needed rm -rf node_modules package-lock.json).
…quired audit gate
- postcss 8.5.23, sharp 0.35.3 (next.js bundles its own older nested
copies of both; overriding them also cleared 'next' itself from the
audit report, since next was only flagged as an 'effects' cascade of
these two, not a direct CVE against next 16.2.12)
- brace-expansion 5.0.8 (only version line clear of both DoS advisories)
- minimatch 10.2.5, required alongside brace-expansion: minimatch@3.x
(hoisted top-level, used by @eslint/config-array) declares
brace-expansion ^1.1.7 and calls it as a callable default export;
brace-expansion 5.x dropped that shape, so eslint crashed
('TypeError: expand is not a function') until minimatch was bumped
to the major line (10.x) that expects brace-expansion ^5.x.
web-ui audit: 15 vulnerabilities (4 high) -> 2 (0 high/critical).
Remaining 2 moderate (dompurify via monaco-editor, monaco-editor itself)
need a monaco-editor major bump and don't block the required
'audit (high+critical block)' check.
Verified: build, typecheck, lint (36 pre-existing warnings, 0 errors,
no crash), full test suite (306/306) all green after a clean
node_modules + lockfile regeneration.
Update: audit gate is now green too — 7/7 checks passingRoot-caused and fixed both middleware: web-ui: Two gotchas along the way, worth knowing for future dependency work here:
Remaining moderate-severity findings ( Re-verified after each change: build, typecheck, lint, full test suites (middleware 4701/4705, web-ui 306/306) all green. |
Summary
Consolidates 4 Dependabot PRs opened 2026-07-26 (right after #508 merged) into a single clean, CI-verified batch — same pattern as yesterday's #508 consolidation.
eslint-config-next(web-ui, dev)@testing-library/jest-dom(web-ui, dev)jose(middleware)next,react,react-dom(web-ui)jest-dom 7.0.0 breaking-change check
@testing-library/domis now a required peer dependency — already pinned at^10.4.1here, satisfies it.>=22.13.0 <23.@testing-library/jest-dom/vitestinvitest.setup.ts— no code changes needed.Verification (Node 22.22.3)
middleware
npm run build— exit 0npm run typecheck— exit 0npm test— 4705 tests, 4701 pass, 4 skipped, 0 failweb-ui
npm run build— exit 0npm run typecheck— exit 0npm run lint— 0 errors, 36 warnings (pre-existing, unchanged before/after)npm test(vitest) — 306/306 passLockfile diffs verified scoped to only the intended packages and their own transitive deps (no unrelated drive-by bumps).
Closes #509, closes #510, closes #511, closes #512.
Test plan
npm run build(middleware + web-ui)npm run typecheck(middleware + web-ui)npm test(middleware: 4701/4705, web-ui: 306/306)npm run lint(web-ui, no new warnings)Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.