3rd-Eden / useragent

Useragent parser for Node.js, ported from browserscope.org
MIT License
897 stars 137 forks source link

Browserify usage: detection fails on older browsers and remote update fails #126

Open lukeburns opened 6 years ago

lukeburns commented 6 years ago

https://github.com/3rd-Eden/useragent/commit/dde6a226ffabc5ce1e1e4a92e0d73a1c7997c595#diff-1af4749a9cdb4c3869ddabe803c584ff introduced the dependency tmp that uses ES6 and breaks in older browsers when browserified, even if remote update is not used. It is also the case that remote update does not currently work in the browser — I believe because of fs use.