@firebase/storage 0.9.12 → 0.9.13-canary.9e9ee7ba3
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.
- package/CHANGELOG.md +12 -0
- package/dist/index.browser.cjs.js +4 -2
- package/dist/index.browser.cjs.js.map +1 -1
- package/dist/index.esm2017.js +6 -4
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +6 -4
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +4 -2
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/node-esm/index.node.esm.js +6 -4
- package/dist/node-esm/index.node.esm.js.map +1 -1
- package/package.json +7 -7
package/dist/index.esm2017.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { FirebaseError, createMockUserToken, getModularInstance, getDefaultEmulatorHostnameAndPort } from '@firebase/util';
|
|
1
|
+
import { _getProvider, getApp, _registerComponent, registerVersion, SDK_VERSION } from '@firebase/app';
|
|
2
|
+
import { FirebaseError, isNode, createMockUserToken, getModularInstance, getDefaultEmulatorHostnameAndPort } from '@firebase/util';
|
|
3
3
|
import { Component } from '@firebase/component';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -500,7 +500,9 @@ function isNativeBlob(p) {
|
|
|
500
500
|
return isNativeBlobDefined() && p instanceof Blob;
|
|
501
501
|
}
|
|
502
502
|
function isNativeBlobDefined() {
|
|
503
|
-
|
|
503
|
+
// Note: The `isNode()` check can be removed when `node-fetch` adds native Blob support
|
|
504
|
+
// PR: https://github.com/node-fetch/node-fetch/pull/1664
|
|
505
|
+
return typeof Blob !== 'undefined' && !isNode();
|
|
504
506
|
}
|
|
505
507
|
function validateNumber(argument, minValue, maxValue, value) {
|
|
506
508
|
if (value < minValue) {
|
|
@@ -3303,7 +3305,7 @@ class FirebaseStorageImpl {
|
|
|
3303
3305
|
}
|
|
3304
3306
|
|
|
3305
3307
|
const name = "@firebase/storage";
|
|
3306
|
-
const version = "0.9.
|
|
3308
|
+
const version = "0.9.13-canary.9e9ee7ba3";
|
|
3307
3309
|
|
|
3308
3310
|
/**
|
|
3309
3311
|
* @license
|