mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-27 06:43:19 +08:00
Node answers a Unix-socket server's address() with its path. Programs that call listen() with a string argument now get a Unix-aware address(): typed `string | AddressInfo | null` (the @types/node declaration), it answers the path; typed as the AddressInfo record alone, which cannot hold the path, it throws for such a server, as does the composed address().port read. Every other program keeps the record-only lowering, so their output is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>