@firebase/storage 0.9.12 → 0.9.13-canary.457fc2eeb
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.node.cjs.js
CHANGED
|
@@ -510,7 +510,9 @@ function isNativeBlob(p) {
|
|
|
510
510
|
return isNativeBlobDefined() && p instanceof Blob;
|
|
511
511
|
}
|
|
512
512
|
function isNativeBlobDefined() {
|
|
513
|
-
|
|
513
|
+
// Note: The `isNode()` check can be removed when `node-fetch` adds native Blob support
|
|
514
|
+
// PR: https://github.com/node-fetch/node-fetch/pull/1664
|
|
515
|
+
return typeof Blob !== 'undefined' && !util.isNode();
|
|
514
516
|
}
|
|
515
517
|
function validateNumber(argument, minValue, maxValue, value) {
|
|
516
518
|
if (value < minValue) {
|
|
@@ -3350,7 +3352,7 @@ class FirebaseStorageImpl {
|
|
|
3350
3352
|
}
|
|
3351
3353
|
|
|
3352
3354
|
const name = "@firebase/storage";
|
|
3353
|
-
const version = "0.9.
|
|
3355
|
+
const version = "0.9.13-canary.457fc2eeb";
|
|
3354
3356
|
|
|
3355
3357
|
/**
|
|
3356
3358
|
* @license
|