Skip to content

Replace regex-like helpers with canonical validators - #5

Merged
artiphishle merged 10 commits into
mainfrom
agent/canonical-regex-validators
Aug 11, 2026
Merged

Replace regex-like helpers with canonical validators#5
artiphishle merged 10 commits into
mainfrom
agent/canonical-regex-validators

Conversation

@artiphishle

Copy link
Copy Markdown
Contributor

What changed

  • replace isEmailLike and isUrlLike with canonical validators
  • add isEmail, isPhone, isUsername, and isHttpUrl
  • remove public regex-pattern exports and the obsolete patterns.ts
  • add focused validator coverage
  • add a pre-1.0 minor changeset

Why

Consumers need a single authoritative validation API instead of ambiguous *Like heuristics or duplicated local validators.

Validation

GitHub CI is expected to run build, doctor, lint, format, Knip, tests, typecheck, and changeset checks.

@artiphishle
artiphishle merged commit 05c8cb6 into main Aug 11, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant