Skip to content

Commit 560b57e

Browse files
committed
Replaced isNodeSdk with isNode
1 parent f1d512e commit 560b57e

File tree

1 file changed

+2
-2
lines changed
  • packages/storage/src/implementation

1 file changed

+2
-2
lines changed

packages/storage/src/implementation/type.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
import { isNodeSdk } from '@firebase/util';
18+
import { isNode } from '@firebase/util';
1919
import { invalidArgument } from './error';
2020

2121
export function isJustDef<T>(p: T | null | undefined): p is T | null {
@@ -42,7 +42,7 @@ export function isNativeBlob(p: unknown): p is Blob {
4242
export function isNativeBlobDefined(): boolean {
4343
// Note: The `isNodeSdk()` check can be removed when `ts-node` adds native Blob support
4444
// PR: https://github.com/node-fetch/node-fetch/pull/1664
45-
return typeof Blob !== 'undefined' && !isNodeSdk();
45+
return typeof Blob !== 'undefined' && !isNode();
4646
}
4747

4848
export function validateNumber(

0 commit comments

Comments
 (0)