3rd-Eden / useragent

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

Update uap-core to get Microsoft Edge recognized #76

Closed mgol closed 9 years ago

mgol commented 9 years ago

Microsoft Edge is now recognized correctly by uap-core after https://github.com/ua-parser/uap-core/pull/59. All is needed here (I guess?) is to run the update script. :)

Currently:

var useragent = require('useragent');
useragent.parse('Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12.9600');
/*
{ family: 'IE',
  major: '12',
  minor: '9600',
  patch: '0',
  source: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12.9600' }
*/
useragent(true);
useragent.parse('Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12.9600');
/*
{ family: 'Edge',
  major: '12',
  minor: '9600',
  patch: '0',
  source: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12.9600' }
*/
nickserv commented 9 years ago

:+1:

3rd-Eden commented 9 years ago

Released 2.1.7

mgol commented 9 years ago

Thanks!