New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

fiftyone.devicedetection.onpremise

Package Overview
Dependencies
Maintainers
1
Versions
200
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fiftyone.devicedetection.onpremise - npm Package Compare versions

Comparing version 4.3.9 to 4.3.11

constants.js

25

deviceDetectionOnPremise.js

@@ -36,2 +36,3 @@ /* *********************************************************************

const util = require('util');
const constants = require('./constants');

@@ -351,3 +352,3 @@ /**

category: 'Device metrics',
description: 'Consists of four components separated by a hyphen symbol: Hardware-Platform-Browser-IsCrawler where each Component represents an ID of the corresponding Profile.'
description: constants.deviceIdDescription
};

@@ -359,3 +360,3 @@

category: 'Device metrics',
description: 'The matched User-Agents.'
description: constants.userAgentsDescription
};

@@ -367,5 +368,12 @@

category: 'Device metrics',
description: 'Used when detection method is not Exact or None. This is an integer value and the larger the value the less confident the detector is in this result.'
description: constants.differenceDescription
};
current.properties.method = {
name: 'Method',
type: 'string',
category: 'Device metrics',
description: constants.methodDescription
};
if (swigWrapperType === 'Hash') {

@@ -376,3 +384,3 @@ current.properties.matchedNodes = {

category: 'Device metrics',
description: 'Indicates the number of hash nodes matched within the evidence.'
description: constants.matchedNodesDescription
};

@@ -384,4 +392,11 @@

category: 'Device metrics',
description: 'Total difference in character positions where the substrings hashes were found away from where they were expected.'
description: constants.driftDescription
};
current.properties.iterations = {
name: 'Iterations',
type: 'int',
category: 'Device metrics',
description: constants.iterationsDescription
};
}

@@ -388,0 +403,0 @@ });

10

package.json
{
"name": "fiftyone.devicedetection.onpremise",
"version": "4.3.9",
"version": "4.3.11",
"description": "Device detection on-premise services for the 51Degrees Pipeline API",

@@ -25,6 +25,6 @@ "main": "index.js",

"dependencies": {
"fiftyone.devicedetection.shared": "^4.3.9",
"fiftyone.pipeline.core": "^4.3.6",
"fiftyone.pipeline.engines": "^4.3.6",
"fiftyone.pipeline.engines.fiftyone": "^4.3.6",
"fiftyone.devicedetection.shared": "^4.3.11",
"fiftyone.pipeline.core": "^4.3.7",
"fiftyone.pipeline.engines": "^4.3.7",
"fiftyone.pipeline.engines.fiftyone": "^4.3.7",
"n-readlines": "^1.0.1"

@@ -31,0 +31,0 @@ },

@@ -30,2 +30,4 @@ /* *********************************************************************

const constants = require('./constants');
/**

@@ -101,3 +103,17 @@ * @typedef {import('fiftyone.pipeline.core').FlowElement} FlowElement

if (key === 'method') {
result.value = this.swigResults.getMethod();
const method = this.swigResults.getMethod();
switch (method) {
case 1:
result.value = constants.performance;
break;
case 2:
result.value = constants.combined;
break;
case 3:
result.value = constants.predictive;
break;
default:
result.value = constants.none;
break;
}

@@ -104,0 +120,0 @@ return result;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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