You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] install-strategy=linked: .bin shim left dangling after npm uninstall #9613
This is not just a request to bump a dependency for a CVE
This is not solely a request to bump a dependency for a CVE
Current Behavior
After npm uninstall <pkg> under install-strategy=linked, the package's bin shim in the root node_modules/.bin/ is left behind as a dangling symlink pointing at the removed package. The package's top-level symlink and its .store/ entry are correctly removed, but the .bin entry is not. The hoisted strategy removes the .bin entry correctly.
Expected Behavior
npm uninstall under the linked strategy should remove the bin shims of removed packages from the root node_modules/.bin/, leaving no dangling entries (matching the hoisted strategy).
Activity
fix(arborist): remove stale .bin shims after uninstall under linked (n…