Because it was a haphazard design.
A lot of the progress is just Javascript catching up to thoughtfully designed languages like Python. That's a good and necessary thing, but the fact remains.
It's long past 'catching up'. It's a healthy ecosystem.
Javascript is definitely making great progress, but npm thrown in as an example of how it's "long past catching up?" That's like, bare-minimum required functionality.
I'm not trying to attack, but when JS evangelists cite something like npm as a zap-pow feature, skeptics roll their eyes - especially when they've been using pip/rubygems/cpan for a decade or two.
Edit: I realize now you were probably citing npm more as evidence of JS having arrived with a healthy ecosystem (true) than as evidence it's leapfrogged others.
There is definitely a lot of churn, but slowly but surely you are seeing certain functional programming approaches winning out.
And the language is progressing so much faster than similar dynamic languages like Python.