ua-parser-js
Advanced tools
Comparing version 0.4.3 to 0.4.4
{ | ||
"title": "UA-Parser.JS", | ||
"name": "ua-parser-js", | ||
"version": "0.4.3", | ||
"version": "0.4.4", | ||
"author": "Faisal Salman <fyzlman@gmail.com> (http://faisalman.com)", | ||
@@ -6,0 +6,0 @@ "description": "Lightweight JavaScript-based user-agent string parser", |
@@ -1,2 +0,2 @@ | ||
// UA-Parser.JS v0.4.3 | ||
// UA-Parser.JS v0.4.4 | ||
// Lightweight JavaScript-based User-Agent string parser | ||
@@ -48,3 +48,3 @@ // https://github.com/faisalman/ua-parser-js | ||
} else if (typeof props[k] === 'object' && props[k].length === 3) { | ||
if (typeof props[k][1] === 'function') { | ||
if (typeof props[k][1] === 'function' && !(props[k][1].exec && props[k][1].test)) { | ||
result[props[k][0]] = m ? props[k][1].call(this, m, props[k][2]) : undefined; | ||
@@ -51,0 +51,0 @@ } else { |
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
19355