I'd have to check again, but I looked for specific versions of a JS file and found it repeated multiple times throughout the forest of node_modules.
If side-by-side is desired, then just suffix the folder with a version name. foo.js-1.1 and foo.js-1.0 can be in the root and reused by every package that needs either.
Maybe it does that and I didn't understand what I was looking at.