Skip to content

1.7.7 introduces requirement that global to be defined #80

@thomasballinger

Description

@thomasballinger

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions