@lighthouse/common
Advanced tools
Comparing version 4.27.3 to 4.27.4-canary.117.1517
@@ -190,3 +190,3 @@ "use strict"; | ||
const displayValue = (0, _lodash.isArray)(parsedValue) ? { | ||
text: value.map(val => val.label).join(', '), | ||
text: parsedValue.filter(val => val && val.label).map(val => val.label).join(', '), | ||
fontSize: 7 | ||
@@ -340,5 +340,7 @@ } : { | ||
const displayValue = (0, _lodash.isArray)(parsedValue) ? { | ||
text: value.map(val => val.label).join(', ') | ||
text: parsedValue.filter(val => val && val.label).map(val => val.label).join(', '), | ||
fontSize: 7 | ||
} : { | ||
text: parsedValue.label | ||
text: parsedValue.label, | ||
fontSize: 7 | ||
}; | ||
@@ -345,0 +347,0 @@ return [labelText, displayValue]; |
@@ -173,3 +173,5 @@ import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray"; | ||
var _displayValue = isArray(_parsedValue) ? { | ||
text: value.map(function (val) { | ||
text: _parsedValue.filter(function (val) { | ||
return val && val.label; | ||
}).map(function (val) { | ||
return val.label; | ||
@@ -349,7 +351,11 @@ }).join(', '), | ||
var _displayValue4 = isArray(_parsedValue2) ? { | ||
text: value.map(function (val) { | ||
text: _parsedValue2.filter(function (val) { | ||
return val && val.label; | ||
}).map(function (val) { | ||
return val.label; | ||
}).join(', ') | ||
}).join(', '), | ||
fontSize: 7 | ||
} : { | ||
text: _parsedValue2.label | ||
text: _parsedValue2.label, | ||
fontSize: 7 | ||
}; | ||
@@ -356,0 +362,0 @@ |
{ | ||
"name": "@lighthouse/common", | ||
"version": "4.27.3", | ||
"version": "4.27.4-canary.117.1517", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
1244128
11981
2