Commit 67d5039 1 parent 469a455 commit 67d5039 Copy full SHA for 67d5039
File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import CacheableRequest, {
14
14
} from 'cacheable-request' ;
15
15
import decompressResponse from 'decompress-response' ;
16
16
import is from '@sindresorhus/is' ;
17
- import { buffer as getBuffer } from 'get-stream' ;
17
+ import getStream from 'get-stream' ;
18
18
import { FormDataEncoder , isFormData as isFormDataLike } from 'form-data-encoder' ;
19
19
import type { ClientRequestWithTimings , Timings , IncomingMessageWithTimings } from '@szmarczak/http-timer' ;
20
20
import type ResponseLike from 'responselike' ;
@@ -54,6 +54,8 @@ export type Progress = {
54
54
total ?: number ;
55
55
} ;
56
56
57
+ const { buffer : getBuffer } = getStream ;
58
+
57
59
const supportsBrotli = is . string ( process . versions . brotli ) ;
58
60
59
61
const methodsWithoutBody : ReadonlySet < string > = new Set ( [ 'GET' , 'HEAD' ] ) ;
You can’t perform that action at this time.
0 commit comments