venue-js 1.4.0-next.14 → 1.4.0-next.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -291,7 +291,11 @@ __export(occupant_helper_exports, {
291
291
  getOccupantMainLocation: () => getOccupantMainLocation,
292
292
  getOccupantMarkerLocations: () => getOccupantMarkerLocations
293
293
  });
294
- import { compact } from "lodash";
294
+
295
+ // src/data/utils/lodash/compact.ts
296
+ var compact = (arr) => arr.filter((item) => Boolean(item));
297
+
298
+ // src/data/utils/occupant-helper.ts
295
299
  var getOccupantMainLocation = (occupant) => {
296
300
  return occupant.properties.kiosk || occupant.properties.unit;
297
301
  };
@@ -322,7 +326,6 @@ import {
322
326
  } from "@tanstack/query-core";
323
327
 
324
328
  // src/data/populator/index.ts
325
- import { compact as compact2 } from "lodash";
326
329
  import { booleanWithin } from "@turf/boolean-within";
327
330
  var createPopulator = ({
328
331
  internalFindById,
@@ -480,7 +483,7 @@ var createPopulator = ({
480
483
  ...occupant.properties,
481
484
  anchor: anchor ? await populateAnchor(anchor) : null,
482
485
  local_categories: await Promise.all(
483
- compact2(localCategories).map(populateTaxonomy)
486
+ compact(localCategories).map(populateTaxonomy)
484
487
  ),
485
488
  venue,
486
489
  promotions,