useragent
Advanced tools
Comparing version 2.1.5 to 2.1.6
@@ -534,3 +534,3 @@ 'use strict'; | ||
details.opera = true; | ||
} else if (~ua.indexOf('trident')) { | ||
} else if (~ua.indexOf('trident') || ~ua.indexOf('msie')) { | ||
details.ie = true; | ||
@@ -537,0 +537,0 @@ } else if (~ua.indexOf('mozilla') && !~ua.indexOf('compatible')) { |
{ | ||
"name": "useragent", | ||
"version": "2.1.5", | ||
"version": "2.1.6", | ||
"description": "Fastest, most accurate & effecient user agent string parser, uses Browserscope's research for parsing", | ||
@@ -5,0 +5,0 @@ "author": "Arnout Kazemier", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses eval() which is a dangerous function. This prevents the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
3
213169
16
6724