We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1d512e commit 560b57eCopy full SHA for 560b57e
packages/storage/src/implementation/type.ts
@@ -15,7 +15,7 @@
15
* limitations under the License.
16
*/
17
18
-import { isNodeSdk } from '@firebase/util';
+import { isNode } from '@firebase/util';
19
import { invalidArgument } from './error';
20
21
export function isJustDef<T>(p: T | null | undefined): p is T | null {
@@ -42,7 +42,7 @@ export function isNativeBlob(p: unknown): p is Blob {
42
export function isNativeBlobDefined(): boolean {
43
// Note: The `isNodeSdk()` check can be removed when `ts-node` adds native Blob support
44
// PR: https://github.com/node-fetch/node-fetch/pull/1664
45
- return typeof Blob !== 'undefined' && !isNodeSdk();
+ return typeof Blob !== 'undefined' && !isNode();
46
}
47
48
export function validateNumber(
0 commit comments