@lighthouse/common
Advanced tools
Comparing version 4.24.1-canary-3 to 4.24.1
@@ -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 @@ |
@@ -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", |
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
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
1235139
11887
1