diff --git a/.yarn/versions/3d022429.yml b/.yarn/versions/3d022429.yml new file mode 100644 index 00000000000..43dd163c5ba --- /dev/null +++ b/.yarn/versions/3d022429.yml @@ -0,0 +1,8 @@ +releases: + "@yarnpkg/plugin-npm": minor + +declined: + - "@yarnpkg/plugin-compat" + - "@yarnpkg/plugin-npm-cli" + - "@yarnpkg/cli" + - "@yarnpkg/core" diff --git a/packages/plugin-npm/sources/NpmHttpFetcher.ts b/packages/plugin-npm/sources/NpmHttpFetcher.ts index 06645f08b81..53bc7efaa08 100644 --- a/packages/plugin-npm/sources/NpmHttpFetcher.ts +++ b/packages/plugin-npm/sources/NpmHttpFetcher.ts @@ -43,7 +43,7 @@ export class NpmHttpFetcher implements Fetcher { }; } - async fetchFromNetwork(locator: Locator, opts: FetchOptions) { + private async fetchFromNetwork(locator: Locator, opts: FetchOptions) { const {params} = structUtils.parseRange(locator.reference); if (params === null || typeof params.__archiveUrl !== `string`) throw new Error(`Assertion failed: The archiveUrl querystring parameter should have been available`);