Skip to content

Commit 27588db

Browse files
committed
Fix missing pnpm peer dep
1 parent 57540f0 commit 27588db

File tree

5 files changed

+14
-11
lines changed

5 files changed

+14
-11
lines changed

.dep-stats.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
{
22
"dependencies": {
33
"@apideck/better-ajv-errors": "0.3.6",
4-
"@pnpm/lockfile-file": "^9.1.3",
5-
"@pnpm/lockfile.detect-dep-types": "^1001.0.5",
4+
"@pnpm/lockfile.detect-dep-types": "^1001.0.6",
5+
"@pnpm/lockfile.fs": "^1001.1.8",
6+
"@pnpm/logger": "^5.2.0",
67
"@socketregistry/hyrious__bun.lockb": "1.0.16",
78
"@socketregistry/indent-string": "1.0.12",
89
"@socketregistry/is-interactive": "1.0.5",
@@ -50,8 +51,8 @@
5051
},
5152
"external": {
5253
"@apideck/better-ajv-errors": "0.3.6",
53-
"@pnpm/lockfile-file": "^9.1.3",
54-
"@pnpm/lockfile.detect-dep-types": "^1001.0.5",
54+
"@pnpm/lockfile.detect-dep-types": "^1001.0.6",
55+
"@pnpm/lockfile.fs": "^1001.1.8",
5556
"blessed": "0.1.81",
5657
"blessed-contrib": "4.11.0",
5758
"browserslist": "4.24.4",

package-lock.json

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,9 @@
7272
},
7373
"dependencies": {
7474
"@apideck/better-ajv-errors": "0.3.6",
75-
"@pnpm/lockfile-file": "^9.1.3",
76-
"@pnpm/lockfile.detect-dep-types": "^1001.0.5",
75+
"@pnpm/lockfile.detect-dep-types": "^1001.0.6",
76+
"@pnpm/lockfile.fs": "^1001.1.8",
77+
"@pnpm/logger": "^5.2.0",
7778
"@socketregistry/hyrious__bun.lockb": "1.0.16",
7879
"@socketregistry/indent-string": "1.0.12",
7980
"@socketregistry/is-interactive": "1.0.5",

src/commands/fix/pnpm-fix.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { readWantedLockfile } from '@pnpm/lockfile-file'
1+
import { readWantedLockfile } from '@pnpm/lockfile.fs'
22

33
import { getManifestData } from '@socketsecurity/registry'
44
import {

src/utils/lockfile/pnpm-lock-yaml.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { addArtifactToAlertsMap } from '../socket-package-alert'
55

66
import type { CompactSocketArtifact } from '../alert/artifact'
77
import type { AlertIncludeFilter, AlertsByPkgId } from '../socket-package-alert'
8-
import type { Lockfile } from '@pnpm/lockfile-file'
8+
import type { LockfileObject } from '@pnpm/lockfile.fs'
99
import type { Spinner } from '@socketsecurity/registry/lib/spinner'
1010

1111
export type GetAlertsMapFromPnpmLockfileOptions = {
@@ -15,7 +15,7 @@ export type GetAlertsMapFromPnpmLockfileOptions = {
1515
}
1616

1717
export async function getAlertsMapFromPnpmLockfile(
18-
lockfile: Lockfile,
18+
lockfile: LockfileObject,
1919
options?: GetAlertsMapFromPnpmLockfileOptions | undefined
2020
): Promise<AlertsByPkgId> {
2121
const { include: _include, spinner } = {

0 commit comments

Comments
 (0)