Merge branch 'hotfix/1.7.1' into production

v1.x 1.7.1
Denis Demchenko 7 years ago
commit ff1714a904

@ -1,5 +1,8 @@
# Bowser Changelog
### 1.7.1 (July 13, 2017)
- [ADD] Fix detecting of Tablet PC as tablet (#183)
### 1.7.0 (May 18, 2017)
- [ADD] Add OS version support for Windows and macOS (#178)

@ -1,6 +1,6 @@
{
"name": "bowser",
"version": "1.7.0",
"version": "1.7.1",
"description": "Lightweight browser detector",
"keywords": [
"browser",

@ -44,7 +44,7 @@
, linux = !android && !sailfish && !tizen && !webos && /linux/i.test(ua)
, edgeVersion = getFirstMatch(/edge\/(\d+(\.\d+)?)/i)
, versionIdentifier = getFirstMatch(/version\/(\d+(\.\d+)?)/i)
, tablet = /tablet/i.test(ua)
, tablet = /tablet/i.test(ua) && !/tablet pc/i.test(ua)
, mobile = !tablet && /[^-]mobi/i.test(ua)
, xbox = /xbox/i.test(ua)
, result

Loading…
Cancel
Save