Open
Description
This is just a small idea, feel free to close.
While working with node/web crypto I've noticed that randomUUID
returns a template literal:
(alias) randomUUID(): `${string}-${string}-${string}-${string}-${string}`
import randomUUID
Available only in secure contexts.
Would it be possible to do the same for uuid
action? Is it sufficient to change the TOutput
of its BaseValidation
?
valibot/library/src/actions/uuid/uuid.ts
Line 41 in eac543c