Re:What the web platform can learn from Node.js: The Darwini...
by muraiki on Wednesday December 16, 2015 @02:25PM
(#10746575)
Yes, I agree that this is a problem. You might be using foo in your project which gets a security update, and two things that depend on foo, where one of those things is using the still-vulnerable-foo. So you now have two versions of foo, including one that is vulnerable.
I'm curious to know how other dynamic languages handle this. In Perl I think you generally can't safely load >1 version of the same module, so while you could end up with breakage on an update, you can't end up with the above security problem.
This can be painful when you're dealing with a really big project and someone provides a security update but it's only for the newer version that has lots of breaking changes.