@firebase/storage 0.11.2 → 0.12.0-20231120214520

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import { _getProvider, getApp, _registerComponent, registerVersion, SDK_VERSION } from '@firebase/app';
2
- import { FirebaseError, isNode, createMockUserToken, getModularInstance, getDefaultEmulatorHostnameAndPort } from '@firebase/util';
2
+ import { FirebaseError, createMockUserToken, getModularInstance, getDefaultEmulatorHostnameAndPort } from '@firebase/util';
3
3
  import { Component } from '@firebase/component';
4
4
 
5
5
  /**
@@ -537,9 +537,7 @@ function isNativeBlob(p) {
537
537
  return isNativeBlobDefined() && p instanceof Blob;
538
538
  }
539
539
  function isNativeBlobDefined() {
540
- // Note: The `isNode()` check can be removed when `node-fetch` adds native Blob support
541
- // PR: https://github.com/node-fetch/node-fetch/pull/1664
542
- return typeof Blob !== 'undefined' && !isNode();
540
+ return typeof Blob !== 'undefined';
543
541
  }
544
542
  function validateNumber(argument, minValue, maxValue, value) {
545
543
  if (value < minValue) {
@@ -3348,7 +3346,7 @@ class FirebaseStorageImpl {
3348
3346
  }
3349
3347
 
3350
3348
  const name = "@firebase/storage";
3351
- const version = "0.11.2";
3349
+ const version = "0.12.0-20231120214520";
3352
3350
 
3353
3351
  /**
3354
3352
  * @license