gemini-core
Advanced tools
Comparing version 2.5.0 to 2.5.1
@@ -31,7 +31,3 @@ 'use strict'; | ||
.spread((features, image) => { | ||
// webdriverio returns result in "value" field, but wd does not | ||
const {innerWidth, pixelRatio} = features.innerWidth | ||
? features | ||
: features.value; | ||
const {innerWidth, pixelRatio} = features; | ||
const hasPixelRatio = Boolean(pixelRatio && pixelRatio > 1.0); | ||
@@ -38,0 +34,0 @@ const imageFeatures = this._analyzeImage(image, {calculateColorLength: hasPixelRatio}); |
{ | ||
"name": "gemini-core", | ||
"version": "2.5.0", | ||
"version": "2.5.1", | ||
"description": "Utility which contains common modules for gemini and hermione", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
43730
993