@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.
- 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
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* An enumeration of the possible string formats for upload.
|
|
19
19
|
* @public
|
|
20
20
|
*/
|
|
21
|
-
export declare type StringFormat = typeof StringFormat[keyof typeof StringFormat];
|
|
21
|
+
export declare type StringFormat = (typeof StringFormat)[keyof typeof StringFormat];
|
|
22
22
|
/**
|
|
23
23
|
* An enumeration of the possible string formats for upload.
|
|
24
24
|
* @public
|
|
@@ -57,7 +57,7 @@ export declare const enum InternalTaskState {
|
|
|
57
57
|
* Represents the current state of a running upload.
|
|
58
58
|
* @internal
|
|
59
59
|
*/
|
|
60
|
-
export declare type TaskState = typeof TaskState[keyof typeof TaskState];
|
|
60
|
+
export declare type TaskState = (typeof TaskState)[keyof typeof TaskState];
|
|
61
61
|
/**
|
|
62
62
|
* Represents the current state of a running upload.
|
|
63
63
|
* @internal
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
/// <reference types="node" />
|
|
18
18
|
import { Connection, ConnectionType, ErrorCode } from '../../implementation/connection';
|
|
19
|
-
import
|
|
19
|
+
import { fetch as undiciFetch, Headers as undiciHeaders } from 'undici';
|
|
20
20
|
/**
|
|
21
21
|
* Network layer that works in Node.
|
|
22
22
|
*
|
|
@@ -28,9 +28,9 @@ declare abstract class FetchConnection<T extends ConnectionType> implements Conn
|
|
|
28
28
|
protected statusCode_: number | undefined;
|
|
29
29
|
protected body_: ArrayBuffer | undefined;
|
|
30
30
|
protected errorText_: string;
|
|
31
|
-
protected headers_:
|
|
31
|
+
protected headers_: undiciHeaders | undefined;
|
|
32
32
|
protected sent_: boolean;
|
|
33
|
-
protected fetch_: typeof
|
|
33
|
+
protected fetch_: typeof undiciFetch;
|
|
34
34
|
constructor();
|
|
35
35
|
send(url: string, method: string, body?: ArrayBufferView | Blob | string, headers?: Record<string, string>): Promise<void>;
|
|
36
36
|
getErrorCode(): ErrorCode;
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* An enumeration of the possible string formats for upload.
|
|
19
19
|
* @public
|
|
20
20
|
*/
|
|
21
|
-
export declare type StringFormat = typeof StringFormat[keyof typeof StringFormat];
|
|
21
|
+
export declare type StringFormat = (typeof StringFormat)[keyof typeof StringFormat];
|
|
22
22
|
/**
|
|
23
23
|
* An enumeration of the possible string formats for upload.
|
|
24
24
|
* @public
|
|
@@ -57,7 +57,7 @@ export declare const enum InternalTaskState {
|
|
|
57
57
|
* Represents the current state of a running upload.
|
|
58
58
|
* @internal
|
|
59
59
|
*/
|
|
60
|
-
export declare type TaskState = typeof TaskState[keyof typeof TaskState];
|
|
60
|
+
export declare type TaskState = (typeof TaskState)[keyof typeof TaskState];
|
|
61
61
|
/**
|
|
62
62
|
* Represents the current state of a running upload.
|
|
63
63
|
* @internal
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
/// <reference types="node" />
|
|
18
18
|
import { Connection, ConnectionType, ErrorCode } from '../../implementation/connection';
|
|
19
|
-
import
|
|
19
|
+
import { fetch as undiciFetch, Headers as undiciHeaders } from 'undici';
|
|
20
20
|
/**
|
|
21
21
|
* Network layer that works in Node.
|
|
22
22
|
*
|
|
@@ -28,9 +28,9 @@ declare abstract class FetchConnection<T extends ConnectionType> implements Conn
|
|
|
28
28
|
protected statusCode_: number | undefined;
|
|
29
29
|
protected body_: ArrayBuffer | undefined;
|
|
30
30
|
protected errorText_: string;
|
|
31
|
-
protected headers_:
|
|
31
|
+
protected headers_: undiciHeaders | undefined;
|
|
32
32
|
protected sent_: boolean;
|
|
33
|
-
protected fetch_: typeof
|
|
33
|
+
protected fetch_: typeof undiciFetch;
|
|
34
34
|
constructor();
|
|
35
35
|
send(url: string, method: string, body?: ArrayBufferView | Blob | string, headers?: Record<string, string>): Promise<void>;
|
|
36
36
|
getErrorCode(): ErrorCode;
|
package/dist/storage-public.d.ts
CHANGED
|
@@ -429,7 +429,7 @@ export declare interface StorageReference {
|
|
|
429
429
|
* An enumeration of the possible string formats for upload.
|
|
430
430
|
* @public
|
|
431
431
|
*/
|
|
432
|
-
export declare type StringFormat = typeof StringFormat[keyof typeof StringFormat];
|
|
432
|
+
export declare type StringFormat = (typeof StringFormat)[keyof typeof StringFormat];
|
|
433
433
|
/**
|
|
434
434
|
* An enumeration of the possible string formats for upload.
|
|
435
435
|
* @public
|
package/dist/storage.d.ts
CHANGED
|
@@ -878,7 +878,7 @@ declare class StringData {
|
|
|
878
878
|
* An enumeration of the possible string formats for upload.
|
|
879
879
|
* @public
|
|
880
880
|
*/
|
|
881
|
-
export declare type StringFormat = typeof StringFormat[keyof typeof StringFormat];
|
|
881
|
+
export declare type StringFormat = (typeof StringFormat)[keyof typeof StringFormat];
|
|
882
882
|
|
|
883
883
|
/**
|
|
884
884
|
* An enumeration of the possible string formats for upload.
|
|
@@ -985,7 +985,7 @@ export declare type TaskState = 'running' | 'paused' | 'success' | 'canceled' |
|
|
|
985
985
|
* Represents the current state of a running upload.
|
|
986
986
|
* @internal
|
|
987
987
|
*/
|
|
988
|
-
export declare type _TaskState = typeof _TaskState[keyof typeof _TaskState];
|
|
988
|
+
export declare type _TaskState = (typeof _TaskState)[keyof typeof _TaskState];
|
|
989
989
|
|
|
990
990
|
/**
|
|
991
991
|
* Represents the current state of a running upload.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@firebase/storage",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0-20231120214520",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
|
|
6
6
|
"main": "dist/index.node.cjs.js",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"build": "rollup -c rollup.config.js && yarn api-report",
|
|
34
34
|
"build:deps": "lerna run --scope @firebase/storage --include-dependencies build",
|
|
35
35
|
"dev": "rollup -c -w",
|
|
36
|
-
"test": "run-p test:browser test:node lint",
|
|
36
|
+
"test": "run-p --npm-path npm test:browser test:node lint",
|
|
37
37
|
"test:ci": "node ../../scripts/run_tests_in_ci.js -s test:browser test:node",
|
|
38
38
|
"test:browser:unit": "karma start --single-run --unit",
|
|
39
39
|
"test:browser:integration": "karma start --single-run --integration",
|
|
@@ -48,15 +48,15 @@
|
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@firebase/util": "1.9.3",
|
|
50
50
|
"@firebase/component": "0.6.4",
|
|
51
|
-
"
|
|
51
|
+
"undici": "5.26.5",
|
|
52
52
|
"tslib": "^2.1.0"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
55
|
"@firebase/app": "0.x"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@firebase/app": "0.9.
|
|
59
|
-
"@firebase/auth": "
|
|
58
|
+
"@firebase/app": "0.9.23",
|
|
59
|
+
"@firebase/auth": "1.5.0-20231120214520",
|
|
60
60
|
"rollup": "2.79.1",
|
|
61
61
|
"@rollup/plugin-alias": "3.1.9",
|
|
62
62
|
"@rollup/plugin-json": "4.1.0",
|
package/CHANGELOG.md
DELETED
|
@@ -1,462 +0,0 @@
|
|
|
1
|
-
#Unreleased
|
|
2
|
-
|
|
3
|
-
## 0.11.2
|
|
4
|
-
|
|
5
|
-
### Patch Changes
|
|
6
|
-
|
|
7
|
-
- Updated dependencies [[`c59f537b1`](https://github.com/firebase/firebase-js-sdk/commit/c59f537b1262b5d7997291b8c1e9324d378effb6)]:
|
|
8
|
-
- @firebase/util@1.9.3
|
|
9
|
-
- @firebase/component@0.6.4
|
|
10
|
-
|
|
11
|
-
## 0.11.1
|
|
12
|
-
|
|
13
|
-
### Patch Changes
|
|
14
|
-
|
|
15
|
-
- [`d071bd1ac`](https://github.com/firebase/firebase-js-sdk/commit/d071bd1acaa0583b4dd3454387fc58eafddb5c30) [#7007](https://github.com/firebase/firebase-js-sdk/pull/7007) (fixes [#7005](https://github.com/firebase/firebase-js-sdk/issues/7005)) - Move exports.default fields to always be the last field. This fixes a bug caused in 9.17.0 that prevented some bundlers and frameworks from building.
|
|
16
|
-
|
|
17
|
-
- Updated dependencies [[`d071bd1ac`](https://github.com/firebase/firebase-js-sdk/commit/d071bd1acaa0583b4dd3454387fc58eafddb5c30)]:
|
|
18
|
-
- @firebase/util@1.9.2
|
|
19
|
-
- @firebase/component@0.6.3
|
|
20
|
-
|
|
21
|
-
## 0.11.0
|
|
22
|
-
|
|
23
|
-
### Minor Changes
|
|
24
|
-
|
|
25
|
-
- [`825e648b8`](https://github.com/firebase/firebase-js-sdk/commit/825e648b81ca63c7bc64f8700f7a46eb320b2106) [#6974](https://github.com/firebase/firebase-js-sdk/pull/6974) (fixes [#6944](https://github.com/firebase/firebase-js-sdk/issues/6944)) - Fixed issue where users were unable to check if an Error was an instance of `StorageError`.
|
|
26
|
-
|
|
27
|
-
### Patch Changes
|
|
28
|
-
|
|
29
|
-
- [`0bab0b7a7`](https://github.com/firebase/firebase-js-sdk/commit/0bab0b7a786d1563bf665904c7097d1fe06efce5) [#6981](https://github.com/firebase/firebase-js-sdk/pull/6981) - Added browser CJS entry points (expected by Jest when using JSDOM mode).
|
|
30
|
-
|
|
31
|
-
- Updated dependencies [[`0bab0b7a7`](https://github.com/firebase/firebase-js-sdk/commit/0bab0b7a786d1563bf665904c7097d1fe06efce5)]:
|
|
32
|
-
- @firebase/util@1.9.1
|
|
33
|
-
- @firebase/component@0.6.2
|
|
34
|
-
|
|
35
|
-
## 0.10.1
|
|
36
|
-
|
|
37
|
-
### Patch Changes
|
|
38
|
-
|
|
39
|
-
- [`a67eb5d04`](https://github.com/firebase/firebase-js-sdk/commit/a67eb5d04405b8133e81aad15f3fc9441eb66091) [#6938](https://github.com/firebase/firebase-js-sdk/pull/6938) (fixes [#6935](https://github.com/firebase/firebase-js-sdk/issues/6935)) - Fixed issue where pause throws an error when a request is in flight.
|
|
40
|
-
|
|
41
|
-
- Updated dependencies [[`d4114a4f7`](https://github.com/firebase/firebase-js-sdk/commit/d4114a4f7da3f469c0c900416ac8beee58885ec3), [`06dc1364d`](https://github.com/firebase/firebase-js-sdk/commit/06dc1364d7560f4c563e1ccc89af9cad4cd91df8)]:
|
|
42
|
-
- @firebase/util@1.9.0
|
|
43
|
-
- @firebase/component@0.6.1
|
|
44
|
-
|
|
45
|
-
## 0.10.0
|
|
46
|
-
|
|
47
|
-
### Minor Changes
|
|
48
|
-
|
|
49
|
-
- [`1625f7a95`](https://github.com/firebase/firebase-js-sdk/commit/1625f7a95cc3ffb666845db0a8044329be74b5be) [#6799](https://github.com/firebase/firebase-js-sdk/pull/6799) - Update TypeScript version to 4.7.4.
|
|
50
|
-
|
|
51
|
-
### Patch Changes
|
|
52
|
-
|
|
53
|
-
- Updated dependencies [[`c20633ed3`](https://github.com/firebase/firebase-js-sdk/commit/c20633ed35056cbadc9d65d9ceddf4e28d1ea666), [`1625f7a95`](https://github.com/firebase/firebase-js-sdk/commit/1625f7a95cc3ffb666845db0a8044329be74b5be)]:
|
|
54
|
-
- @firebase/util@1.8.0
|
|
55
|
-
- @firebase/component@0.6.0
|
|
56
|
-
|
|
57
|
-
## 0.9.14
|
|
58
|
-
|
|
59
|
-
### Patch Changes
|
|
60
|
-
|
|
61
|
-
- [`8876b783f`](https://github.com/firebase/firebase-js-sdk/commit/8876b783f27ba8ba0ad0305db4812432efa17461) [#6746](https://github.com/firebase/firebase-js-sdk/pull/6746) - Fixed issue where if btoa wasn't supported in the environment, then the user would get a generic message.
|
|
62
|
-
|
|
63
|
-
## 0.9.13
|
|
64
|
-
|
|
65
|
-
### Patch Changes
|
|
66
|
-
|
|
67
|
-
- [`de1c717c2`](https://github.com/firebase/firebase-js-sdk/commit/de1c717c2f69e9f21744135b74f92829927b200b) [#6705](https://github.com/firebase/firebase-js-sdk/pull/6705) - Fixed issue where clients using Node.js v18 would use the native `Blob` object which is incompatible with `node-fetch`
|
|
68
|
-
|
|
69
|
-
- [`4af28c1a4`](https://github.com/firebase/firebase-js-sdk/commit/4af28c1a42bd25ce2353f694ca1724c6101cbce5) [#6682](https://github.com/firebase/firebase-js-sdk/pull/6682) - Upgrade TypeScript to 4.7.4.
|
|
70
|
-
|
|
71
|
-
- Updated dependencies [[`4af28c1a4`](https://github.com/firebase/firebase-js-sdk/commit/4af28c1a42bd25ce2353f694ca1724c6101cbce5)]:
|
|
72
|
-
- @firebase/component@0.5.21
|
|
73
|
-
- @firebase/util@1.7.3
|
|
74
|
-
|
|
75
|
-
## 0.9.12
|
|
76
|
-
|
|
77
|
-
### Patch Changes
|
|
78
|
-
|
|
79
|
-
- [`5f55ed828`](https://github.com/firebase/firebase-js-sdk/commit/5f55ed828e7e7d3084590ff04d8c3e75fc718a51) [#6667](https://github.com/firebase/firebase-js-sdk/pull/6667) - Cleared retry timeouts when uploads are paused/canceled
|
|
80
|
-
|
|
81
|
-
- Updated dependencies [[`807f06aa2`](https://github.com/firebase/firebase-js-sdk/commit/807f06aa26438a91aaea08fd38efb6c706bb8a5d)]:
|
|
82
|
-
- @firebase/util@1.7.2
|
|
83
|
-
- @firebase/component@0.5.20
|
|
84
|
-
|
|
85
|
-
## 0.9.11
|
|
86
|
-
|
|
87
|
-
### Patch Changes
|
|
88
|
-
|
|
89
|
-
- [`4eb8145fb`](https://github.com/firebase/firebase-js-sdk/commit/4eb8145fb3b503884ea610e813be359127d1a705) [#6653](https://github.com/firebase/firebase-js-sdk/pull/6653) - Fixed bug where upload status wasn't being checked after an upload failure.
|
|
90
|
-
Implemented exponential backoff and max retry strategy.
|
|
91
|
-
|
|
92
|
-
* [`171b78b76`](https://github.com/firebase/firebase-js-sdk/commit/171b78b762826a640d267dd4dd172ad9459c4561) [#6673](https://github.com/firebase/firebase-js-sdk/pull/6673) - Handle IPv6 addresses in emulator autoinit.
|
|
93
|
-
|
|
94
|
-
* Updated dependencies [[`171b78b76`](https://github.com/firebase/firebase-js-sdk/commit/171b78b762826a640d267dd4dd172ad9459c4561), [`29d034072`](https://github.com/firebase/firebase-js-sdk/commit/29d034072c20af394ce384e42aa10a37d5dfcb18)]:
|
|
95
|
-
- @firebase/util@1.7.1
|
|
96
|
-
- @firebase/component@0.5.19
|
|
97
|
-
|
|
98
|
-
## 0.9.10
|
|
99
|
-
|
|
100
|
-
### Patch Changes
|
|
101
|
-
|
|
102
|
-
- [`fdd4ab464`](https://github.com/firebase/firebase-js-sdk/commit/fdd4ab464b59a107bdcc195df3f01e32efd89ed4) [#6526](https://github.com/firebase/firebase-js-sdk/pull/6526) - Add functionality to auto-initialize project config and emulator settings from global defaults provided by framework tooling.
|
|
103
|
-
|
|
104
|
-
- Updated dependencies [[`fdd4ab464`](https://github.com/firebase/firebase-js-sdk/commit/fdd4ab464b59a107bdcc195df3f01e32efd89ed4)]:
|
|
105
|
-
- @firebase/util@1.7.0
|
|
106
|
-
- @firebase/component@0.5.18
|
|
107
|
-
|
|
108
|
-
## 0.9.9
|
|
109
|
-
|
|
110
|
-
### Patch Changes
|
|
111
|
-
|
|
112
|
-
- Updated dependencies [[`b12af44a5`](https://github.com/firebase/firebase-js-sdk/commit/b12af44a5c7500e1192d6cc1a4afc4d77efadbaf)]:
|
|
113
|
-
- @firebase/util@1.6.3
|
|
114
|
-
- @firebase/component@0.5.17
|
|
115
|
-
|
|
116
|
-
## 0.9.8
|
|
117
|
-
|
|
118
|
-
### Patch Changes
|
|
119
|
-
|
|
120
|
-
- Updated dependencies [[`efe2000fc`](https://github.com/firebase/firebase-js-sdk/commit/efe2000fc499e2c85c4e5e0fef6741ff3bad2eb0)]:
|
|
121
|
-
- @firebase/util@1.6.2
|
|
122
|
-
- @firebase/component@0.5.16
|
|
123
|
-
|
|
124
|
-
## 0.9.7
|
|
125
|
-
|
|
126
|
-
### Patch Changes
|
|
127
|
-
|
|
128
|
-
- [`2cd1cc76f`](https://github.com/firebase/firebase-js-sdk/commit/2cd1cc76f2a308135cd60f424fe09084a34b5cb5) [#6307](https://github.com/firebase/firebase-js-sdk/pull/6307) (fixes [#6300](https://github.com/firebase/firebase-js-sdk/issues/6300)) - fix: add type declarations to exports field
|
|
129
|
-
|
|
130
|
-
* [`d6338f0af`](https://github.com/firebase/firebase-js-sdk/commit/d6338f0af0f9914d2cd9a16435a9e2ef267d2f4c) [#6345](https://github.com/firebase/firebase-js-sdk/pull/6345) (fixes [#6343](https://github.com/firebase/firebase-js-sdk/issues/6343)) - Fixed Node ESM bundle to build from Node entry point. (It was incorrectly using the browser entry point.)
|
|
131
|
-
|
|
132
|
-
* Updated dependencies [[`2cd1cc76f`](https://github.com/firebase/firebase-js-sdk/commit/2cd1cc76f2a308135cd60f424fe09084a34b5cb5)]:
|
|
133
|
-
- @firebase/component@0.5.15
|
|
134
|
-
- @firebase/util@1.6.1
|
|
135
|
-
|
|
136
|
-
## 0.9.6
|
|
137
|
-
|
|
138
|
-
### Patch Changes
|
|
139
|
-
|
|
140
|
-
- Updated dependencies [[`9c5c9c36d`](https://github.com/firebase/firebase-js-sdk/commit/9c5c9c36da80b98b73cfd60ef2e2965087e9f801)]:
|
|
141
|
-
- @firebase/util@1.6.0
|
|
142
|
-
- @firebase/component@0.5.14
|
|
143
|
-
|
|
144
|
-
## 0.9.5
|
|
145
|
-
|
|
146
|
-
### Patch Changes
|
|
147
|
-
|
|
148
|
-
- Updated dependencies [[`e9e5f6b3c`](https://github.com/firebase/firebase-js-sdk/commit/e9e5f6b3ca9d61323b22f87986d9959f5297ec59)]:
|
|
149
|
-
- @firebase/util@1.5.2
|
|
150
|
-
- @firebase/component@0.5.13
|
|
151
|
-
|
|
152
|
-
## 0.9.4
|
|
153
|
-
|
|
154
|
-
### Patch Changes
|
|
155
|
-
|
|
156
|
-
- Updated dependencies [[`3198d58dc`](https://github.com/firebase/firebase-js-sdk/commit/3198d58dcedbf7583914dbcc76984f6f7df8d2ef)]:
|
|
157
|
-
- @firebase/util@1.5.1
|
|
158
|
-
- @firebase/component@0.5.12
|
|
159
|
-
|
|
160
|
-
## 0.9.3
|
|
161
|
-
|
|
162
|
-
### Patch Changes
|
|
163
|
-
|
|
164
|
-
- Updated dependencies [[`2d672cead`](https://github.com/firebase/firebase-js-sdk/commit/2d672cead167187cb714cd89b638c0884ba58f03)]:
|
|
165
|
-
- @firebase/util@1.5.0
|
|
166
|
-
- @firebase/component@0.5.11
|
|
167
|
-
|
|
168
|
-
## 0.9.2
|
|
169
|
-
|
|
170
|
-
### Patch Changes
|
|
171
|
-
|
|
172
|
-
- [`d612d6f6e`](https://github.com/firebase/firebase-js-sdk/commit/d612d6f6e4d3113d45427b7df68459c0a3e31a1f) [#5928](https://github.com/firebase/firebase-js-sdk/pull/5928) - Upgrade `node-fetch` dependency due to a security issue.
|
|
173
|
-
|
|
174
|
-
## 0.9.1
|
|
175
|
-
|
|
176
|
-
### Patch Changes
|
|
177
|
-
|
|
178
|
-
- [`3b481f572`](https://github.com/firebase/firebase-js-sdk/commit/3b481f572456e1eab3435bfc25717770d95a8c49) [#5831](https://github.com/firebase/firebase-js-sdk/pull/5831) (fixes [#5754](https://github.com/firebase/firebase-js-sdk/issues/5754)) - FirestoreError and StorageError now extend FirebaseError
|
|
179
|
-
|
|
180
|
-
- Updated dependencies [[`3b481f572`](https://github.com/firebase/firebase-js-sdk/commit/3b481f572456e1eab3435bfc25717770d95a8c49)]:
|
|
181
|
-
- @firebase/util@1.4.3
|
|
182
|
-
- @firebase/component@0.5.10
|
|
183
|
-
|
|
184
|
-
## 0.9.0
|
|
185
|
-
|
|
186
|
-
### Minor Changes
|
|
187
|
-
|
|
188
|
-
- [`e34e98e73`](https://github.com/firebase/firebase-js-sdk/commit/e34e98e73a72f77ee87d9005d6728402129deda9) [#5672](https://github.com/firebase/firebase-js-sdk/pull/5672) (fixes [#76](https://github.com/firebase/firebase-js-sdk/issues/76)) - Adds `getBytes()`, `getStream()` and `getBlob()`, which allow direct file downloads from the SDK.
|
|
189
|
-
|
|
190
|
-
### Patch Changes
|
|
191
|
-
|
|
192
|
-
- [`0394cc97b`](https://github.com/firebase/firebase-js-sdk/commit/0394cc97b98f04dae87b718655eb46174275ebc2) [#5743](https://github.com/firebase/firebase-js-sdk/pull/5743) - Fix typings for storage and storage-compat.
|
|
193
|
-
|
|
194
|
-
## 0.8.7
|
|
195
|
-
|
|
196
|
-
### Patch Changes
|
|
197
|
-
|
|
198
|
-
- [`e0fe2b668`](https://github.com/firebase/firebase-js-sdk/commit/e0fe2b668b64b64d842988c2c147d3de66148f48) [#5703](https://github.com/firebase/firebase-js-sdk/pull/5703) (fixes [#5628](https://github.com/firebase/firebase-js-sdk/issues/5628)) - Clear the global timeout once an operation is done in the Storage SDK. Otherwise it may prevent Node.js from exiting.
|
|
199
|
-
|
|
200
|
-
## 0.8.6
|
|
201
|
-
|
|
202
|
-
### Patch Changes
|
|
203
|
-
|
|
204
|
-
- [`3281315fa`](https://github.com/firebase/firebase-js-sdk/commit/3281315fae9c6f535f9d5052ee17d60861ea569a) [#5708](https://github.com/firebase/firebase-js-sdk/pull/5708) (fixes [#1487](https://github.com/firebase/firebase-js-sdk/issues/1487)) - Update build scripts to work with the exports field
|
|
205
|
-
|
|
206
|
-
- Updated dependencies [[`3281315fa`](https://github.com/firebase/firebase-js-sdk/commit/3281315fae9c6f535f9d5052ee17d60861ea569a)]:
|
|
207
|
-
- @firebase/component@0.5.9
|
|
208
|
-
- @firebase/util@1.4.2
|
|
209
|
-
|
|
210
|
-
## 0.8.5
|
|
211
|
-
|
|
212
|
-
### Patch Changes
|
|
213
|
-
|
|
214
|
-
- [`2322b6023`](https://github.com/firebase/firebase-js-sdk/commit/2322b6023c628cd9f4f4172767c17d215dd91684) [#5693](https://github.com/firebase/firebase-js-sdk/pull/5693) - Add exports field to all packages
|
|
215
|
-
|
|
216
|
-
- Updated dependencies [[`2322b6023`](https://github.com/firebase/firebase-js-sdk/commit/2322b6023c628cd9f4f4172767c17d215dd91684)]:
|
|
217
|
-
- @firebase/component@0.5.8
|
|
218
|
-
- @firebase/util@1.4.1
|
|
219
|
-
|
|
220
|
-
## 0.8.4
|
|
221
|
-
|
|
222
|
-
### Patch Changes
|
|
223
|
-
|
|
224
|
-
- [`a7e00b9eb`](https://github.com/firebase/firebase-js-sdk/commit/a7e00b9ebbb05b094a8bf620790146e750463c12) [#5578](https://github.com/firebase/firebase-js-sdk/pull/5578) (fixes [#5372](https://github.com/firebase/firebase-js-sdk/issues/5372)) - Do not throw from `connection.send` to enable retries in Node.js.
|
|
225
|
-
|
|
226
|
-
* [`93795c780`](https://github.com/firebase/firebase-js-sdk/commit/93795c7801d6b28ccbbe5855fd2f3fc377b1db5f) [#5596](https://github.com/firebase/firebase-js-sdk/pull/5596) - report build variants for packages
|
|
227
|
-
|
|
228
|
-
## 0.8.3
|
|
229
|
-
|
|
230
|
-
### Patch Changes
|
|
231
|
-
|
|
232
|
-
- Updated dependencies [[`a99943fe3`](https://github.com/firebase/firebase-js-sdk/commit/a99943fe3bd5279761aa29d138ec91272b06df39), [`b835b4cba`](https://github.com/firebase/firebase-js-sdk/commit/b835b4cbabc4b7b180ae38b908c49205ce31a422)]:
|
|
233
|
-
- @firebase/util@1.4.0
|
|
234
|
-
- @firebase/component@0.5.7
|
|
235
|
-
|
|
236
|
-
## 0.8.2
|
|
237
|
-
|
|
238
|
-
### Patch Changes
|
|
239
|
-
|
|
240
|
-
- [`66d4a1e5d`](https://github.com/firebase/firebase-js-sdk/commit/66d4a1e5d8e1b8b952e21fc3190ec7076d8161ea) [#5453](https://github.com/firebase/firebase-js-sdk/pull/5453) - Store protocol and host separately on Storage service instance. Fixes a bug when generating url strings.
|
|
241
|
-
|
|
242
|
-
## 0.8.1
|
|
243
|
-
|
|
244
|
-
### Patch Changes
|
|
245
|
-
|
|
246
|
-
- [`6163bb282`](https://github.com/firebase/firebase-js-sdk/commit/6163bb282b4e3b6fe5f405c3b3e35d5691d41677) [#5399](https://github.com/firebase/firebase-js-sdk/pull/5399) - Addressed incorrect use of the `node-fetch` polyfill
|
|
247
|
-
|
|
248
|
-
## 0.8.0
|
|
249
|
-
|
|
250
|
-
### Minor Changes
|
|
251
|
-
|
|
252
|
-
- [`cdada6c68`](https://github.com/firebase/firebase-js-sdk/commit/cdada6c68f9740d13dd6674bcb658e28e68253b6) [#5345](https://github.com/firebase/firebase-js-sdk/pull/5345) (fixes [#5015](https://github.com/firebase/firebase-js-sdk/issues/5015)) - Release modularized SDKs
|
|
253
|
-
|
|
254
|
-
## 0.7.0
|
|
255
|
-
|
|
256
|
-
### Minor Changes
|
|
257
|
-
|
|
258
|
-
- [`3c6a11c8d`](https://github.com/firebase/firebase-js-sdk/commit/3c6a11c8d0b35afddb50e9c3e0c4d2e30f642131) [#5282](https://github.com/firebase/firebase-js-sdk/pull/5282) - Implement mockUserToken for Storage and fix JWT format bugs.
|
|
259
|
-
|
|
260
|
-
### Patch Changes
|
|
261
|
-
|
|
262
|
-
- [`fbb32e7bf`](https://github.com/firebase/firebase-js-sdk/commit/fbb32e7bff32942bea16385fc387b8c22952ed4d) [#5315](https://github.com/firebase/firebase-js-sdk/pull/5315) (fixes [#5180](https://github.com/firebase/firebase-js-sdk/issues/5180)) - Change `ref()` to not throw if given a path with '..' in it.
|
|
263
|
-
|
|
264
|
-
- Updated dependencies [[`bb6b5abff`](https://github.com/firebase/firebase-js-sdk/commit/bb6b5abff6f89ce9ec1bd66ff4e795a059a98eec), [`3c6a11c8d`](https://github.com/firebase/firebase-js-sdk/commit/3c6a11c8d0b35afddb50e9c3e0c4d2e30f642131)]:
|
|
265
|
-
- @firebase/component@0.5.6
|
|
266
|
-
- @firebase/storage-types@0.5.0
|
|
267
|
-
- @firebase/util@1.3.0
|
|
268
|
-
|
|
269
|
-
## 0.6.2
|
|
270
|
-
|
|
271
|
-
### Patch Changes
|
|
272
|
-
|
|
273
|
-
- [`5bda08eee`](https://github.com/firebase/firebase-js-sdk/commit/5bda08eee4e0c4007b1d858edcbcc8020604d560) [#5245](https://github.com/firebase/firebase-js-sdk/pull/5245) - Adds a browser CJS build as ./dist/index.browser.cjs.js.
|
|
274
|
-
|
|
275
|
-
## 0.6.1
|
|
276
|
-
|
|
277
|
-
### Patch Changes
|
|
278
|
-
|
|
279
|
-
- Updated dependencies [[`a3cbe719b`](https://github.com/firebase/firebase-js-sdk/commit/a3cbe719b1bd733a5c4c15ee0d0e6388d512054c)]:
|
|
280
|
-
- @firebase/util@1.2.0
|
|
281
|
-
- @firebase/component@0.5.5
|
|
282
|
-
|
|
283
|
-
## 0.6.0
|
|
284
|
-
|
|
285
|
-
### Minor Changes
|
|
286
|
-
|
|
287
|
-
- [`b3caa5158`](https://github.com/firebase/firebase-js-sdk/commit/b3caa515846d2bfcf4a95dedff69f08d503cbfc2) [#5149](https://github.com/firebase/firebase-js-sdk/pull/5149) - Add NodeJS support to Cloud Storage for Firebase. This release changes the `main` field in package.json to point to a Node specific build. If you are building a bundle for borwser usage, please make sure that your bundler uses the `browser` field (the default).
|
|
288
|
-
|
|
289
|
-
## 0.5.6
|
|
290
|
-
|
|
291
|
-
### Patch Changes
|
|
292
|
-
|
|
293
|
-
- Updated dependencies [[`56a6a9d4a`](https://github.com/firebase/firebase-js-sdk/commit/56a6a9d4af2766154584a0f66d3c4d8024d74ba5)]:
|
|
294
|
-
- @firebase/component@0.5.4
|
|
295
|
-
|
|
296
|
-
## 0.5.5
|
|
297
|
-
|
|
298
|
-
### Patch Changes
|
|
299
|
-
|
|
300
|
-
- Updated dependencies [[`725ab4684`](https://github.com/firebase/firebase-js-sdk/commit/725ab4684ef0999a12f71e704c204a00fb030e5d)]:
|
|
301
|
-
- @firebase/component@0.5.3
|
|
302
|
-
|
|
303
|
-
## 0.5.4
|
|
304
|
-
|
|
305
|
-
### Patch Changes
|
|
306
|
-
|
|
307
|
-
- Updated dependencies [[`4c4b6aed9`](https://github.com/firebase/firebase-js-sdk/commit/4c4b6aed9757c9a7e75fb698a15e53274f93880b)]:
|
|
308
|
-
- @firebase/component@0.5.2
|
|
309
|
-
|
|
310
|
-
## 0.5.3
|
|
311
|
-
|
|
312
|
-
### Patch Changes
|
|
313
|
-
|
|
314
|
-
- Updated dependencies [[`5fbc5fb01`](https://github.com/firebase/firebase-js-sdk/commit/5fbc5fb0140d7da980fd7ebbfbae810f8c64ae19)]:
|
|
315
|
-
- @firebase/component@0.5.1
|
|
316
|
-
|
|
317
|
-
## 0.5.2
|
|
318
|
-
|
|
319
|
-
### Patch Changes
|
|
320
|
-
|
|
321
|
-
- Updated dependencies [[`c34ac7a92`](https://github.com/firebase/firebase-js-sdk/commit/c34ac7a92a616915f38d192654db7770d81747ae), [`ac4ad08a2`](https://github.com/firebase/firebase-js-sdk/commit/ac4ad08a284397ec966e991dd388bb1fba857467)]:
|
|
322
|
-
- @firebase/component@0.5.0
|
|
323
|
-
- @firebase/util@1.1.0
|
|
324
|
-
|
|
325
|
-
## 0.5.1
|
|
326
|
-
|
|
327
|
-
### Patch Changes
|
|
328
|
-
|
|
329
|
-
- [`364e336a0`](https://github.com/firebase/firebase-js-sdk/commit/364e336a04e419d019846d702cf27144aeb8939e) [#4807](https://github.com/firebase/firebase-js-sdk/pull/4807) - Fix infinite recursion caused by `FirebaseStorageError` message getter.
|
|
330
|
-
|
|
331
|
-
- Updated dependencies [[`3f370215a`](https://github.com/firebase/firebase-js-sdk/commit/3f370215aa571db6b41b92a7d8a9aaad2ea0ecd0)]:
|
|
332
|
-
- @firebase/storage-types@0.4.1
|
|
333
|
-
|
|
334
|
-
## 0.5.0
|
|
335
|
-
|
|
336
|
-
### Minor Changes
|
|
337
|
-
|
|
338
|
-
- [`5ae73656d`](https://github.com/firebase/firebase-js-sdk/commit/5ae73656d976fa724ea6ca86d496e9531c95b29c) [#4346](https://github.com/firebase/firebase-js-sdk/pull/4346) - Add `storage().useEmulator()` method to enable emulator mode for storage, allowing users
|
|
339
|
-
to set a storage emulator host and port.
|
|
340
|
-
|
|
341
|
-
### Patch Changes
|
|
342
|
-
|
|
343
|
-
- Updated dependencies [[`7354a0ed4`](https://github.com/firebase/firebase-js-sdk/commit/7354a0ed438f4e3df6577e4927e8c8f8f1fbbfda), [`5ae73656d`](https://github.com/firebase/firebase-js-sdk/commit/5ae73656d976fa724ea6ca86d496e9531c95b29c)]:
|
|
344
|
-
- @firebase/util@1.0.0
|
|
345
|
-
- @firebase/storage-types@0.4.0
|
|
346
|
-
- @firebase/component@0.4.1
|
|
347
|
-
|
|
348
|
-
## 0.4.7
|
|
349
|
-
|
|
350
|
-
### Patch Changes
|
|
351
|
-
|
|
352
|
-
- Updated dependencies [[`f24d8961b`](https://github.com/firebase/firebase-js-sdk/commit/f24d8961b3b87821413297688803fc85113086b3)]:
|
|
353
|
-
- @firebase/component@0.4.0
|
|
354
|
-
|
|
355
|
-
## 0.4.6
|
|
356
|
-
|
|
357
|
-
### Patch Changes
|
|
358
|
-
|
|
359
|
-
- Updated dependencies [[`de5f90501`](https://github.com/firebase/firebase-js-sdk/commit/de5f9050137acc9ed1490082e5aa429b5de3cb2a)]:
|
|
360
|
-
- @firebase/util@0.4.1
|
|
361
|
-
- @firebase/component@0.3.1
|
|
362
|
-
|
|
363
|
-
## 0.4.5
|
|
364
|
-
|
|
365
|
-
### Patch Changes
|
|
366
|
-
|
|
367
|
-
- [`5c1a83ed7`](https://github.com/firebase/firebase-js-sdk/commit/5c1a83ed70bae979322bd8751c0885d683ce4bf3) [#4595](https://github.com/firebase/firebase-js-sdk/pull/4595) - Component facotry now takes an options object. And added `Provider.initialize()` that can be used to pass an options object to the component factory.
|
|
368
|
-
|
|
369
|
-
- Updated dependencies [[`5c1a83ed7`](https://github.com/firebase/firebase-js-sdk/commit/5c1a83ed70bae979322bd8751c0885d683ce4bf3)]:
|
|
370
|
-
- @firebase/component@0.3.0
|
|
371
|
-
|
|
372
|
-
## 0.4.4
|
|
373
|
-
|
|
374
|
-
### Patch Changes
|
|
375
|
-
|
|
376
|
-
- Updated dependencies [[`ec95df3d0`](https://github.com/firebase/firebase-js-sdk/commit/ec95df3d07e5f091f2a7f7327e46417f64d04b4e)]:
|
|
377
|
-
- @firebase/util@0.4.0
|
|
378
|
-
- @firebase/component@0.2.1
|
|
379
|
-
|
|
380
|
-
## 0.4.3
|
|
381
|
-
|
|
382
|
-
### Patch Changes
|
|
383
|
-
|
|
384
|
-
- Updated dependencies [[`6afe42613`](https://github.com/firebase/firebase-js-sdk/commit/6afe42613ed3d7a842d378dc1a09a795811db2ac)]:
|
|
385
|
-
- @firebase/component@0.2.0
|
|
386
|
-
|
|
387
|
-
## 0.4.2
|
|
388
|
-
|
|
389
|
-
### Patch Changes
|
|
390
|
-
|
|
391
|
-
- [`f9dc50e35`](https://github.com/firebase/firebase-js-sdk/commit/f9dc50e3520d50b70eecd28b81887e0053f9f636) [#3499](https://github.com/firebase/firebase-js-sdk/pull/3499) - Refactored Storage to allow for modularization.
|
|
392
|
-
|
|
393
|
-
## 0.4.1
|
|
394
|
-
|
|
395
|
-
### Patch Changes
|
|
396
|
-
|
|
397
|
-
- Updated dependencies [[`9cf727fcc`](https://github.com/firebase/firebase-js-sdk/commit/9cf727fcc3d049551b16ae0698ac33dc2fe45ada)]:
|
|
398
|
-
- @firebase/util@0.3.4
|
|
399
|
-
- @firebase/component@0.1.21
|
|
400
|
-
|
|
401
|
-
## 0.4.0
|
|
402
|
-
|
|
403
|
-
### Minor Changes
|
|
404
|
-
|
|
405
|
-
- [`b247ffa76`](https://github.com/firebase/firebase-js-sdk/commit/b247ffa760aec1636de6cfc78851f97a840181ae) [#3967](https://github.com/firebase/firebase-js-sdk/pull/3967) - This releases removes all input validation. Please use our TypeScript types to validate API usage.
|
|
406
|
-
|
|
407
|
-
### Patch Changes
|
|
408
|
-
|
|
409
|
-
- Updated dependencies [[`a5768b0aa`](https://github.com/firebase/firebase-js-sdk/commit/a5768b0aa7d7ce732279931aa436e988c9f36487), [`7d916d905`](https://github.com/firebase/firebase-js-sdk/commit/7d916d905ba16816ac8ac7c8748c83831ff614ce)]:
|
|
410
|
-
- @firebase/component@0.1.20
|
|
411
|
-
- @firebase/util@0.3.3
|
|
412
|
-
|
|
413
|
-
## 0.3.43
|
|
414
|
-
|
|
415
|
-
### Patch Changes
|
|
416
|
-
|
|
417
|
-
- Updated dependencies [[`da1c7df79`](https://github.com/firebase/firebase-js-sdk/commit/da1c7df7982b08bbef82fcc8d93255f3e2d23cca), [`fb3b095e4`](https://github.com/firebase/firebase-js-sdk/commit/fb3b095e4b7c8f57fdb3172bc039c84576abf290)]:
|
|
418
|
-
- @firebase/component@0.1.19
|
|
419
|
-
- @firebase/util@0.3.2
|
|
420
|
-
|
|
421
|
-
## 0.3.42
|
|
422
|
-
|
|
423
|
-
### Patch Changes
|
|
424
|
-
|
|
425
|
-
- Updated dependencies [[`d4ca3da0`](https://github.com/firebase/firebase-js-sdk/commit/d4ca3da0a59fcea1261ba69d7eb663bba38d3089)]:
|
|
426
|
-
- @firebase/util@0.3.1
|
|
427
|
-
- @firebase/component@0.1.18
|
|
428
|
-
|
|
429
|
-
## 0.3.41
|
|
430
|
-
|
|
431
|
-
### Patch Changes
|
|
432
|
-
|
|
433
|
-
- Updated dependencies [[`a87676b8`](https://github.com/firebase/firebase-js-sdk/commit/a87676b84b78ccc2f057a22eb947a5d13402949c)]:
|
|
434
|
-
- @firebase/util@0.3.0
|
|
435
|
-
- @firebase/component@0.1.17
|
|
436
|
-
|
|
437
|
-
## 0.3.40
|
|
438
|
-
|
|
439
|
-
### Patch Changes
|
|
440
|
-
|
|
441
|
-
- [`ee33ebf7`](https://github.com/firebase/firebase-js-sdk/commit/ee33ebf726b1dc31ab4817e7a1923f7b2757e17c) [#3414](https://github.com/firebase/firebase-js-sdk/pull/3414) - Error messages for backend errors now include the backend's reponse message.
|
|
442
|
-
|
|
443
|
-
## 0.3.39
|
|
444
|
-
|
|
445
|
-
### Patch Changes
|
|
446
|
-
|
|
447
|
-
- [`9c409ea7`](https://github.com/firebase/firebase-js-sdk/commit/9c409ea74efd00fe17058c5c8b74450fae67e9ee) [#3224](https://github.com/firebase/firebase-js-sdk/pull/3224) Thanks [@schmidt-sebastian](https://github.com/schmidt-sebastian)! - [fix] Updated the TypeScript types for all APIs using Observers to allow callback omission.
|
|
448
|
-
|
|
449
|
-
- Updated dependencies [[`9c409ea7`](https://github.com/firebase/firebase-js-sdk/commit/9c409ea74efd00fe17058c5c8b74450fae67e9ee)]:
|
|
450
|
-
- @firebase/storage-types@0.3.13
|
|
451
|
-
|
|
452
|
-
## 0.3.38
|
|
453
|
-
|
|
454
|
-
### Patch Changes
|
|
455
|
-
|
|
456
|
-
- Updated dependencies [[`a754645e`](https://github.com/firebase/firebase-js-sdk/commit/a754645ec2be1b8c205f25f510196eee298b0d6e)]:
|
|
457
|
-
- @firebase/component@0.1.16
|
|
458
|
-
- [Changed] Added an additional header to all network requests that propagates the Firebase App ID.
|
|
459
|
-
|
|
460
|
-
# 6.1.0
|
|
461
|
-
|
|
462
|
-
- [Feature] Added the support for List API.
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
// This file is read by tools that parse documentation comments conforming to the TSDoc standard.
|
|
2
|
-
// It should be published with your NPM package. It should not be tracked by Git.
|
|
3
|
-
{
|
|
4
|
-
"tsdocVersion": "0.12",
|
|
5
|
-
"toolPackages": [
|
|
6
|
-
{
|
|
7
|
-
"packageName": "@microsoft/api-extractor",
|
|
8
|
-
"packageVersion": "0.1.2"
|
|
9
|
-
}
|
|
10
|
-
]
|
|
11
|
-
}
|