mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-11-11 02:03:59 +08:00
ky probes `typeof globalThis.AbortSignal === 'function' && typeof globalThis.AbortSignal.any === 'function'`. In JavaScript sources these values are identity tokens, so typeof answered "string", and the static method read refused. Node 24's Web-platform constructor globals and the static methods of AbortSignal, Response and URL now answer "function", also inside typeof comparisons, where a fallback-typed receiver narrows to never after the first guard. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>