1
mirror of https://github.com/jakejarvis/rdapper.git synced 2025-12-02 19:23:49 -05:00

70 Commits

Author SHA1 Message Date
b72324fd95 0.11.0 v0.11.0 2025-10-30 19:07:47 -04:00
619185b5d6 Add support for custom fetch function and/or IANA bootstrap data (#21) 2025-10-30 19:07:12 -04:00
renovate[bot]
acae007a4a Update dependency vitest to v4 2025-10-30 18:39:10 -04:00
renovate[bot]
9bbc52b981 Update dependency tsdown to v0.15.12 2025-10-30 18:19:50 -04:00
renovate[bot]
d47009dcd6 Update dependency @biomejs/biome to v2.3.2 2025-10-30 18:19:21 -04:00
8c8dec5a37 0.10.4 v0.10.4 2025-10-27 15:01:07 -04:00
2a92375116 Add support for DD-MM-YYYY date format in toISO function and update tests (fixes #19) 2025-10-27 14:59:14 -04:00
fd29899f4e 0.10.3 v0.10.3 2025-10-27 14:44:25 -04:00
9d87ef8ecb Add to list of parser strings to improve WHOIS data normalization 2025-10-27 14:42:43 -04:00
1c6fbad1f7 0.10.2 v0.10.2 2025-10-22 17:45:40 -04:00
87b85f7d3d Add query transformation for non-English WHOIS servers, specifically for whois.jprs.jp (fixes #15) 2025-10-22 17:45:19 -04:00
c3b6477094 0.10.1 v0.10.1 2025-10-22 17:38:36 -04:00
b8357e38bc Fix .hk, .ee, .il date parsing (fixes #13, #14, #16) 2025-10-22 17:37:37 -04:00
f90c481c94 0.10.0 v0.10.0 2025-10-20 15:06:29 -04:00
b3adbf8307 Rename lookupDomain() to lookup() (with backwards compatibility) 2025-10-20 15:05:59 -04:00
5cbefe6a14 Update README.md with clearer usage instructions 2025-10-20 14:48:16 -04:00
52e5c54f9f 0.9.1 v0.9.1 2025-10-20 14:30:48 -04:00
b9d4d42e19 Update GitHub Actions workflow to install the latest npm version before publishing 2025-10-20 14:24:35 -04:00
2f0e784cf7 Run npm pkg fix 2025-10-20 14:20:26 -04:00
renovate[bot]
32478e8f74 Update dependency node to v22 2025-10-20 14:16:02 -04:00
d87e898a9f Add additional synonyms for WHOIS normalization (fixes #10) 2025-10-20 14:15:23 -04:00
2a1b7529cc Implement WHOIS referral chain collection and merging logic (fixes #11)
- Introduced `collectWhoisReferralChain` to gather WHOIS responses while avoiding contradictory data from registrars.
- Updated `lookupDomain` to utilize the new chain collection method, ensuring TLD responses are prioritized.
- Added `mergeWhoisRecords` function to consolidate WHOIS data from multiple sources.
- Enhanced tests for referral handling and merging behavior, ensuring accurate data retention across scenarios.
2025-10-20 14:08:26 -04:00
b00d0bbb0a Fix order of package.json exports 2025-10-20 14:05:33 -04:00
9fcad5438b Add GitHub Actions workflow for publishing to NPM on release 2025-10-20 14:03:35 -04:00
9ca8943e78 Bump dev dependencies 2025-10-20 13:57:58 -04:00
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