fix(lockfile-types): remove specifiers from ProjectSnapshotV6 (#7477)

This commit is contained in:
Brandon Cheng
2024-01-09 08:10:34 -05:00
committed by GitHub
parent def626861c
commit 27a96a8a8d
2 changed files with 5 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
---
"@pnpm/lockfile-types": patch
---
Remove `specifiers` field from `ProjectSnapshotV6`. This is a typing fix. The field is not present on the v6 lockfile.

View File

@@ -43,7 +43,6 @@ export interface LockfileV6 {
}
export interface ProjectSnapshotV6 {
specifiers: ResolvedDependenciesOfImporters
dependencies?: ResolvedDependenciesOfImporters
optionalDependencies?: ResolvedDependenciesOfImporters
devDependencies?: ResolvedDependenciesOfImporters