Commit Graph
8 Commits
Author SHA1 Message Date
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 0f64809bb1 chore: add GitHub Actions workflow for testing across multiple Node.js versions 2026-01-10 13:34:27 -05:00
renovate[bot] 6884504d88 chore(deps): update dependency node to v24 2026-01-10 13:28:36 -05:00
renovate[bot] efc0277399 chore(deps): update actions/checkout action to v6 2026-01-10 13:28:16 -05:00
jake b9d4d42e19 Update GitHub Actions workflow to install the latest npm version before publishing 2025-10-20 14:24:35 -04:00
renovate[bot] 32478e8f74 Update dependency node to v22 2025-10-20 14:16:02 -04:00
jake 9fcad5438b Add GitHub Actions workflow for publishing to NPM on release 2025-10-20 14:03:35 -04:00