3429c70bd7
Update WHOIS TLD exceptions: refine server entries, correct outdated references, and enhance documentation for clarity.
jake2025-09-24 19:09:26 -04:00
6857b0d11b
Refactor WHOIS handling: move WHOIS_TLD_EXCEPTIONS to servers.ts, update imports in discovery and index files, and add DEFAULT_TIMEOUT_MS constant to bootstrap and client modules for consistency.
jake2025-09-24 18:57:55 -04:00
e5ec1b488c
Update TypeScript configuration and introduce constants: change module resolution to NodeNext, add DEFAULT_TIMEOUT_MS constant for consistent timeout handling across RDAP and WHOIS clients.
jake2025-09-24 18:53:50 -04:00
67f9bb68fa
Implement domain lookup in index.ts: consolidate RDAP and WHOIS logic into a single function, add availability checks, and enhance type definitions. Remove deprecated lookup.ts and introduce smoke tests for comprehensive coverage of lookup scenarios.
jake2025-09-24 18:47:03 -04:00
4f568ac409
Add smoke tests for domain lookup: implement RDAP and WHOIS scenarios for example domains, including negative cases for RDAP-only lookups. Enhance test coverage for date parsing with non-null assertions in date tests.
jake2025-09-24 18:35:33 -04:00
36cf6d6b38
Enhance project structure: add AGENTS.md for repository guidelines, update .gitignore to exclude TypeScript build info, and refine package.json scripts for improved build and publish processes.
jake2025-09-24 18:24:47 -04:00
56e9e23e4b
Refactor domain lookup to utilize getDomainParts for TLD extraction and enhance WHOIS query handling with fallback options for multi-label public suffixes. Updated utility functions for improved clarity and functionality.
jake2025-09-24 17:40:03 -04:00
0a852ff3cd
Add CLI script for domain lookup and create package-lock.json; update README and package.json for clarity and dependencies
jake2025-09-24 17:28:12 -04:00
43fa2a12c7
Update exports in index.ts to include .js extensions, add centralized WHOIS server fallbacks for TLDs in whois-fallbacks.ts, and integrate fallbacks into the ianaWhoisServerForTld function in whois.ts for improved error handling.
jake2025-09-24 16:53:12 -04:00
a788b0147a
Refactor lookup and normalization functions to improve type safety and error handling. Updated domain lookup to provide a stable ISO string fallback and enhanced error messaging. Modified RDAP normalization to use stricter types and added utility functions for type assertions.
jake2025-09-24 14:56:56 -04:00
38cf9c5eaa
Update biome configuration and package scripts. Removed unused ignore file option in biome.json and added file includes. Modified build script in package.json to use tsc directly and added a lint script for biome checks.
jake2025-09-24 14:32:49 -04:00
33a648460b
Core functionality for domain lookup using RDAP and WHOIS protocols, along with utility functions and tests.
jake2025-09-24 14:28:09 -04:00