mirror of
https://github.com/oven-sh/bun
synced 2026-02-14 04:49:06 +00:00
After testing actual npm behavior, discovered the correct format is:
{
"overrides": {
"parent-pkg": {
"child-pkg": "version"
}
}
}
NOT what I originally implemented (child as key with parent nested inside).
Updated parseFromOverrides to correctly parse this structure. Override is now
stored in lockfile correctly, but runtime application still needs debugging.
Test results:
- Parsing works ✓ (override appears in lockfile)
- Runtime application ✗ (override not applied during install)
Next: Debug why parent_name_hash lookup isn't working in PackageManagerEnqueue