Commit Graph
56 Commits
Author SHA1 Message Date
jake 026a93c69f chore: simplify package exports, enable tsdown exports, and upgrade to TypeScript 7
- Delegate `exports` map generation to tsdown (`exports: true`) and simplify `package.json` to a bare `"." : "./dist/index.mjs"` entry plus `"./package.json"`; drop redundant `main`/`module` fields
- Add `sideEffects: false` to `package.json` so bundlers can tree-shake the package
- Enable `clean: true` and `failOnWarn: true` in `tsdown.config.ts` for a cleaner build and stricter warning enforcement
- Suppress the TypeScript 7.0 experimental-API warning emitted by tsdown
- Bump `typescript` dev dependency to `^7.0.2`
2026-09-20 17:47:36 -04:00
jake 3ded70f364 0.16.2 2026-09-20 11:11:07 -04:00
jake 0fea5e0a05 0.16.1 2026-09-20 00:14:13 -04:00
jake 7ab25ceecc 0.16.0 2026-09-19 23:24:12 -04:00
jake e77fc7f4ed 0.15.1 2026-09-19 12:32:07 -04:00
jake 208fd6c69f 0.15.0 2026-09-19 12:17:47 -04:00
jake 61c5897317 0.14.0 2026-09-19 00:56:46 -04:00
jake 69f85ee925 feat: add attempt tracking, deadlineMs, and structured error codes
- Resolve `LookupResult` with an `attempts` array describing every network operation (phase, server, duration, error) so failures recovered by fallback remain visible
- Add `deadlineMs` option for a hard cap on total lookup time, distinct from per-operation `timeoutMs` (lowered default from 15 s to 10 s)
- Add `errorCode` (machine-readable `LookupErrorCode`), `errorPhase`, and `errorServer` to `LookupResult`; `timeout` covers both per-op and deadline timeouts, `aborted` means the caller's signal fired
- WHOIS timeouts now distinguish `connect` vs `read` stage and resolve with partial text (marked `partial: true`) when data arrived before the socket stalled
- Drop Node 18 support; minimum engine is now 20
2026-09-18 14:41:16 -04:00
jake 87e20f4a47 chore: replace Biome with oxlint and oxfmt 2026-09-18 14:21:15 -04:00
jake 5ff837b2bb chore(deps): update dependencies and build configuration 2026-09-18 14:10:09 -04:00
jake a37ab8a6d8 0.13.0 2026-01-10 13:35:11 -05:00
renovate[bot] 8deef1e145 chore(deps): update dependency tsdown to v0.19.0 2026-01-10 13:30:18 -05:00
renovate[bot] 5c7ee9734e chore(deps): update dependency @biomejs/biome to v2.3.11 2026-01-10 13:30:10 -05:00
renovate[bot] 72821dbfec chore(deps): update dependency @types/node to v25.0.6 2026-01-10 13:28:52 -05:00
jake 6ef4291d0e 0.12.1 2025-12-30 12:53:25 -05:00
jake e6b2e94614 fix: update tsdown outputs from .js to .mjs 2025-12-30 12:53:17 -05:00
jake c6da4c1f69 0.12.0 2025-12-30 12:45:00 -05:00
jake 1b73b7dc8d chore: bump deps 2025-12-30 12:41:13 -05:00
jake b72324fd95 0.11.0 2025-10-30 19:07:47 -04:00
jake 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
jake 8c8dec5a37 0.10.4 2025-10-27 15:01:07 -04:00
jake fd29899f4e 0.10.3 2025-10-27 14:44:25 -04:00
jake 1c6fbad1f7 0.10.2 2025-10-22 17:45:40 -04:00
jake c3b6477094 0.10.1 2025-10-22 17:38:36 -04:00
jake f90c481c94 0.10.0 2025-10-20 15:06:29 -04:00
jake 52e5c54f9f 0.9.1 2025-10-20 14:30:48 -04:00
jake 2f0e784cf7 Run npm pkg fix 2025-10-20 14:20:26 -04:00
jake b00d0bbb0a Fix order of package.json exports 2025-10-20 14:05:33 -04:00
jake 9ca8943e78 Bump dev dependencies 2025-10-20 13:57:58 -04:00
jake dbe63b0b9f 0.8.0 2025-10-17 22:04:57 -04:00
jake b171b5ec75 Update getDomainParts to allow passing options to tldts.parse(). 2025-10-17 22:04:37 -04:00
jake 0cfca2c877 0.7.0 2025-10-14 13:25:26 -04:00
jake c3a68639b6 Update CLI script path to use .js extension 2025-10-14 13:01:03 -04:00
jake 08a5b9a576 Make the (very minimal) CLI official 2025-10-12 17:14:37 -04:00
jake 35c73e2bb2 0.6.0 2025-10-12 13:56:54 -04:00
jake db96e8d933 Lazy load node:net for improved edge runtime compatibility 2025-10-12 13:52:50 -04:00
jake 94a751d9b0 0.5.0 2025-10-10 10:45:10 -04:00
jake bfcecc5eff Migrate from psl to tldts for public suffix detection 2025-10-10 10:29:29 -04:00
jake a030817d27 0.4.1 2025-10-08 21:43:49 -04:00
jake 476ead274d 0.4.0 2025-10-08 21:32:04 -04:00
jake 57209eae39 0.3.0 2025-10-08 19:43:38 -04:00
jake 27b3187d33 0.2.0 2025-09-28 21:31:42 -04:00
jake c76da2bf5c Replaced tsconfig.build.json with tsdown configuration for simplified builds. 2025-09-28 21:30:57 -04:00
jake d09d8e4ffd 0.1.1 2025-09-26 11:51:14 -04:00
jake 174cae8610 Update testing framework to Vitest (#4) 2025-09-26 11:49:44 -04:00
jake 863c158e28 0.1.0 2025-09-24 19:57:16 -04:00
jake 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