File tree 3 files changed +8
-2
lines changed
firestore/src/platform/node_lite
storage/src/platform/node
3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' @firebase/firestore ' : patch
3
+ ' @firebase/storage ' : patch
4
+ ---
5
+
6
+ Addressed incorrect use of the ` node-fetch ` polyfill
Original file line number Diff line number Diff line change 15
15
* limitations under the License.
16
16
*/
17
17
18
- import * as nodeFetch from 'node-fetch' ;
18
+ import nodeFetch from 'node-fetch' ;
19
19
20
20
import { DatabaseInfo } from '../../core/database_info' ;
21
21
import { Connection } from '../../remote/connection' ;
Original file line number Diff line number Diff line change 17
17
18
18
import { ErrorCode , Connection } from '../../implementation/connection' ;
19
19
import { internalError } from '../../implementation/error' ;
20
- import * as nodeFetch from 'node-fetch' ;
20
+ import nodeFetch from 'node-fetch' ;
21
21
22
22
// eslint-disable-next-line @typescript-eslint/no-explicit-any
23
23
const fetch : typeof window . fetch = nodeFetch as any ;
You can’t perform that action at this time.
0 commit comments