Unable to load image

Backend JavaShit ecosystem shits the bed yet again

https://old.reddit.com/r/programming/comments/qdlela/breaking_npm_package_uaparserjs_with_more_than_7m?sort=controversial

Of course nobody in the comment section states the obvious reason why NPM is a dependency clusterfrick: webshitters using a library for everything because they can't code worth a darn.

8
Jump in the discussion.

No email address required.

The proper thing to do is to not use the User-Agent, but if you're going to do it it seems best to use a library. No one wants Mosaic Compatible hanging around forever. Or this abomination:

Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71 Safari/537.36 Edge/12.0
Jump in the discussion.

No email address required.

Link copied to clipboard
Action successful!
Error, please refresh the page and try again.