@pnpm/types
Advanced tools
+5
-1
@@ -0,3 +1,7 @@ | ||
| import type { DepPath } from './misc.js'; | ||
| export type PackageVersionPolicy = (pkgName: string) => boolean | string[]; | ||
| export type AllowBuild = (pkgName: string, pkgVersion: string) => boolean | undefined; | ||
| export interface AllowBuildContext { | ||
| trustPackageIdentity?: boolean; | ||
| } | ||
| export type AllowBuild = (depPath: DepPath, context?: AllowBuildContext) => boolean | undefined; | ||
| export type TrustPolicy = 'no-downgrade' | 'off'; |
+2
-2
| { | ||
| "name": "@pnpm/types", | ||
| "version": "1101.3.0", | ||
| "version": "1101.3.1", | ||
| "description": "Basic types used by pnpm", | ||
@@ -31,3 +31,3 @@ "keywords": [ | ||
| "devDependencies": { | ||
| "@pnpm/types": "1101.3.0" | ||
| "@pnpm/types": "1101.3.1" | ||
| }, | ||
@@ -34,0 +34,0 @@ "engines": { |
15032
0.85%380
1.06%