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 8.0.2 to 9.0.0

6

CHANGELOG.md
# @pnpm/store-controller-types
## 9.0.0
### Major Changes
- 86cd72de3: The `importPackage` function of the store controller returns the `importMethod` that was used to link the package to the virtual store. If importing was not needed, `importMethod` is `undefined`.
## 8.0.2

@@ -4,0 +10,0 @@

17

lib/index.d.ts

@@ -9,8 +9,8 @@ import { DirectoryResolution, PreferredVersions, Resolution, WantedDependency, WorkspacePackages } from '@pnpm/resolver-base';

importPackage: ImportPackageFunction;
close(): Promise<void>;
prune(): Promise<void>;
upload(builtPkgLocation: string, opts: {
close: () => Promise<void>;
prune: () => Promise<void>;
upload: (builtPkgLocation: string, opts: {
filesIndexFile: string;
engine: string;
}): Promise<void>;
}) => Promise<void>;
}

@@ -36,8 +36,9 @@ export declare type FetchPackageToStoreFunction = (opts: FetchPackageToStoreOptions) => {

isBuilt: boolean;
importMethod: undefined | string;
}>;
export declare type PackageFileInfo = {
export interface PackageFileInfo {
integrity: string;
mode: number;
size: number;
};
}
export interface PackageFilesResponse {

@@ -64,3 +65,3 @@ fromStore: boolean;

}
export declare type PackageResponse = {
export interface PackageResponse {
bundledManifest?: () => Promise<BundledManifest>;

@@ -85,2 +86,2 @@ files?: () => Promise<PackageFilesResponse>;

});
};
}

@@ -10,3 +10,3 @@ "use strict";

var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};

@@ -13,0 +13,0 @@ Object.defineProperty(exports, "__esModule", { value: true });

{
"name": "@pnpm/store-controller-types",
"version": "8.0.2",
"version": "9.0.0",
"description": "Types for the store controller",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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