mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
### What does this PR do? Packages with self dependencies at a different version were colliding with the current version in the store node_modules. This pr nests them in another node_modules Example: self-dep@1.0.2 has a dependency on self-dep@1.0.1. self-dep@1.0.2 is placed here in: `./node_modules/.bun/self-dep@1.0.2/node_modules/self-dep` and it's self-dep dependency symlink is now placed in: `./node_modules/.bun/self-dep@1.0.2/node_modules/self-dep/node_modules/self-dep` fixes #22681 ### How did you verify your code works? Manually tested the linked issue is working, and added a test --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>