@pnpm/types
Advanced tools
+1
-0
@@ -14,2 +14,3 @@ import { type DependenciesField } from './misc.js'; | ||
| export type ReadPackageHook = <Pkg extends BaseManifest>(pkg: Pkg, dir?: string) => Pkg | Promise<Pkg>; | ||
| export type BeforePackingHook = <Pkg extends BaseManifest>(pkg: Pkg, dir: string) => Pkg | Promise<Pkg>; | ||
| export interface FinderContext { | ||
@@ -16,0 +17,0 @@ alias: string; |
+5
-1
@@ -135,3 +135,7 @@ import { type ExecutionEnv } from './env.js'; | ||
| export type AllowedDeprecatedVersions = Record<string, string>; | ||
| export type ConfigDependencies = Record<string, string>; | ||
| type VersionWithIntegrity = string; | ||
| export type ConfigDependencies = Record<string, VersionWithIntegrity | { | ||
| tarball?: string; | ||
| integrity: VersionWithIntegrity; | ||
| }>; | ||
| export interface AuditConfig { | ||
@@ -138,0 +142,0 @@ ignoreCves?: string[]; |
+1
-1
| The MIT License (MIT) | ||
| Copyright (c) 2015-2016 Rico Sta. Cruz and other contributors | ||
| Copyright (c) 2016-2025 Zoltan Kochan and other contributors | ||
| Copyright (c) 2016-2026 Zoltan Kochan and other contributors | ||
@@ -6,0 +6,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy |
+2
-2
| { | ||
| "name": "@pnpm/types", | ||
| "version": "1001.2.0", | ||
| "version": "1001.3.0", | ||
| "description": "Basic types used by pnpm", | ||
@@ -28,3 +28,3 @@ "keywords": [ | ||
| "devDependencies": { | ||
| "@pnpm/types": "1001.2.0" | ||
| "@pnpm/types": "1001.3.0" | ||
| }, | ||
@@ -31,0 +31,0 @@ "engines": { |
14951
1.49%344
1.47%