News for hackers. Stuff that matters.
Re:JavaScript Libraries Are Almost Never Updated Once Installed by rodw on Saturday February 08, 2020 @12:09AM (#22274053)
"JavaScript Libraries Are Almost Never Updated Once Installed"

...on an website.

I imagine the ease with which one can type `npm i` or `yarn install` means that server-side JavaScript libraries are updated frequently. Wasn't that the whole problem with that leftpad thing?

Out of curiosity I went to look for the most frequently downloaded (installed) library on npm, which apparently is not directly available, but here's a pretty arbitrary selection of things that came to mind:

* express - last release 8 months - 11.4m downloads this week

* React (which is pretty browser-oriented, right?) - last release 3 months ago - 6.5m downloads this week

* Underscore - last release 1 month ago - 6.7m downloads this week

* jquery (almost exclusively browser-oriented, certainly DOM oriented) - last release 9 mos ago - 3.1m downloads this week

It seems like someone must be keeping up-to-date.

Also "installed" is a misleading statement in the web context, JavsScript libraries aren't _installed_ they are _integrated_ with the site, which means an upgrade isn't free, it's a semi-new integration effort.

There are no comments on this comment yet.