@firebase/storage 0.11.2 → 0.12.0-20231112213030
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/dist/index.browser.cjs.js +2 -4
- package/dist/index.browser.cjs.js.map +1 -1
- package/dist/index.cjs.js +2 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm2017.js +3 -5
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +3 -5
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +4 -10
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/node-esm/index.node.esm.js +5 -7
- package/dist/node-esm/index.node.esm.js.map +1 -1
- package/dist/node-esm/src/implementation/string.d.ts +1 -1
- package/dist/node-esm/src/implementation/taskenums.d.ts +1 -1
- package/dist/node-esm/src/platform/node/connection.d.ts +3 -3
- package/dist/src/implementation/string.d.ts +1 -1
- package/dist/src/implementation/taskenums.d.ts +1 -1
- package/dist/src/platform/node/connection.d.ts +3 -3
- package/dist/storage-public.d.ts +1 -1
- package/dist/storage.d.ts +2 -2
- package/package.json +5 -5
- package/CHANGELOG.md +0 -462
- package/dist/src/tsdoc-metadata.json +0 -11
package/dist/index.esm5.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getApp, _getProvider, _registerComponent, registerVersion, SDK_VERSION } from '@firebase/app';
|
|
2
2
|
import { __extends, __spreadArray, __assign, __awaiter, __generator } from 'tslib';
|
|
3
|
-
import { FirebaseError,
|
|
3
|
+
import { FirebaseError, createMockUserToken, getModularInstance, getDefaultEmulatorHostnameAndPort } from '@firebase/util';
|
|
4
4
|
import { Component } from '@firebase/component';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -569,9 +569,7 @@ function isNativeBlob(p) {
|
|
|
569
569
|
return isNativeBlobDefined() && p instanceof Blob;
|
|
570
570
|
}
|
|
571
571
|
function isNativeBlobDefined() {
|
|
572
|
-
|
|
573
|
-
// PR: https://github.com/node-fetch/node-fetch/pull/1664
|
|
574
|
-
return typeof Blob !== 'undefined' && !isNode();
|
|
572
|
+
return typeof Blob !== 'undefined';
|
|
575
573
|
}
|
|
576
574
|
function validateNumber(argument, minValue, maxValue, value) {
|
|
577
575
|
if (value < minValue) {
|
|
@@ -3530,7 +3528,7 @@ var FirebaseStorageImpl = /** @class */ (function () {
|
|
|
3530
3528
|
}());
|
|
3531
3529
|
|
|
3532
3530
|
var name = "@firebase/storage";
|
|
3533
|
-
var version = "0.
|
|
3531
|
+
var version = "0.12.0-20231112213030";
|
|
3534
3532
|
|
|
3535
3533
|
/**
|
|
3536
3534
|
* @license
|