diff --git a/.dep-stats.json b/.dep-stats.json index 180470ba3..e361f8bf9 100644 --- a/.dep-stats.json +++ b/.dep-stats.json @@ -1,8 +1,9 @@ { "dependencies": { "@apideck/better-ajv-errors": "0.3.6", - "@pnpm/lockfile-file": "^9.1.3", - "@pnpm/lockfile.detect-dep-types": "^1001.0.5", + "@pnpm/lockfile.detect-dep-types": "^1001.0.6", + "@pnpm/lockfile.fs": "^1001.1.8", + "@pnpm/logger": "^5.2.0", "@socketregistry/hyrious__bun.lockb": "1.0.16", "@socketregistry/indent-string": "1.0.12", "@socketregistry/is-interactive": "1.0.5", @@ -50,8 +51,8 @@ }, "external": { "@apideck/better-ajv-errors": "0.3.6", - "@pnpm/lockfile-file": "^9.1.3", - "@pnpm/lockfile.detect-dep-types": "^1001.0.5", + "@pnpm/lockfile.detect-dep-types": "^1001.0.6", + "@pnpm/lockfile.fs": "^1001.1.8", "blessed": "0.1.81", "blessed-contrib": "4.11.0", "browserslist": "4.24.4", diff --git a/package-lock.json b/package-lock.json index 7ed8a15d3..082d1c55b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,8 +10,9 @@ "license": "MIT", "dependencies": { "@apideck/better-ajv-errors": "0.3.6", - "@pnpm/lockfile-file": "^9.1.3", - "@pnpm/lockfile.detect-dep-types": "^1001.0.5", + "@pnpm/lockfile.detect-dep-types": "^1001.0.6", + "@pnpm/lockfile.fs": "^1001.1.8", + "@pnpm/logger": "^5.2.0", "@socketregistry/hyrious__bun.lockb": "1.0.16", "@socketregistry/indent-string": "1.0.12", "@socketregistry/is-interactive": "1.0.5", diff --git a/package.json b/package.json index fe87aec74..09d372942 100644 --- a/package.json +++ b/package.json @@ -72,8 +72,9 @@ }, "dependencies": { "@apideck/better-ajv-errors": "0.3.6", - "@pnpm/lockfile-file": "^9.1.3", - "@pnpm/lockfile.detect-dep-types": "^1001.0.5", + "@pnpm/lockfile.detect-dep-types": "^1001.0.6", + "@pnpm/lockfile.fs": "^1001.1.8", + "@pnpm/logger": "^5.2.0", "@socketregistry/hyrious__bun.lockb": "1.0.16", "@socketregistry/indent-string": "1.0.12", "@socketregistry/is-interactive": "1.0.5", diff --git a/src/commands/fix/pnpm-fix.ts b/src/commands/fix/pnpm-fix.ts index 2c4b54d8d..3f2e5e4e0 100644 --- a/src/commands/fix/pnpm-fix.ts +++ b/src/commands/fix/pnpm-fix.ts @@ -1,4 +1,4 @@ -import { readWantedLockfile } from '@pnpm/lockfile-file' +import { readWantedLockfile } from '@pnpm/lockfile.fs' import { getManifestData } from '@socketsecurity/registry' import { diff --git a/src/utils/lockfile/pnpm-lock-yaml.ts b/src/utils/lockfile/pnpm-lock-yaml.ts index 4e8263283..b17fd5d08 100644 --- a/src/utils/lockfile/pnpm-lock-yaml.ts +++ b/src/utils/lockfile/pnpm-lock-yaml.ts @@ -5,7 +5,7 @@ import { addArtifactToAlertsMap } from '../socket-package-alert' import type { CompactSocketArtifact } from '../alert/artifact' import type { AlertIncludeFilter, AlertsByPkgId } from '../socket-package-alert' -import type { Lockfile } from '@pnpm/lockfile-file' +import type { LockfileObject } from '@pnpm/lockfile.fs' import type { Spinner } from '@socketsecurity/registry/lib/spinner' export type GetAlertsMapFromPnpmLockfileOptions = { @@ -15,7 +15,7 @@ export type GetAlertsMapFromPnpmLockfileOptions = { } export async function getAlertsMapFromPnpmLockfile( - lockfile: Lockfile, + lockfile: LockfileObject, options?: GetAlertsMapFromPnpmLockfileOptions | undefined ): Promise { const { include: _include, spinner } = {