Parent: #134
Child of #140, #163, and #164. Implement Bun__CommonStringsForZig__toJS for the exact pinned 13-value u8 enum.
Acceptance:
- Map all 13 enum values to the exact Bun strings: IPv4, IPv6, 127.0.0.1, ::, ipv4, ipv6, default, error, include, buffer, arraybuffer, nodebuffer, and uint8array.
- Return one stable encoded JSString cell per value per VM across sibling realms; never share cells across VMs.
- Reject invalid enum bytes and null/foreign globals deterministically.
- Preserve pending exceptions and VM ownership.
- Add exact declaration compile-link-runtime coverage in Debug and ReleaseSafe.
- Refresh Home/Bun inventories, concise docs, CI if needed, and parent progress. Root benchmark scores remain unchanged without a new accepted run.
Parent: #134
Child of #140, #163, and #164. Implement
Bun__CommonStringsForZig__toJSfor the exact pinned 13-value u8 enum.Acceptance: