Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pnpm/pick-fetcher

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/pick-fetcher - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

1

lib/index.d.ts
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;

3

lib/index.js
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc