diff --git a/component.json b/component.json index 9387fb3..e73ebd8 100644 --- a/component.json +++ b/component.json @@ -1,6 +1,6 @@ { "name": "ua-parser-js", - "version": "0.6.2", + "version": "0.6.16", "description": "Lightweight JavaScript-based user-agent string parser", "keywords": ["user-agent", "parser", "browser", "engine", "os", "device", "cpu"], "scripts": ["src/ua-parser.js"], diff --git a/package.json b/package.json index 667a214..45c2b1e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "title": "UAParser.js", "name": "ua-parser-js", - "version": "0.6.2", + "version": "0.6.16", "author": "Faisal Salman (http://faisalman.com)", "description": "Lightweight JavaScript-based user-agent string parser", "keywords": [ diff --git a/src/ua-parser.js b/src/ua-parser.js index c50c254..6ae21aa 100644 --- a/src/ua-parser.js +++ b/src/ua-parser.js @@ -1,4 +1,4 @@ -// UAParser.js v0.6.2 +// UAParser.js v0.6.16 // Lightweight JavaScript-based User-Agent string parser // https://github.com/faisalman/ua-parser-js // @@ -373,12 +373,11 @@ /android\s3\.[\s\w-;]{10}(lg?)-([06cv9]{3,4})/i // LG ], [[VENDOR, 'LG'], MODEL, [TYPE, TABLET]], [ - /((nexus\s4))/i, - /((nexus\s5))/i, + /((nexus\s[45]))/i, /(lg)[e;\s-\/]+(\w+)*/i ], [[VENDOR, 'LG'], MODEL, [TYPE, MOBILE]], [ - /android.+((IdeaTab[A-Za-z0-9\-\s]+))/i // Lenovo + /android.+((ideatab[a-z0-9\-\s]+))/i // Lenovo ], [[VENDOR, 'Lenovo'], MODEL, [TYPE, TABLET]], [ /(mobile|tablet);.+rv\:.+gecko\//i // Unidentifiable diff --git a/ua-parser-js.jquery.json b/ua-parser-js.jquery.json index b94c65b..d21929f 100644 --- a/ua-parser-js.jquery.json +++ b/ua-parser-js.jquery.json @@ -1,32 +1,32 @@ -{ - "title": "UAParser.js", - "name": "ua-parser-js", - "version": "0.6.2", - "description": "Lightweight JavaScript-based user-agent string parser", - "keywords": [ - "user-agent", - "parser", - "browser", - "engine", - "os", - "device", - "cpu" - ], - "homepage": "https://faisalman.github.com/ua-parser-js", - "author": { - "name": "Faisal Salman", - "email": "fyzlman@gmail.com" - }, - "dependencies": { - "jquery": ">=1.5" - }, - "licenses": [ - { - "type": "MIT", - "url": "http://www.opensource.org/licenses/mit-license.php" - } - ], - "bugs": "https://github.com/faisalman/ua-parser-js/issues", - "docs": "https://github.com/faisalman/ua-parser-js", - "download": "https://raw.github.com/faisalman/ua-parser-js/master/src/ua-parser.min.js" -} +{ + "title": "UAParser.js", + "name": "ua-parser-js", + "version": "0.6.16", + "description": "Lightweight JavaScript-based user-agent string parser", + "keywords": [ + "user-agent", + "parser", + "browser", + "engine", + "os", + "device", + "cpu" + ], + "homepage": "https://faisalman.github.com/ua-parser-js", + "author": { + "name": "Faisal Salman", + "email": "fyzlman@gmail.com" + }, + "dependencies": { + "jquery": ">=1.5" + }, + "licenses": [ + { + "type": "MIT", + "url": "http://www.opensource.org/licenses/mit-license.php" + } + ], + "bugs": "https://github.com/faisalman/ua-parser-js/issues", + "docs": "https://github.com/faisalman/ua-parser-js", + "download": "https://raw.github.com/faisalman/ua-parser-js/master/src/ua-parser.min.js" +}