Skip to content
Snippets Groups Projects
Commit 8598c5ed authored by Rhys Arkins's avatar Rhys Arkins
Browse files

fix(npm): increase highWaterMark

parent 64de057c
No related branches found
No related tags found
No related merge requests found
......@@ -113,6 +113,7 @@ export async function getDependency(
retry: 5,
headers,
useCache,
readableHighWaterMark: 1024 * 1024 * 10, // https://github.com/sindresorhus/got/issues/1062#issuecomment-586580036
};
const raw = await got(pkgUrl, opts);
// istanbul ignore if
......
......@@ -5,6 +5,7 @@ export interface Options {
hostType?: string;
search?: string;
useCache?: boolean;
readableHighWaterMark?: number;
}
export type GotJSONOptions = Options & got.GotJSONOptions;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment