Skip to content

Commit a795ee0

Browse files
committed
1 parent 8ed043c commit a795ee0

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

node_modules/minipass-fetch/lib/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,8 +318,7 @@ const fetch = async (url, opts) => {
318318
if (codings === 'deflate' || codings === 'x-deflate') {
319319
// handle the infamous raw deflate response from old servers
320320
// 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 => {
323322
// see http://stackoverflow.com/questions/37519828
324323
const decoder = (chunk[0] & 0x0F) === 0x08
325324
? new zlib.Inflate()

node_modules/minipass-fetch/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "minipass-fetch",
3-
"version": "4.0.0",
3+
"version": "4.0.1",
44
"description": "An implementation of window.fetch in Node.js using Minipass streams",
55
"license": "MIT",
66
"main": "lib/index.js",

package-lock.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10167,9 +10167,9 @@
1016710167
}
1016810168
},
1016910169
"node_modules/minipass-fetch": {
10170-
"version": "4.0.0",
10171-
"resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-4.0.0.tgz",
10172-
"integrity": "sha512-2v6aXUXwLP1Epd/gc32HAMIWoczx+fZwEPRHm/VwtrJzRGwR1qGZXEYV3Zp8ZjjbwaZhMrM6uHV4KVkk+XCc2w==",
10170+
"version": "4.0.1",
10171+
"resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-4.0.1.tgz",
10172+
"integrity": "sha512-j7U11C5HXigVuutxebFadoYBbd7VSdZWggSe64NVdvWNBqGAiXPL2QVCehjmw7lY1oF9gOllYbORh+hiNgfPgQ==",
1017310173
"inBundle": true,
1017410174
"license": "MIT",
1017510175
"dependencies": {

0 commit comments

Comments
 (0)