Commit Graph
15 Commits
Author SHA1 Message Date
jake fda6d09096 Add includeRaw option to CLI and API: enable inclusion of raw RDAP/WHOIS data in results 2025-09-24 19:24:57 -04:00
jake 05445ef831 Update repository guidelines and README: enhance project structure documentation, clarify build and test commands, and improve API usage examples for better user understanding. 2025-09-24 19:19:41 -04:00
jake 3429c70bd7 Update WHOIS TLD exceptions: refine server entries, correct outdated references, and enhance documentation for clarity. 2025-09-24 19:09:26 -04:00
jake 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. 2025-09-24 18:57:55 -04:00
jake 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. 2025-09-24 18:53:50 -04:00
jake 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. 2025-09-24 18:47:03 -04:00
jake 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. 2025-09-24 18:35:33 -04:00
jake 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. 2025-09-24 18:24:47 -04:00
jake 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. 2025-09-24 17:40:03 -04:00
jake 0a852ff3cd Add CLI script for domain lookup and create package-lock.json; update README and package.json for clarity and dependencies 2025-09-24 17:28:12 -04:00
jake 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. 2025-09-24 16:53:12 -04:00
jake 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. 2025-09-24 14:56:56 -04:00
jake 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. 2025-09-24 14:32:49 -04:00
jake 33a648460b Core functionality for domain lookup using RDAP and WHOIS protocols, along with utility functions and tests. 2025-09-24 14:28:09 -04:00
jake bd4846302d Initial commit 2025-09-24 13:06:40 -04:00