Hacker News new | ask | show | jobs
by Kuinox 1637 days ago
> would be allowing simultaneous use of multiple versions of a library

Thats called private dependency, and overusing it lead to the node_modules hell (because it was/is the default on npm).

IMO, a way to reduce maintenance on updating dependencies, is having automated code modification that are ran when updating the dependency.

1 comments

yes! although you don’t even have to modify the code per se if you have «content-addressable code». See other comments in this thread that expands on it.