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

detector

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

detector - npm Package Compare versions

Comparing version 2.4.3 to 2.4.4

4

HISTORY.md

@@ -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 @@

9

lib/rules.js

@@ -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 @@

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