chore(deps): dependency upgrades — react-router 7, eslint 10, TS 6, plugin-react 6; drop unused zod (v0.16.5-beta)
Applies the open dependabot PRs in one validated pass: - react-router-dom 6.30 -> 7.18 (drop-in for our API surface; verified in-browser: login, sidebar routing, ?type= deep-links, legacy redirects) - react + react-dom -> 19.2.7, axios -> 1.18.0, lucide-react -> 1.21.0 - actions/checkout v6 -> v7 across all workflows - backend: eslint 10 + @eslint/js 10 (fix 5 new no-useless-assignment findings), typescript 6.0.3 (explicit types: ["node","jest"] in tsconfig — TS 6 no longer auto-includes @types), remove zod (unused) - frontend: @vitejs/plugin-react 6 Not taken: ioredis 5.11.1 (#55) — bullmq pins ioredis to exactly 5.10.1 (including latest bullmq 5.79), so the bump nests a second ioredis and breaks BullMQ connection types. Validation: backend tsc/lint/build + 92 tests green; frontend tsc/lint/ build + 11 tests green; docker stack rebuilt and browser-verified. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
dd1b6b7d13
commit
6f0fbdb74f
@@ -80,7 +80,7 @@ export async function createDeviceFromBody(
|
||||
credential_preset_id,
|
||||
} = input;
|
||||
|
||||
let preset: Awaited<ReturnType<typeof loadCredentialPreset>> = null;
|
||||
let preset: Awaited<ReturnType<typeof loadCredentialPreset>>;
|
||||
try {
|
||||
preset = await loadCredentialPreset(credential_preset_id ?? null, ctx);
|
||||
} catch (err) {
|
||||
@@ -107,7 +107,7 @@ export async function createDeviceFromBody(
|
||||
}
|
||||
|
||||
const testClient = new RouterOSClient(ip_address, api_port, api_username, api_password, 10_000);
|
||||
let detectedSerial: string | null = null;
|
||||
let detectedSerial: string | null;
|
||||
try {
|
||||
await testClient.connect();
|
||||
const rb = await testClient.execute('/system/routerboard/print').catch(() => [] as Record<string, string>[]);
|
||||
|
||||
Reference in New Issue
Block a user