@lockfile-affected/lockfile-bun
v3.1.0
Published
bun.lock adapter for lockfile-affected
Maintainers
Readme
@lockfile-affected/lockfile-bun
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.
bun.lock adapter for lockfile-affected.
Parses bun.lock content into a normalized name -> version snapshot
consumed by @lockfile-affected/core.
Installation
npm install @lockfile-affected/lockfile-bunUsage
import { bunLockfileParser } from '@lockfile-affected/lockfile-bun';
const snapshot = await bunLockfileParser.parse(lockfileContent);
// ReadonlyMap<string, string> (name -> resolved version)The parser implements the LockfileParser interface from @lockfile-affected/core:
bunLockfileParser.format; // "bun"
bunLockfileParser.lockfileNames; // ["bun.lock"]Related packages
lockfile-affected- CLI@lockfile-affected/core- diff engine and types@lockfile-affected/lockfile-pnpm- pnpm adapter@lockfile-affected/lockfile-npm- npm adapter@lockfile-affected/lockfile-yarn- yarn adapter
Publishing
This package is automatically published to npm via GitHub Actions with provenance attestation.
