+5
-6
lines changedFilter options
+5
-6
lines changed Original file line number Diff line number Diff line change
@@ -318,8 +318,7 @@ const fetch = async (url, opts) => {
318
318
if (codings === 'deflate' || codings === 'x-deflate') {
319
319
// handle the infamous raw deflate response from old servers
320
320
// a hack for old IIS and Apache servers
321
-
const raw = res.pipe(new Minipass())
322
-
raw.once('data', chunk => {
321
+
res.once('data', chunk => {
323
322
// see http://stackoverflow.com/questions/37519828
324
323
const decoder = (chunk[0] & 0x0F) === 0x08
325
324
? new zlib.Inflate()
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "minipass-fetch",
3
-
"version": "4.0.0",
3
+
"version": "4.0.1",
4
4
"description": "An implementation of window.fetch in Node.js using Minipass streams",
5
5
"license": "MIT",
6
6
"main": "lib/index.js",
Original file line number Diff line number Diff line change
@@ -11917,9 +11917,9 @@
11917
11917
}
11918
11918
},
11919
11919
"node_modules/minipass-fetch": {
11920
-
"version": "4.0.0",
11921
-
"resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-4.0.0.tgz",
11922
-
"integrity": "sha512-2v6aXUXwLP1Epd/gc32HAMIWoczx+fZwEPRHm/VwtrJzRGwR1qGZXEYV3Zp8ZjjbwaZhMrM6uHV4KVkk+XCc2w==",
11920
+
"version": "4.0.1",
11921
+
"resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-4.0.1.tgz",
11922
+
"integrity": "sha512-j7U11C5HXigVuutxebFadoYBbd7VSdZWggSe64NVdvWNBqGAiXPL2QVCehjmw7lY1oF9gOllYbORh+hiNgfPgQ==",
11923
11923
"inBundle": true,
11924
11924
"license": "MIT",
11925
11925
"dependencies": {
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4