Skip to content

Commit 4ad105a

Browse files
authored
fix: use node-fetch fork with fix for stream closed prematurely bug (#127)
node-fetch/node-fetch#1064 fixes a bug in node-fetch to make it handle situations where the stream closes prematurely but it's been merged into the v3 release tree which is still future tech with no release date. node-fetch/node-fetch#1172 backports that fix to v2 but although approved it's not been merged and released yet so here we use a temporary fork published with that PR merged in.
1 parent 6af52a2 commit 4ad105a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"nanoid": "^3.1.20",
6464
"native-abort-controller": "^1.0.3",
6565
"native-fetch": "^3.0.0",
66-
"node-fetch": "^2.6.1",
66+
"node-fetch": "npm:@achingbrain/node-fetch@^2.6.3",
6767
"react-native-fetch-api": "^1.0.2",
6868
"stream-to-it": "^0.2.2"
6969
},

0 commit comments

Comments
 (0)