@pnpm/store-controller-types
Advanced tools
Comparing version 8.0.2 to 9.0.0
# @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 @@ |
@@ -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", |
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
8901
96