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.
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:Jump in the discussion.
No email address required.
More options
Context