File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed
node_modules/minipass-fetch Expand file tree Collapse file tree 3 files changed +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
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 10167
10167
}
10168
10168
},
10169
10169
"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 ==",
10173
10173
"inBundle": true,
10174
10174
"license": "MIT",
10175
10175
"dependencies": {
You can’t perform that action at this time.
0 commit comments