open-circle/valibot cdf79d92..1ee66302
base and head as given
- Domain-name validation joined the library's validation actions.
- JSON Schema export now recognizes domain-name validation.
- API documentation now covers the domain action and its issue type.
- files changed
- 36
- in a component
- 9
- lines in components
- 380
- components
- 5
- public routes changed
- 0
- schema statements
- 0
- new dependencies
- 0
- excluded by role
- 27
Domain-name validation
Added- Before
- did not exist
- After
- Domain validation is available
Schemas can now validate ASCII domain names with custom error messages. JSON Schema export represents the validation as a pattern, and API documentation describes its action and issue types.
In favour
- In favour: JSON Schema export reuses existing pattern handling
Against
- Against: Unicode-form internationalized domains remain unsupported
Inspect 9 source files behind this explanation
- library/src/actions/index.ts
- library/src/regex.ts
- library/src/actions/domain/domain.ts
- packages/to-json-schema/src/converters/convertAction/convertAction.ts
- website/src/routes/api/(types)/DomainAction/properties.ts
- library/src/actions/domain/domain.test-d.ts
- website/src/routes/api/(actions)/domain/properties.ts
- library/src/actions/domain/index.ts
- website/src/routes/api/(types)/DomainIssue/properties.ts
2 new dependencies between components — Actions → Domain Actions · Domain Actions → Library Source
What else could behave differently
32 components · 62 filesThese components import changed code, directly or through other files. A traced dependency is a place to review, not a confirmed runtime failure.
Reached 3
| Component | Symbol | Cited at | Files | Reached by |
|---|---|---|---|---|
| Domain Actionslibrary/src/actions/domain/ | Added DomainIssue1 of 4 changed symbols reaching it | library/src/actions/domain/domain.ts:14-35 | 3 | 2 direct · 1 at two stepsTrace pathShortest component path from the changed symbol:
Later steps follow file imports; they do not prove this symbol is called. |
| Schema Converterspackages/to-json-schema/src/converters/ | Body changed convertAction | packages/to-json-schema/src/converters/convertAction/convertAction.ts:116-413 | 3 | 1 direct · 1 at two steps · 1 at three stepsTrace pathShortest component path from the changed symbol:
Later steps follow file imports; they do not prove this symbol is called. |
| packages/to-json-schema/src/functions/ | Body changed convertAction | packages/to-json-schema/src/converters/convertAction/convertAction.ts:116-413 | 7 | none direct · 2 at two steps · 3 at three steps · 2 at four stepsTrace pathShortest component path from the changed symbol:
Later steps follow file imports; they do not prove this symbol is called. |
Held back 29
| Component | Files | Reached by | Resolution |
|---|---|---|---|
| library/src/types/ | 1 | none direct · 1 at four steps | precise |
| library/src/actions/ | 1 | none direct · 1 at three steps | precise |
| library/src/ | 1 | none direct · 1 at four steps | precise |
| library/src/utils/_getStandardProps/ | 1 | none direct · 1 at four steps | precise |
| library/src/schemas/object/ | 2 | none direct · 2 at four steps | precise |
| library/src/methods/pipe/ | 2 | none direct · 2 at four steps | precise |
| library/src/schemas/optional/ | 2 | none direct · 2 at four steps | precise |
| library/src/schemas/nullish/ | 2 | none direct · 2 at four steps | precise |
| library/src/schemas/looseObject/ | 2 | none direct · 2 at four steps | precise |
| library/src/schemas/objectWithRest/ | 2 | none direct · 2 at four steps | precise |
| library/src/schemas/strictObject/ | 2 | none direct · 2 at four steps | precise |
| library/src/schemas/exactOptional/ | 2 | none direct · 2 at four steps | precise |
| library/src/schemas/undefinedable/ | 2 | none direct · 2 at four steps | precise |
| library/src/methods/getFallback/ | 1 | none direct · 1 at four steps | precise |
| library/src/utils/ValiError/ | 1 | none direct · 1 at four steps | precise |
| library/src/methods/fallback/ | 2 | none direct · 2 at four steps | precise |
| library/src/schemas/nullable/ | 2 | none direct · 2 at four steps | precise |
| library/src/utils/_getLastMetadata/ | 1 | none direct · 1 at four steps | precise |
| library/src/schemas/record/ | 3 | none direct · 3 at four steps | precise |
| library/src/methods/parse/ | 2 | none direct · 2 at four steps | precise |
| library/src/methods/safeParse/ | 2 | none direct · 2 at four steps | precise |
| library/src/methods/forward/ | 2 | none direct · 2 at four steps | precise |
| library/src/methods/getExamples/ | 2 | none direct · 2 at four steps | precise |
| library/src/methods/getMetadata/ | 2 | none direct · 2 at four steps | precise |
| library/src/methods/parser/ | 2 | none direct · 2 at four steps | precise |
| library/src/methods/safeParser/ | 2 | none direct · 2 at four steps | precise |
| library/src/methods/assert/ | 1 | none direct · 1 at four steps | precise |
| library/src/methods/getDescription/ | 1 | none direct · 1 at four steps | precise |
| library/src/methods/is/ | 1 | none direct · 1 at four steps | precise |
Statements 3
DomainIssue reached 3 files in domain actions. 21convertAction body change reached 3 files in schema converters. 111convertAction body change reached 7 files in schema functions. 23247 reached files belong to no component — tests, docs and config.
Routes, schema, dependencies
No public URL, no migration and no new package.
Inspect components, files and symbols
Component
File
Function
imports what changeddownstream of it, one mark per step
Diff
Analysis scope
3225 → 5- files at head3,225
- components319
- changed by this change5
Where the new files landed
6 new files| New file | Belongs to | Used by | Calls | Serves |
|---|---|---|---|---|
| library/src/actions/domain/3 new files | Domain Actionsnew territory | Actions | Library Sourcelibrary/src/types/library/src/utils/ | — |
| website/src/routes/api/3 new files | API Routesbase frame | nothing in the existing application | website/src/components/ | — |
4 added files carry no component — 3 docs, 1 test.
36 files changed, 39 claims stated. 32 components reached in total.