dbe63b0b9f
0.8.0
v0.8.0
2025-10-17 22:04:57 -04:00
b171b5ec75
Update getDomainParts
to allow passing options to tldts.parse()
.
2025-10-17 22:04:37 -04:00
0cfca2c877
0.7.0
v0.7.0
2025-10-14 13:25:26 -04:00
4e9b99a25f
Prefer TLD WHOIS over contradictory registrar referral; revert heuristic override and add referral test\n\n- Keep TLD response when registrar says ‘not found’\n- Revert WHOIS isRegistered to simple availability check\n- Add referral contradiction unit test for .io scenario\n- All tests passing
2025-10-14 13:24:51 -04:00
c3a68639b6
Update CLI script path to use .js extension
2025-10-14 13:01:03 -04:00
08a5b9a576
Make the (very minimal) CLI official
2025-10-12 17:14:37 -04:00
35c73e2bb2
0.6.0
v0.6.0
2025-10-12 13:56:54 -04:00
db96e8d933
Lazy load node:net
for improved edge runtime compatibility
2025-10-12 13:52:50 -04:00
94a751d9b0
0.5.0
v0.5.0
2025-10-10 10:45:10 -04:00
6070d91424
Add toRegistrableDomain
function for domain normalization
2025-10-10 10:44:04 -04:00
bfcecc5eff
Migrate from psl
to tldts
for public suffix detection
2025-10-10 10:29:29 -04:00
a030817d27
0.4.1
v0.4.1
2025-10-08 21:43:49 -04:00
33203b2b47
Remove fetchedAt
field from DomainRecord interface and related functions
2025-10-08 21:43:32 -04:00
476ead274d
0.4.0
v0.4.0
2025-10-08 21:32:04 -04:00
2c9904e5e8
New privacyEnabled
field to detect redaction based on keyword heuristics
...
Updated the DomainRecord interface to include detailed comments for clarity and added a new privacyEnabled field to indicate if the registrant's information is privacy-redacted. Enhanced normalization functions for both RDAP and WHOIS to derive the privacy flag based on registrant keywords. Updated tests to verify the correct functionality of privacy detection in both normalization processes. Additionally, the README was updated to reflect the inclusion of the privacy flag in the normalized output.
2025-10-08 21:31:21 -04:00
57209eae39
0.3.0
v0.3.0
2025-10-08 19:43:38 -04:00
15e807f093
Refactor date parsing function and improve test coverage
...
Renamed the `parseWithRegex` function to `parseDateWithRegex` for clarity and consistency. Added a blank line in the `toISO` test to enhance readability. These changes aim to improve code maintainability and ensure better test organization.
2025-10-08 19:43:01 -04:00
9661db0b46
Enhance date parsing in WHOIS and add tests for registrar expiration dates
...
Updated the `toISO` function to handle various timezone formats in WHOIS date strings. Added tests to verify parsing of registrar registration expiration dates and EDUCAUSE format dates in the normalization process. This improves the accuracy of date handling in WHOIS responses.
2025-10-08 19:39:56 -04:00
f8280508ff
Enhance RDAP and WHOIS functionality with referral handling
...
Added support for following registrar WHOIS referrals with configurable hop limits. Introduced new options in LookupOptions for maximum referral hops and RDAP link handling. Updated README to reflect these changes and improved the lookupDomain function to utilize the new referral logic. Added utility functions for merging RDAP documents and extracting related links.
2025-10-08 19:25:51 -04:00
27b3187d33
0.2.0
v0.2.0
2025-09-28 21:31:42 -04:00
c76da2bf5c
Replaced tsconfig.build.json with tsdown configuration for simplified builds.
2025-09-28 21:30:57 -04:00
d09d8e4ffd
0.1.1
v0.1.1
2025-09-26 11:51:14 -04:00
174cae8610
Update testing framework to Vitest ( #4 )
2025-09-26 11:49:44 -04:00
5bc6debe30
Enhance WHOIS fallback error handling and add IANA WHOIS parsing utilities
...
Updated the error messages in the lookupDomain function to provide clearer guidance when RDAP is unavailable or when no WHOIS server is discovered for a TLD. Introduced new utility functions to parse IANA WHOIS responses, improving the discovery process for WHOIS servers and registration information URLs.
2025-09-26 11:48:02 -04:00
e873fb7629
Add link to hoot.sh in README
...
Updated README to include a link to hoot.sh
2025-09-24 21:29:45 -04:00
renovate[bot]
c6a3010744
Add renovate.json
2025-09-24 21:23:32 -04:00
863c158e28
0.1.0
v0.1.0
2025-09-24 19:57:16 -04:00
e1e6d0243a
Update project metadata and TypeScript configuration: refine repository details in package.json, simplify tsconfig.build.json, and adjust tsconfig.json for cleaner output settings.
2025-09-24 19:55:48 -04:00
aa8d089b6d
Update package.json: enhance project metadata with new description, author details, and keywords for better discoverability
2025-09-24 19:52:10 -04:00
dc0ff2a00b
Refine README examples and API documentation: simplify usage of lookupDomain function and clarify fallback behavior for RDAP and WHOIS.
2025-09-24 19:30:22 -04:00
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
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
3429c70bd7
Update WHOIS TLD exceptions: refine server entries, correct outdated references, and enhance documentation for clarity.
2025-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.
2025-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.
2025-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.
2025-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.
2025-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.
2025-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.
2025-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
2025-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.
2025-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.
2025-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.
2025-09-24 14:32:49 -04:00
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
bd4846302d
Initial commit
2025-09-24 13:06:40 -04:00