Skip to content

Bind globalThis to fetch and export ReplicationMode as value#162

Merged
atimin merged 3 commits intomainfrom
fetch-binding-and-replication-mode-export
Apr 8, 2026
Merged

Bind globalThis to fetch and export ReplicationMode as value#162
atimin merged 3 commits intomainfrom
fetch-binding-and-replication-mode-export

Conversation

@AnthonyCvn
Copy link
Copy Markdown
Member

@AnthonyCvn AnthonyCvn commented Apr 8, 2026

Closes #

Please check if the PR fulfills these requirements

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • CHANGELOG.md has been updated (for bug fixes / features / docs)

What kind of change does this PR introduce?

Bug fix

What was changed?

Bind globalThis to fetch when storing it as fetchImpl to prevent "Illegal invocation" in browsers

Related issues

No

Does this PR introduce a breaking change?

No

Other information:

@AnthonyCvn AnthonyCvn requested a review from atimin April 8, 2026 11:27
@atimin atimin merged commit ff0b2cc into main Apr 8, 2026
24 checks passed
@atimin atimin deleted the fetch-binding-and-replication-mode-export branch April 8, 2026 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants