Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix(core): Check fetch support with data URL
  • Loading branch information
s1gr1d committed Nov 17, 2025
commit 432d9d7daf5a90b10ffe1eb9fa2ee865ae2949e9
3 changes: 2 additions & 1 deletion packages/core/src/utils/supports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ function _isFetchSupported(): boolean {

try {
new Headers();
new Request('http://www.example.com');
// Deno requires a valid URL so '' cannot be used as an argument
new Request('data:,');
new Response();
return true;
} catch {
Expand Down
Loading