mirror of
https://github.com/lancedikson/bowser
synced 2024-10-27 20:34:22 +00:00
Merge branch 'hotfix/1.7.3'
# Conflicts: # CHANGELOG.md
This commit is contained in:
commit
9f8ad07aa4
@ -1,5 +1,8 @@
|
|||||||
# Bowser Changelog
|
# Bowser Changelog
|
||||||
|
|
||||||
|
### 1.7.3 (August 30, 2017)
|
||||||
|
- [FIX] Fix detection of Chrome on Android 8 OPR6 (#193)
|
||||||
|
|
||||||
### 1.7.2 (August 17, 2017)
|
### 1.7.2 (August 17, 2017)
|
||||||
- [FIX] Fix typings.d.ts according to #185
|
- [FIX] Fix typings.d.ts according to #185
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
"ender",
|
"ender",
|
||||||
"sniff"
|
"sniff"
|
||||||
],
|
],
|
||||||
"version": "1.7.2",
|
"version": "1.7.3",
|
||||||
"homepage": "https://github.com/lancedikson/bowser",
|
"homepage": "https://github.com/lancedikson/bowser",
|
||||||
"scripts": [
|
"scripts": [
|
||||||
"src/bowser.js"
|
"src/bowser.js"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "bowser",
|
"name": "bowser",
|
||||||
"version": "1.7.2",
|
"version": "1.7.3",
|
||||||
"description": "Lightweight browser detector",
|
"description": "Lightweight browser detector",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"browser",
|
"browser",
|
||||||
|
@ -56,7 +56,7 @@
|
|||||||
, opera: t
|
, opera: t
|
||||||
, version: versionIdentifier || getFirstMatch(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)
|
, version: versionIdentifier || getFirstMatch(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)
|
||||||
}
|
}
|
||||||
} else if (/opr|opios/i.test(ua)) {
|
} else if (/opr\/|opios/i.test(ua)) {
|
||||||
// a new Opera
|
// a new Opera
|
||||||
result = {
|
result = {
|
||||||
name: 'Opera'
|
name: 'Opera'
|
||||||
|
@ -7,7 +7,16 @@
|
|||||||
*/
|
*/
|
||||||
module.exports.useragents = {
|
module.exports.useragents = {
|
||||||
Chrome: {
|
Chrome: {
|
||||||
'Mozilla/5.0 (Linux; Android 5.1.1; Nexus 9 Build/LMY48T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.83 Safari/537.36': {
|
'Mozilla/5.0 (Linux; Android 8.0.0; Nexus 6P Build/OPR6.170623.013) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.107 Mobile Safari/537.36': {
|
||||||
|
chrome: true
|
||||||
|
, android: true
|
||||||
|
, osversion: '8.0.0'
|
||||||
|
, mobile: true
|
||||||
|
, version: '60.0'
|
||||||
|
, blink: true
|
||||||
|
, a: true
|
||||||
|
}
|
||||||
|
, 'Mozilla/5.0 (Linux; Android 5.1.1; Nexus 9 Build/LMY48T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.83 Safari/537.36': {
|
||||||
chrome: true
|
chrome: true
|
||||||
, android: true
|
, android: true
|
||||||
, osversion: '5.1.1'
|
, osversion: '5.1.1'
|
||||||
@ -206,7 +215,24 @@ module.exports.useragents = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
, Opera: {
|
, Opera: {
|
||||||
'Mozilla/5.0 (Linux; Android 4.4.2; Nexus 7 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.72 Safari/537.36 OPR/19.0.1340.69721': {
|
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.78 Safari/537.36 OPR/47.0.2631.55': {
|
||||||
|
opera: true
|
||||||
|
, blink: true
|
||||||
|
, mac: true
|
||||||
|
, osversion: '10.11.6'
|
||||||
|
, version: '47.0'
|
||||||
|
, a: true
|
||||||
|
}
|
||||||
|
, 'Mozilla/5.0 (Linux; Android 8.0; Nexus 6P Build/OPR6.170623.013) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.91 Mobile Safari/537.36 OPR/42.7.2246.114996': {
|
||||||
|
opera: true
|
||||||
|
, blink: true
|
||||||
|
, android: true
|
||||||
|
, osversion: '8.0'
|
||||||
|
, mobile: true
|
||||||
|
, version: '42.7'
|
||||||
|
, a: true
|
||||||
|
}
|
||||||
|
, 'Mozilla/5.0 (Linux; Android 4.4.2; Nexus 7 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.72 Safari/537.36 OPR/19.0.1340.69721': {
|
||||||
opera: true
|
opera: true
|
||||||
, blink: true
|
, blink: true
|
||||||
, android: true
|
, android: true
|
||||||
|
Loading…
Reference in New Issue
Block a user