|
|
5fb095a498
|
test: add comprehensive testing infrastructure with critical bug fixes
- Add Vitest testing framework with 88 passing tests across 4 test files
- Fix critical entity validator bug (service array index)
- Implement validator architecture with 'matched but invalid' state support
- Add strict IPv4/IPv6 validation with detailed error messages
- Add case-insensitive domain and ASN matching
- Add explicit validator priority ordering (url→json→tld→ip→domain)
- Add integration tests with real IANA registry validation
- Add AutnumCard component for AS number display
- Update dependencies: prettier 2.8.1→2.8.8
Test coverage:
- helpers.test.ts: IPv4/IPv6 CIDR matching (27 tests)
- helpers.asn.test.ts: ASN range validation (22 tests)
- rdap.test.ts: Type detection with edge cases (36 tests)
- rdap.integration.test.ts: Real IANA registry tests (3 tests)
Bug fixes:
- Entity validator now correctly uses service[1] for tags (0=email, 1=tags, 2=urls)
- IPv4 validation rejects octets >255 with specific error messages
- IPv6 validation checks for invalid hex chars and multiple ::
- Domain regex supports multi-label domains (a.b.c.d.example.net)
- Type detection priority prevents URL/JSON false matches as domains
|
2025-10-22 01:23:15 -05:00 |
|
|
|
f35e500f58
|
Add IBM Plex Mono as monospace font for tailwind
|
2024-05-09 23:04:37 -05:00 |
|
|
|
268658cc5c
|
Use Inter var as global default font
|
2023-08-26 00:16:09 -05:00 |
|
|
|
ece0ffc7a0
|
Commit latest design, styling & functionality
|
2023-05-23 20:00:16 -05:00 |
|
|
|
6e27447a99
|
Prettier reformat
|
2023-05-20 21:29:27 -05:00 |
|
Xevion
|
0fa1cfaabd
|
Add primitive dark mode
|
2023-01-15 02:28:14 -06:00 |
|
Xevion
|
40441ed328
|
Project init
|
2023-01-12 20:58:40 -06:00 |
|