Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update remaining test targets to use undici #7761

Merged
merged 13 commits into from
Nov 10, 2023
Prev Previous commit
Next Next commit
remove fetch-specific check in storage type.ts
  • Loading branch information
DellaBitta committed Nov 9, 2023
commit 9f6cdfb6b2ea0b307feab5da789a9bc84b27c206
4 changes: 1 addition & 3 deletions packages/storage/src/implementation/type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ export function isNativeBlob(p: unknown): p is Blob {
}

export function isNativeBlobDefined(): boolean {
// Note: The `isNode()` check can be removed when `node-fetch` adds native Blob support
// PR: https://github.com/node-fetch/node-fetch/pull/1664
return typeof Blob !== 'undefined' && !isNode();
return typeof Blob !== 'undefined';
}

export function validateNumber(
Expand Down