Skip to content

Commit

Permalink
Add support for firefox ios #94
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksejs Gordejevs committed Feb 7, 2018
1 parent 87307ef commit 46cb526
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/express-useragent.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@
var IS_BOT_REGEXP = new RegExp('^.*(' + BOTS.join('|') + ').*$');

var UserAgent = function () {
this.version = '1.0.4';
this.version = '1.0.10';
this._Versions = {
Edge: /(?:edge|edga|edgios)\/([\d\w\.\-]+)/i,
Firefox: /firefox|fxios\/([\d\w\.\-]+)/i,
Firefox: /(?:firefox|fxios)\/([\d\w\.\-]+)/i,
IE: /msie\s([\d\.]+[\d])|trident\/\d+\.\d+;.*[rv:]+(\d+\.\d)/i,
Chrome: /(?:chrome|crios)\/([\d\w\.\-]+)/i,
Chromium: /chromium\/([\d\w\.\-]+)/i,
Expand Down
Loading

0 comments on commit 46cb526

Please sign in to comment.