Socket
Socket
Sign inDemoInstall

ua-parser-js

Package Overview
Dependencies
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ua-parser-js - npm Package Compare versions

Comparing version 0.4.3 to 0.4.4

2

package.json
{
"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 {

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