@pnpm/lockfile-types
Advanced tools
Comparing version 4.3.6 to 5.0.0
@@ -1,6 +0,6 @@ | ||
import { DependenciesMeta, PatchFile } from '@pnpm/types'; | ||
export { PatchFile }; | ||
import { type DependenciesMeta, type PatchFile } from '@pnpm/types'; | ||
export type { PatchFile }; | ||
export interface Lockfile { | ||
importers: Record<string, ProjectSnapshot>; | ||
lockfileVersion: number; | ||
lockfileVersion: number | string; | ||
time?: Record<string, string>; | ||
@@ -22,2 +22,25 @@ packages?: PackageSnapshots; | ||
} | ||
export interface LockfileV6 { | ||
importers: Record<string, ProjectSnapshotV6>; | ||
lockfileVersion: number | string; | ||
time?: Record<string, string>; | ||
packages?: PackageSnapshots; | ||
neverBuiltDependencies?: string[]; | ||
onlyBuiltDependencies?: string[]; | ||
overrides?: Record<string, string>; | ||
packageExtensionsChecksum?: string; | ||
patchedDependencies?: Record<string, PatchFile>; | ||
} | ||
export interface ProjectSnapshotV6 { | ||
specifiers: ResolvedDependenciesOfImporters; | ||
dependencies?: ResolvedDependenciesOfImporters; | ||
optionalDependencies?: ResolvedDependenciesOfImporters; | ||
devDependencies?: ResolvedDependenciesOfImporters; | ||
dependenciesMeta?: DependenciesMeta; | ||
publishDirectory?: string; | ||
} | ||
export type ResolvedDependenciesOfImporters = Record<string, { | ||
version: string; | ||
specifier: string; | ||
}>; | ||
export interface PackageSnapshots { | ||
@@ -33,3 +56,2 @@ [packagePath: string]: PackageSnapshot; | ||
integrity?: string; | ||
registry?: string; | ||
} | ||
@@ -78,3 +100,3 @@ /** | ||
bundledDependencies?: string[]; | ||
engines?: { | ||
engines?: Record<string, string> & { | ||
node: string; | ||
@@ -81,0 +103,0 @@ }; |
{ | ||
"name": "@pnpm/lockfile-types", | ||
"version": "4.3.6", | ||
"version": "5.0.0", | ||
"description": "Types for the pnpm-lock.yaml lockfile", | ||
@@ -8,3 +8,3 @@ "main": "lib/index.js", | ||
"engines": { | ||
"node": ">=14.6" | ||
"node": ">=16.14" | ||
}, | ||
@@ -17,3 +17,3 @@ "files": [ | ||
"keywords": [ | ||
"pnpm7", | ||
"pnpm8", | ||
"pnpm", | ||
@@ -29,6 +29,6 @@ "types" | ||
"dependencies": { | ||
"@pnpm/types": "8.10.0" | ||
"@pnpm/types": "9.0.0" | ||
}, | ||
"devDependencies": { | ||
"@pnpm/lockfile-types": "4.3.6" | ||
"@pnpm/lockfile-types": "5.0.0" | ||
}, | ||
@@ -39,5 +39,5 @@ "exports": { | ||
"scripts": { | ||
"lint": "eslint src/**/*.ts", | ||
"lint": "eslint \"src/**/*.ts\"", | ||
"compile": "tsc --build && pnpm run lint --fix" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
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
5574
119
+ Added@pnpm/types@9.0.0(transitive)
- Removed@pnpm/types@8.10.0(transitive)
Updated@pnpm/types@9.0.0