mirror of
https://github.com/oven-sh/bun
synced 2026-02-13 12:29:07 +00:00
Adds initial Yarn Berry (v2+) migration support with: - YAML parsing for Berry lockfiles - npm: protocol support - workspace: protocol support - Multi-spec handling IMPORTANT: Berry checksums are SKIPPED for now. Berry uses hex-encoded hashes with algorithm prefixes (10c0/=sha512, 10/=sha256, 8/=sha1). Bun expects base64-encoded hashes (sha512-base64...). Converting is complex and error-prone. Decision: Skip Berry checksums, let Bun fetch from npm registry during install. This matches how v1 and pnpm migrations handle missing/incompatible integrity. TODO: Complete implementation and testing