4 ms·
It's a consequence of modularization, and it's not at all unique to Node.js. (Although Node.js has hyper-modularization, so the situation is more pronounced.)
by paulddraper 7y ago
It's a consequence of modularization, and it's not at all unique to Node.js. (Although Node.js has hyper-modularization, so the situation is more pronounced.)
Ruby gem has lock files, Python pip has lock files. I wish everyday that apt/dpkg had lock files.
The balance is between permissive versions (small install size) and pinned versions (reproducibility).
Some situations call for one, some call for the other.
- j88439h84 7y agoBut doesn't Node give each module its own deps? Python can't do this because it doesn't support multiple versions of the same dep.