Warning: This tool is still in early development. The API may change, and some features are incomplete or not yet fully tested. Use in production at your own risk.
pnpm-lock.yaml adapter for lockfile-affected.
Parse lockfile content into a normalized name -> version snapshot.
import { pnpmLockfileParser } from '@lockfile-affected/lockfile-pnpm';
const snapshot = await pnpmLockfileParser.parse(lockfileContent);The parser implements the LockfileParser interface from @lockfile-affected/core.
npm install @lockfile-affected/lockfile-pnpmFor Git-based and CI usage patterns, see
lockfile-affected
or the CLI README.