Socket
Socket
Sign inDemoInstall

@pnpm/store-controller-types

Package Overview
Dependencies
Maintainers
3
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/store-controller-types - npm Package Compare versions

Comparing version 1.2.0 to 2.0.0

8

lib/index.d.ts

@@ -5,2 +5,9 @@ import { DirectoryResolution, LocalPackages, Resolution, WantedDependency } from '@pnpm/resolver-base';

export interface StoreController {
getPackageLocation(packageId: string, packageName: string, opts: {
importerPrefix: string;
targetEngine?: string;
}): Promise<{
directory: string;
isBuilt: boolean;
}>;
requestPackage: RequestPackageFunction;

@@ -21,3 +28,2 @@ fetchPackage: FetchPackageToStoreFunction;

}): Promise<void>;
getCacheByEngine(storePath: string, id: string): Promise<Map<string, string>>;
findPackageUsages(searchQueries: string[]): Promise<PackageUsagesBySearchQueries>;

@@ -24,0 +30,0 @@ }

4

package.json
{
"name": "@pnpm/store-controller-types",
"version": "1.2.0",
"version": "2.0.0",
"description": "Types for the store controller",

@@ -32,3 +32,3 @@ "main": "lib/index.js",

"rimraf": "2.6.2",
"tslint": "5.11.0",
"tslint": "5.12.0",
"typescript": "3.2.2"

@@ -35,0 +35,0 @@ },

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