I wouldn't dismiss the responsibility of culture in the JS dependency problem. I agree with a few points in the article but much of these dependencies aren't needed, they are preferred and importing is normalized.
Left-pad wasn't a problem because of browser constraints, it was a problem because of culture and to some extent discipline.
This doesn't excuse some authors who enjoy constantly rewriting their libraries just for the hell of it, consistently introducing breaking API changes.
react-router might be one of the best examples (or the worst, depends on how you look at it), and it's unfortunately very popular, even though sane and stable alternatives exist (like wouter).
Left-pad wasn't a problem because of browser constraints, it was a problem because of culture and to some extent discipline.