Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vigour-ua

Package Overview
Dependencies
Maintainers
2
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vigour-ua - npm Package Compare versions

Comparing version 3.1.4 to 3.1.5

8

index.js

@@ -32,3 +32,5 @@ /**

_ua = typeof _ua === 'string' ? _ua.toLowerCase() : node
var _fullUA = typeof _ua === 'string' ? _ua.toLowerCase() : node
var _vendorIdx = _fullUA.indexOf('*vg*')
_ua = ~_vendorIdx ? _fullUA.substring(0, _vendorIdx - 1) : _fullUA

@@ -102,3 +104,3 @@ /**

*/
test.call(obj, _ua, 'webview',
test.call(obj, _fullUA, 'webview',
[ true, false ],

@@ -116,3 +118,3 @@ [ 'crosswalk' ],

* search for regexps in the userAgent
* fn is a on succes callback
* fn is a on success callback
* check tests in https://github.com/faisalman/ua-parser-js to test for userAgents

@@ -119,0 +121,0 @@ * @method

{
"name": "vigour-ua",
"version": "3.1.4",
"version": "3.1.5",
"description": "lightweight ua parser",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -111,4 +111,5 @@

'Mozilla/5.0 (iPhone; CPU iPhone OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B143 Safari/601.1 ploy-native',
'Mozilla/5.0 (iPhone; CPU iPhone OS 10_3_1 like Mac OS X) AppleWebKit/603.1.30 (KHTML, like Gecko) Mobile/14E304 *VG*ploy-native,webkit,v1.0.0',
'Mozilla/5.0 (iPhone; CPU iPhone OS 10_3_1 like Mac OS X) AppleWebKit/603.1.30 (KHTML, like Gecko) Mobile/14E304 *VG*ploy-native,webkit,com.example.tvae,v1.0.0'
'Mozilla/5.0 (iPhone; CPU iPhone OS 10_3_1 like Mac OS X) AppleWebKit/603.1.30 (KHTML, like Gecko) Mobile/14E304 *VG*ploy-native,webkit,v1.0.0',
'Mozilla/5.0 (iPhone; CPU iPhone OS 10_3_1 like Mac OS X) AppleWebKit/603.1.30 (KHTML, like Gecko) Mobile/14E304 *VG*ploy-native,webkit,com.example.tvae,v1.0.0',
'Mozilla/5.0 (iPhone; CPU iPhone OS 10_3_1 like Mac OS X) AppleWebKit/603.1.30 (KHTML, like Gecko) Mobile/14E304 *VG*ploy-native,webkit,com.example.tv,v1.0.0'
]

@@ -115,0 +116,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc