Skip to content

Add commons_validator - #995

Open
mondoktamas wants to merge 1 commit into
fluttergems:masterfrom
mondoktamas:add-commons-validator
Open

Add commons_validator#995
mondoktamas wants to merge 1 commit into
fluttergems:masterfrom
mondoktamas:add-commons-validator

Conversation

@mondoktamas

Copy link
Copy Markdown

Adds commons_validator to CONTRIB.md, suggested category Autoformat, Masking & Validation.

It is a port of the org.apache.commons.validator.routines packages from Apache Commons Validator:

  • 16 check-digit routines — IBAN, ISIN, ISBN-10/13, ISSN, Luhn, Verhoeff, SEDOL, CUSIP, EAN-13, ABA, CAS, EC
  • Email, URL, domain and IPv4/IPv6 validation, including an IDNA-2003 implementation that reproduces java.net.IDN.toASCII
  • Locale-aware number and date validators — Byte through BigDecimal, Currency, Percent, Date, Calendar, Time

Pure Dart with no dart:io and no dart:mirrors, so it supports all six platforms and works in Flutter, CLI and server code. 160/160 pub points, Apache-2.0, 394 tests, plus a differential harness that checks 260,526 inputs against the real Java classes running on a JVM.

🤖 Generated with Claude Code

https://claude.ai/code/session_018LVgSWWYCVZ79gSKJjGLJv

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018LVgSWWYCVZ79gSKJjGLJv
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