@firebase/storage 0.13.2 → 0.13.3

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.
@@ -16,7 +16,6 @@
16
16
  */
17
17
  /// <reference types="node" />
18
18
  import { Connection, ConnectionType, ErrorCode } from '../../implementation/connection';
19
- import { fetch as undiciFetch, Headers as undiciHeaders } from 'undici';
20
19
  /**
21
20
  * Network layer that works in Node.
22
21
  *
@@ -28,9 +27,8 @@ declare abstract class FetchConnection<T extends ConnectionType> implements Conn
28
27
  protected statusCode_: number | undefined;
29
28
  protected body_: ArrayBuffer | undefined;
30
29
  protected errorText_: string;
31
- protected headers_: undiciHeaders | undefined;
30
+ protected headers_: Headers | undefined;
32
31
  protected sent_: boolean;
33
- protected fetch_: typeof undiciFetch;
34
32
  constructor();
35
33
  send(url: string, method: string, body?: NodeJS.ArrayBufferView | Blob | string, headers?: Record<string, string>): Promise<void>;
36
34
  getErrorCode(): ErrorCode;
@@ -16,7 +16,6 @@
16
16
  */
17
17
  /// <reference types="node" />
18
18
  import { Connection, ConnectionType, ErrorCode } from '../../implementation/connection';
19
- import { fetch as undiciFetch, Headers as undiciHeaders } from 'undici';
20
19
  /**
21
20
  * Network layer that works in Node.
22
21
  *
@@ -28,9 +27,8 @@ declare abstract class FetchConnection<T extends ConnectionType> implements Conn
28
27
  protected statusCode_: number | undefined;
29
28
  protected body_: ArrayBuffer | undefined;
30
29
  protected errorText_: string;
31
- protected headers_: undiciHeaders | undefined;
30
+ protected headers_: Headers | undefined;
32
31
  protected sent_: boolean;
33
- protected fetch_: typeof undiciFetch;
34
32
  constructor();
35
33
  send(url: string, method: string, body?: NodeJS.ArrayBufferView | Blob | string, headers?: Record<string, string>): Promise<void>;
36
34
  getErrorCode(): ErrorCode;
package/package.json CHANGED
@@ -1,12 +1,11 @@
1
1
  {
2
2
  "name": "@firebase/storage",
3
- "version": "0.13.2",
3
+ "version": "0.13.3",
4
4
  "description": "",
5
5
  "author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
6
6
  "main": "dist/index.node.cjs.js",
7
7
  "module": "dist/index.esm2017.js",
8
8
  "browser": "dist/index.esm2017.js",
9
- "esm5": "dist/index.esm5.js",
10
9
  "exports": {
11
10
  ".": {
12
11
  "types": "./dist/storage-public.d.ts",
@@ -14,7 +13,6 @@
14
13
  "import": "./dist/node-esm/index.node.esm.js",
15
14
  "default": "./dist/index.node.cjs.js"
16
15
  },
17
- "esm5": "./dist/index.esm5.js",
18
16
  "browser": {
19
17
  "require": "./dist/index.cjs.js",
20
18
  "import": "./dist/index.esm2017.js"
@@ -48,17 +46,16 @@
48
46
  },
49
47
  "license": "Apache-2.0",
50
48
  "dependencies": {
51
- "@firebase/util": "1.10.0",
52
- "@firebase/component": "0.6.9",
53
- "undici": "6.19.7",
49
+ "@firebase/util": "1.10.1",
50
+ "@firebase/component": "0.6.10",
54
51
  "tslib": "^2.1.0"
55
52
  },
56
53
  "peerDependencies": {
57
54
  "@firebase/app": "0.x"
58
55
  },
59
56
  "devDependencies": {
60
- "@firebase/app": "0.10.11",
61
- "@firebase/auth": "1.7.9",
57
+ "@firebase/app": "0.10.14",
58
+ "@firebase/auth": "1.8.0",
62
59
  "rollup": "2.79.1",
63
60
  "@rollup/plugin-alias": "5.1.0",
64
61
  "@rollup/plugin-json": "4.1.0",
@@ -73,5 +70,8 @@
73
70
  "bugs": {
74
71
  "url": "https://github.com/firebase/firebase-js-sdk/issues"
75
72
  },
76
- "typings": "./dist/storage-public.d.ts"
73
+ "typings": "./dist/storage-public.d.ts",
74
+ "engines": {
75
+ "node": ">=18.0.0"
76
+ }
77
77
  }