Comparing version 2.4.3 to 2.4.4
@@ -6,2 +6,6 @@ | ||
## 2.4.4 (2016-02-05) | ||
* fix(moto): fixed moto rule. #95. | ||
## 2.4.3 (2016-01-25) | ||
@@ -8,0 +12,0 @@ |
@@ -143,6 +143,7 @@ "use strict"; | ||
function(ua) { | ||
if (/\bmot[\-]([a-z0-9]+)/.test(ua)) { | ||
return /\bmot[\-]([a-z0-9]+)/; | ||
} else if (/ (xt\d{3}) build/.test(ua)) { | ||
return / (xt\d{3}) build/; | ||
const RE_MOTO = /\bmot[\-]([a-z0-9]+)/; | ||
if (RE_MOTO.test(ua)) { | ||
return RE_MOTO; | ||
} else { | ||
return / (xt\d+) build/; | ||
} | ||
@@ -149,0 +150,0 @@ }, |
{ | ||
"name": "detector", | ||
"version": "2.4.3", | ||
"version": "2.4.4", | ||
"description": "The module for detect client-side information.", | ||
@@ -5,0 +5,0 @@ "homepage": "http://spmjs.io/docs/detector/", |
@@ -115,2 +115,9 @@ // more rule test. | ||
}], | ||
["Mozilla/5.0 (Linux; Android 4.4.2; XT1033 Build/KXB20.25-1.31) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.136 Mobile Safari/537.36", { | ||
device: "moto/xt1033", | ||
os: "android/4.4.2", | ||
browser: "chrome/33.0.1750.136;33.0.1750.136;o", | ||
engine: "webkit/537.36;537.36;o", | ||
}], | ||
]; | ||
@@ -117,0 +124,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
129417
1994