Socket
Socket
Sign inDemoInstall

@lighthouse/common

Package Overview
Dependencies
Maintainers
15
Versions
461
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lighthouse/common - npm Package Compare versions

Comparing version 4.27.3 to 4.27.4-canary.117.1517

8

dist/pdf/helpers/fields/index.js

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

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