Socket
Socket
Sign inDemoInstall

@lighthouse/common

Package Overview
Dependencies
122
Maintainers
15
Versions
461
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.25.1-canary.1464 to 4.26.0-canary.114.1473

6

dist/pdf/helpers/fields/index.js

@@ -324,7 +324,7 @@ "use strict";

if (isReferenceField) {
const parsedValue = (0, _.parseValue)(value.label);
const parsedValue = (0, _.parseValue)(value);
const displayValue = (0, _lodash.isArray)(parsedValue) ? {
text: (0, _lodash.join)(parsedValue, ', ')
text: value.map(val => val.label).join(', ')
} : {
text: parsedValue
text: parsedValue.label
};

@@ -331,0 +331,0 @@ return [labelText, displayValue];

@@ -328,8 +328,10 @@ import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";

if (isReferenceField) {
var _parsedValue = parseValue(value.label);
var _parsedValue = parseValue(value);
var _displayValue3 = isArray(_parsedValue) ? {
text: join(_parsedValue, ', ')
text: value.map(function (val) {
return val.label;
}).join(', ')
} : {
text: _parsedValue
text: _parsedValue.label
};

@@ -336,0 +338,0 @@

{
"name": "@lighthouse/common",
"version": "4.25.1-canary.1464",
"version": "4.26.0-canary.114.1473",
"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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc