chore: major dependency bumps (zod 4, @types/node 25, npm-run-all2 9, @vue/tsconfig 0.9)#257
Merged
Conversation
…, @vue/tsconfig 0.9) - zod 3 -> 4: migrate reviewer validators from .uuid() to .guid(). zod 4's .uuid() now enforces strict RFC-4122 version/variant bits; .guid() preserves zod 3's lenient 8-4-4-4-12 behaviour so existing (non-strict) user IDs keep validating. - @types/node 24 -> 25, npm-run-all2 8 -> 9, @vue/tsconfig 0.7 -> 0.9 (dev/type only). Verified: type-check + vite build pass; validation runtime contract (safeParseAsync -> groupBy(issues,'path') -> getError) reproduces zod 3 behaviour incl. custom messages and acceptance of real user UUIDs. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Mirror of the ManagementFront change (shared composable): - ZodTypeAny -> ZodType - z.ZodIssue -> z.core.$ZodIssue Type-check + build pass; no runtime behaviour change (type-level only). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Major-version bumps + idiomatic zod-4 migration (two commits).
zod@types/nodenpm-run-all2@vue/tsconfigCommit 1 — version bumps (zod 4 behavioural fix)
zod 4 made
.uuid()strict (validates RFC-4122 version + variant bits); zod 3 accepted any8-4-4-4-12hex. The tworeviewervalidators (Inquiry/Recovery Step 1) now use.guid(), preserving zod 3's lenient behaviour so existing user IDs keep validating.Commit 2 — migrate deprecated zod-4 APIs
Shared
useValidationcomposable (mirrors ManagementFront #50):ZodTypeAny→ZodTypez.ZodIssue→z.core.$ZodIssueVerification
pnpm type-check✅ ·pnpm build✅ · runtime contract test mirroringuseValidation(safeParseAsync→groupBy(issues,'path')→getError): invalid input surfaces the Dutch custom messages; a real dev-DB user UUID validates.Part of a fleet-wide major-dep alignment (Auth #7 / ClientApp / ManagementFront #50).
🤖 Generated with Claude Code