abortcontroller-polyfill
abortcontroller-polyfill copied to clipboard
1.7.7 introduces requirement that `global` to be defined
As of 1.7.7 abortcontroller-polyfill requires global or self to be defined to run
import {
AbortController,
AbortSignal,
} from "abortcontroller-polyfill/dist/abortcontroller";
Is this intentional, would you accept a PR to change this?
global isn't defined in the WinterCG runtime spec, and Convex's JS runtime which attempts to follow it doesn't have it defined.
@thomasballinger PR welcome