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.25.1-canary.114.1467 to 4.25.1-canary.114.1470

9

dist/pdf/helpers/fields/index.js

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

if (isReferenceField) {
const parsedValue = (0, _.parseValue)(value.label);
const parsedValue = (0, _.parseValue)(value);
console.log({
parsedValue
});
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 +334,0 @@ return [labelText, displayValue];

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

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

@@ -336,0 +342,0 @@

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