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.24.1-canary-3 to 4.24.1

12

CHANGELOG.md

@@ -0,1 +1,13 @@

# 4.23.1 (Mon Jan 23 2023)
#### 🐛 Bug Fix
- ❗ Hotfix - Restrict pdf aggregation to document limit of 100 [#111](https://github.com/Lighthouse-io/common/pull/111) ([@ChrisHurt](https://github.com/ChrisHurt))
#### Authors: 1
- Chris Hurt ([@ChrisHurt](https://github.com/ChrisHurt))
---
# 4.23.0 (Wed Jan 18 2023)

@@ -2,0 +14,0 @@

12

dist/helpers/get-location-reference/index.js

@@ -41,3 +41,5 @@ "use strict";

const areaLocationMap = (0, _lodash.reduce)(areaLocations, (memo, location) => {
const legacyId = location?.legacyId?.toString();
var _location$legacyId;
const legacyId = location === null || location === void 0 ? void 0 : (_location$legacyId = location.legacyId) === null || _location$legacyId === void 0 ? void 0 : _location$legacyId.toString();
if (!legacyId) return memo;

@@ -50,3 +52,5 @@ memo[legacyId] = location;

const locationMap = (0, _lodash.isArray)(locations) ? (0, _lodash.reduce)(locations, (memo, location) => {
const locationId = location?._id?.toString();
var _location$_id;
const locationId = location === null || location === void 0 ? void 0 : (_location$_id = location._id) === null || _location$_id === void 0 ? void 0 : _location$_id.toString();
if (!locationId) return memo;

@@ -57,3 +61,5 @@ memo[locationId] = location;

const zoneMap = (0, _lodash.isArray)(zones) ? (0, _lodash.reduce)(zones, (memo, zone) => {
const zoneId = zone?._id?.toString();
var _zone$_id;
const zoneId = zone === null || zone === void 0 ? void 0 : (_zone$_id = zone._id) === null || _zone$_id === void 0 ? void 0 : _zone$_id.toString();
if (!zoneId) return memo;

@@ -60,0 +66,0 @@ memo[zoneId] = zone;

{
"name": "@lighthouse/common",
"version": "4.24.1-canary-3",
"version": "4.24.1",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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