@pnpm/pick-fetcher
Advanced tools
Comparing version 2.0.0 to 2.0.1
import type { Resolution } from '@pnpm/resolver-base'; | ||
import type { Fetchers } from '@pnpm/fetcher-base'; | ||
export declare function pickFetcher(fetcherByHostingType: Partial<Fetchers>, resolution: Resolution): import("@pnpm/fetcher-base").GitFetcher | import("@pnpm/fetcher-base").DirectoryFetcher | import("@pnpm/fetcher-base").FetchFunction<Resolution, import("@pnpm/fetcher-base").FetchOptions, import("@pnpm/fetcher-base").FetchResult>; | ||
export declare function isGitHostedPkgUrl(url: string): boolean; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.pickFetcher = void 0; | ||
exports.isGitHostedPkgUrl = exports.pickFetcher = void 0; | ||
function pickFetcher(fetcherByHostingType, resolution) { | ||
@@ -29,2 +29,3 @@ let fetcherType = resolution.type; | ||
} | ||
exports.isGitHostedPkgUrl = isGitHostedPkgUrl; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@pnpm/pick-fetcher", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Pick a package fetcher by type", | ||
@@ -25,5 +25,5 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@pnpm/fetcher-base": "14.0.0", | ||
"@pnpm/resolver-base": "10.0.0", | ||
"@pnpm/pick-fetcher": "2.0.0" | ||
"@pnpm/fetcher-base": "15.0.1", | ||
"@pnpm/pick-fetcher": "2.0.1", | ||
"@pnpm/resolver-base": "10.0.2" | ||
}, | ||
@@ -30,0 +30,0 @@ "exports": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4833
34