Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(insights): replace fast-deep-equal with fast-equals (#69668)

posthog[bot]b56c590ec474
diff --git a/frontend/package.json b/frontend/package.json
index e12c2f71361b..68c9694e4ed6 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -210,7 +210,7 @@
"elkjs": "^0.10.0",
"emoji-regex": "^10.4.0",
"eventsource-parser": "^3.0.0",
- "fast-deep-equal": "catalog:",
+ "fast-equals": "catalog:",
"fastpriorityqueue": "^0.7.5",
"fflate": "^0.8.2",
"frimousse": "^0.3.0",
diff --git a/frontend/src/lib/components/DefinitionPopover/definitionPopoverLogic.ts b/frontend/src/lib/components/DefinitionPopover/definitionPopoverLogic.ts
index 974ec1030c12..dea1422a02ee 100644
--- a/frontend/src/lib/components/DefinitionPopover/definitionPopoverLogic.ts
+++ b/frontend/src/lib/components/DefinitionPopover/definitionPopoverLogic.ts
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { actions, connect, events, kea, listeners, path, props, reducers, selectors } from 'kea'
import { loaders } from 'kea-loaders'
diff --git a/frontend/src/lib/components/PropertyFilters/propertyFilterLogic.ts b/frontend/src/lib/components/PropertyFilters/propertyFilterLogic.ts
index be0b4b6d8c8c..da4078161708 100644
--- a/frontend/src/lib/components/PropertyFilters/propertyFilterLogic.ts
+++ b/frontend/src/lib/components/PropertyFilters/propertyFilterLogic.ts
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { actions, kea, key, listeners, path, props, propsChanged, reducers, selectors } from 'kea'
import { PropertyFilterLogicProps } from 'lib/components/PropertyFilters/types'
diff --git a/frontend/src/lib/components/VerticalNestedDND/VerticalNestedDND.tsx b/frontend/src/lib/components/VerticalNestedDND/VerticalNestedDND.tsx
index 3c309769c3ae..190e9291c64c 100644
--- a/frontend/src/lib/components/VerticalNestedDND/VerticalNestedDND.tsx
+++ b/frontend/src/lib/components/VerticalNestedDND/VerticalNestedDND.tsx
@@ -26,7 +26,7 @@ import {
} from '@dnd-kit/sortable'
import type { Transform } from '@dnd-kit/utilities'
import { CSS } from '@dnd-kit/utilities'
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import React, { forwardRef, useCallback, useEffect, useRef, useState } from 'react'
import { createPortal } from 'react-dom'
import { useDebouncedCallback } from 'use-debounce'
diff --git a/frontend/src/lib/utils/objects.test.ts b/frontend/src/lib/utils/objects.test.ts
index 9daca1bca1c4..0bc1c78d0a00 100644
--- a/frontend/src/lib/utils/objects.test.ts
+++ b/frontend/src/lib/utils/objects.test.ts
@@ -3,10 +3,27 @@ import {
objectClean,
objectCleanWithEmpty,
objectDiffShallow,
+ objectsEqual,
reconcileById,
} from 'lib/utils/objects'
describe('objects utils', () => {
+ describe('objectsEqual()', () => {
+ it.each([
+ [
+ 'toString shadowed by a string',
+ { toString: 'not a function', a: 1 },
+ { toString: 'not a function', a: 1 },
+ true,
+ ],
+ ['valueOf shadowed by a number', { valueOf: 5, a: 1 }, { valueOf: 5, a: 1 }, true],
+ ['toString callable only on the left', { toString: (): string => 'x' }, { toString: 'x' }, false],
+ ['valueOf callable only on the right', { valueOf: 5 }, { valueOf: (): number => 5 }, false],
+ ])('compares objects with %s without throwing', (_name, a, b, expected) => {
+ expect(objectsEqual(a, b)).toBe(expected)
+ })
+ })
+
describe('areObjectValuesEmpty()', () => {
it('returns correct value for objects with empty values', () => {
expect(areObjectValuesEmpty({ a: '', b: null, c: undefined })).toEqual(true)
diff --git a/frontend/src/lib/utils/objects.ts b/frontend/src/lib/utils/objects.ts
index 8a2ab70795f6..2cea4369ce74 100644
--- a/frontend/src/lib/utils/objects.ts
+++ b/frontend/src/lib/utils/objects.ts
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
export function areObjectValuesEmpty(obj?: Record<string, any>): boolean {
return (
diff --git a/frontend/src/queries/nodes/DataTable/SavedQueries.tsx b/frontend/src/queries/nodes/DataTable/SavedQueries.tsx
index 42bade240278..56e22ac3ce93 100644
--- a/frontend/src/queries/nodes/DataTable/SavedQueries.tsx
+++ b/frontend/src/queries/nodes/DataTable/SavedQueries.tsx
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { useValues } from 'kea'
import { LemonButton, LemonButtonWithDropdown } from 'lib/lemon-ui/LemonButton'
diff --git a/frontend/src/queries/nodes/DataTable/TableView/tableViewLogic.ts b/frontend/src/queries/nodes/DataTable/TableView/tableViewLogic.ts
index 61a15bfafc95..c4dbc65c6607 100644
--- a/frontend/src/queries/nodes/DataTable/TableView/tableViewLogic.ts
+++ b/frontend/src/queries/nodes/DataTable/TableView/tableViewLogic.ts
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { actions, afterMount, connect, kea, key, listeners, path, props, reducers, selectors } from 'kea'
import { forms } from 'kea-forms'
import { lazyLoaders } from 'kea-loaders'
diff --git a/frontend/src/queries/nodes/InsightViz/utils.ts b/frontend/src/queries/nodes/InsightViz/utils.ts
index 808c266435d3..5575e911a7bf 100644
--- a/frontend/src/queries/nodes/InsightViz/utils.ts
+++ b/frontend/src/queries/nodes/InsightViz/utils.ts
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { ApiError } from 'lib/api'
import { getEventNamesForAction } from 'lib/utils/events'
diff --git a/frontend/src/scenes/activity/explore/eventsSceneLogic.tsx b/frontend/src/scenes/activity/explore/eventsSceneLogic.tsx
index aad8f83d0aeb..0d58d52f2dd8 100644
--- a/frontend/src/scenes/activity/explore/eventsSceneLogic.tsx
+++ b/frontend/src/scenes/activity/explore/eventsSceneLogic.tsx
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { actions, connect, kea, key, listeners, path, reducers, selectors } from 'kea'
import { urlToAction } from 'kea-router'
import { UrlToActionPayload } from 'kea-router/lib/types'
diff --git a/frontend/src/scenes/activity/explore/sessionsSceneLogic.tsx b/frontend/src/scenes/activity/explore/sessionsSceneLogic.tsx
index e3349c404bdd..7994cbdad3f4 100644
--- a/frontend/src/scenes/activity/explore/sessionsSceneLogic.tsx
+++ b/frontend/src/scenes/activity/explore/sessionsSceneLogic.tsx
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { actions, connect, kea, key, listeners, path, reducers, selectors } from 'kea'
import { urlToAction } from 'kea-router'
import { UrlToActionPayload } from 'kea-router/lib/types'
diff --git a/frontend/src/scenes/billing/billing-utils.ts b/frontend/src/scenes/billing/billing-utils.ts
index 34bccc92b361..b02ac58838c7 100644
--- a/frontend/src/scenes/billing/billing-utils.ts
+++ b/frontend/src/scenes/billing/billing-utils.ts
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { LogicWrapper } from 'kea'
import { routerType } from 'kea-router/lib/routerType'
import Papa from 'papaparse'
diff --git a/frontend/src/scenes/billing/billingSpendLogic.ts b/frontend/src/scenes/billing/billingSpendLogic.ts
index e7e97bdefdd2..32e3062f31fe 100644
--- a/frontend/src/scenes/billing/billingSpendLogic.ts
+++ b/frontend/src/scenes/billing/billingSpendLogic.ts
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { actions, afterMount, connect, kea, key, listeners, path, props, reducers, selectors } from 'kea'
import { loaders } from 'kea-loaders'
import { actionToUrl, router, urlToAction } from 'kea-router'
diff --git a/frontend/src/scenes/billing/billingUsageLogic.ts b/frontend/src/scenes/billing/billingUsageLogic.ts
index 3ef52a5dd89d..3d00eaecb545 100644
--- a/frontend/src/scenes/billing/billingUsageLogic.ts
+++ b/frontend/src/scenes/billing/billingUsageLogic.ts
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { actions, afterMount, connect, kea, key, listeners, path, props, reducers, selectors } from 'kea'
import { loaders } from 'kea-loaders'
import { actionToUrl, router, urlToAction } from 'kea-router'
diff --git a/frontend/src/scenes/cohorts/cohortUtils.tsx b/frontend/src/scenes/cohorts/cohortUtils.tsx
index dc8fa4e31631..9edaf77a8faf 100644
--- a/frontend/src/scenes/cohorts/cohortUtils.tsx
+++ b/frontend/src/scenes/cohorts/cohortUtils.tsx
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { DeepPartialMap, ValidationErrorType } from 'kea-forms'
import { isEmptyProperty, propertyFilterTypeToPropertyDefinitionType } from 'lib/components/PropertyFilters/utils'
diff --git a/frontend/src/scenes/dashboard/dashboardLogic.tsx b/frontend/src/scenes/dashboard/dashboardLogic.tsx
index 8cec7a077c8f..9036349e771a 100644
--- a/frontend/src/scenes/dashboard/dashboardLogic.tsx
+++ b/frontend/src/scenes/dashboard/dashboardLogic.tsx
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import {
BindLogic,
actions,
diff --git a/frontend/src/scenes/data-warehouse/editor/editorSceneLogic.tsx b/frontend/src/scenes/data-warehouse/editor/editorSceneLogic.tsx
index 04163fc012ba..a88d9d174c9e 100644
--- a/frontend/src/scenes/data-warehouse/editor/editorSceneLogic.tsx
+++ b/frontend/src/scenes/data-warehouse/editor/editorSceneLogic.tsx
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { actions, connect, kea, key, listeners, path, props, reducers, selectors } from 'kea'
import { FEATURE_FLAGS } from 'lib/constants'
diff --git a/frontend/src/scenes/data-warehouse/editor/sqlEditorLogic.tsx b/frontend/src/scenes/data-warehouse/editor/sqlEditorLogic.tsx
index 57ee7eedf603..e1ff3363f3d4 100644
--- a/frontend/src/scenes/data-warehouse/editor/sqlEditorLogic.tsx
+++ b/frontend/src/scenes/data-warehouse/editor/sqlEditorLogic.tsx
@@ -1,5 +1,5 @@
import { Monaco } from '@monaco-editor/react'
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import {
actions,
afterMount,
diff --git a/frontend/src/scenes/data-warehouse/scene/dataModelingLogic.ts b/frontend/src/scenes/data-warehouse/scene/dataModelingLogic.ts
index 402f8b4386b8..45d1fce3bd33 100644
--- a/frontend/src/scenes/data-warehouse/scene/dataModelingLogic.ts
+++ b/frontend/src/scenes/data-warehouse/scene/dataModelingLogic.ts
@@ -8,7 +8,7 @@ import {
applyEdgeChanges,
applyNodeChanges,
} from '@xyflow/react'
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { actions, afterMount, beforeUnmount, kea, listeners, path, reducers, selectors } from 'kea'
import { loaders } from 'kea-loaders'
import type { RefObject } from 'react'
diff --git a/frontend/src/scenes/experiments/ExperimentForm/MetricsPanel/metricRecentActivityLogic.ts b/frontend/src/scenes/experiments/ExperimentForm/MetricsPanel/metricRecentActivityLogic.ts
index 13355a5ea3a8..ac9e9b164351 100644
--- a/frontend/src/scenes/experiments/ExperimentForm/MetricsPanel/metricRecentActivityLogic.ts
+++ b/frontend/src/scenes/experiments/ExperimentForm/MetricsPanel/metricRecentActivityLogic.ts
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { afterMount, kea, key, path, props, propsChanged } from 'kea'
import { loaders } from 'kea-loaders'
diff --git a/frontend/src/scenes/experiments/activity-descriptions/experimentChangeDescription.tsx b/frontend/src/scenes/experiments/activity-descriptions/experimentChangeDescription.tsx
index 6699ec79da2c..4558a1853749 100644
--- a/frontend/src/scenes/experiments/activity-descriptions/experimentChangeDescription.tsx
+++ b/frontend/src/scenes/experiments/activity-descriptions/experimentChangeDescription.tsx
@@ -1,5 +1,5 @@
import clsx from 'clsx'
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { match } from 'ts-pattern'
import { ActivityChange } from 'lib/components/ActivityLog/humanizeActivity'
diff --git a/frontend/src/scenes/experiments/activity-descriptions/metricChangeDescriptions.tsx b/frontend/src/scenes/experiments/activity-descriptions/metricChangeDescriptions.tsx
index 79109b74f3b4..014945d42dc1 100644
--- a/frontend/src/scenes/experiments/activity-descriptions/metricChangeDescriptions.tsx
+++ b/frontend/src/scenes/experiments/activity-descriptions/metricChangeDescriptions.tsx
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { LemonTag } from 'lib/lemon-ui/LemonTag'
diff --git a/frontend/src/scenes/hog-functions/configuration/hogFunctionConfigurationLogic.tsx b/frontend/src/scenes/hog-functions/configuration/hogFunctionConfigurationLogic.tsx
index 5997be95cda4..2167b7d93256 100644
--- a/frontend/src/scenes/hog-functions/configuration/hogFunctionConfigurationLogic.tsx
+++ b/frontend/src/scenes/hog-functions/configuration/hogFunctionConfigurationLogic.tsx
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { actions, afterMount, connect, isBreakpoint, kea, key, listeners, path, props, reducers, selectors } from 'kea'
import { DeepPartialMap, ValidationErrorType, forms } from 'kea-forms'
import { loaders } from 'kea-loaders'
diff --git a/frontend/src/scenes/hog-functions/testing/hogFunctionTestingLogic.tsx b/frontend/src/scenes/hog-functions/testing/hogFunctionTestingLogic.tsx
index a24baeace221..6e4b5ad9b7c9 100644
--- a/frontend/src/scenes/hog-functions/testing/hogFunctionTestingLogic.tsx
+++ b/frontend/src/scenes/hog-functions/testing/hogFunctionTestingLogic.tsx
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { actions, connect, kea, key, listeners, path, props, reducers, selectors } from 'kea'
import { loaders } from 'kea-loaders'
import { beforeUnload } from 'kea-router'
diff --git a/frontend/src/scenes/insights/filters/ActionFilter/entityFilterLogic.ts b/frontend/src/scenes/insights/filters/ActionFilter/entityFilterLogic.ts
index 7f6ebed02b6c..4b93a57f8970 100644
--- a/frontend/src/scenes/insights/filters/ActionFilter/entityFilterLogic.ts
+++ b/frontend/src/scenes/insights/filters/ActionFilter/entityFilterLogic.ts
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { actions, connect, events, kea, key, listeners, path, props, reducers, selectors } from 'kea'
import { convertPropertyGroupToProperties } from 'lib/components/PropertyFilters/utils'
diff --git a/frontend/src/scenes/insights/utils.tsx b/frontend/src/scenes/insights/utils.tsx
index 307136df08d4..3f2d642abe72 100644
--- a/frontend/src/scenes/insights/utils.tsx
+++ b/frontend/src/scenes/insights/utils.tsx
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { ReactNode } from 'react'
import { IconWarning } from '@posthog/icons'
diff --git a/frontend/src/scenes/notebooks/Nodes/components/NotebookSQLEditor.tsx b/frontend/src/scenes/notebooks/Nodes/components/NotebookSQLEditor.tsx
index 33e01d10cbb0..6244d73ca893 100644
--- a/frontend/src/scenes/notebooks/Nodes/components/NotebookSQLEditor.tsx
+++ b/frontend/src/scenes/notebooks/Nodes/components/NotebookSQLEditor.tsx
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { useActions, useValues } from 'kea'
import { type CSSProperties, useEffect, useMemo, useRef, useState } from 'react'
diff --git a/frontend/src/scenes/persons/personsSceneLogic.ts b/frontend/src/scenes/persons/personsSceneLogic.ts
index a393b294e0d8..93ce31ea324a 100644
--- a/frontend/src/scenes/persons/personsSceneLogic.ts
+++ b/frontend/src/scenes/persons/personsSceneLogic.ts
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { actions, connect, kea, listeners, path, reducers, selectors } from 'kea'
import { urlToAction } from 'kea-router'
diff --git a/frontend/src/scenes/product-tours/productTourLogic.ts b/frontend/src/scenes/product-tours/productTourLogic.ts
index 98cb0976adc2..85603ead67d8 100644
--- a/frontend/src/scenes/product-tours/productTourLogic.ts
+++ b/frontend/src/scenes/product-tours/productTourLogic.ts
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { actions, afterMount, connect, kea, key, listeners, path, props, reducers, selectors } from 'kea'
import { forms } from 'kea-forms'
import { loaders } from 'kea-loaders'
diff --git a/frontend/src/scenes/sceneLogic.tsx b/frontend/src/scenes/sceneLogic.tsx
index bb0d911faabb..91493d2aed52 100644
--- a/frontend/src/scenes/sceneLogic.tsx
+++ b/frontend/src/scenes/sceneLogic.tsx
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { BuiltLogic, actions, afterMount, connect, kea, listeners, path, props, reducers, selectors } from 'kea'
import { router, urlToAction } from 'kea-router'
import posthog from 'posthog-js'
diff --git a/frontend/src/scenes/session-recordings/filters/CurrentFilterIndicator.tsx b/frontend/src/scenes/session-recordings/filters/CurrentFilterIndicator.tsx
index efb912fb1675..636eed7d574b 100644
--- a/frontend/src/scenes/session-recordings/filters/CurrentFilterIndicator.tsx
+++ b/frontend/src/scenes/session-recordings/filters/CurrentFilterIndicator.tsx
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { useActions, useValues } from 'kea'
import { IconFilter } from '@posthog/icons'
diff --git a/frontend/src/scenes/session-recordings/filters/RecordingsUniversalFiltersEmbed.tsx b/frontend/src/scenes/session-recordings/filters/RecordingsUniversalFiltersEmbed.tsx
index 1a49ae4407bf..48860df60ae6 100644
--- a/frontend/src/scenes/session-recordings/filters/RecordingsUniversalFiltersEmbed.tsx
+++ b/frontend/src/scenes/session-recordings/filters/RecordingsUniversalFiltersEmbed.tsx
@@ -1,5 +1,5 @@
import clsx from 'clsx'
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { BindLogic, useActions, useMountedLogic, useValues } from 'kea'
import { useEffect, useId, useRef, useState } from 'react'
diff --git a/frontend/src/scenes/session-recordings/player/inspector/miniFiltersLogic.ts b/frontend/src/scenes/session-recordings/player/inspector/miniFiltersLogic.ts
index e4e235cbb4f0..3dbb0ed9b277 100644
--- a/frontend/src/scenes/session-recordings/player/inspector/miniFiltersLogic.ts
+++ b/frontend/src/scenes/session-recordings/player/inspector/miniFiltersLogic.ts
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { actions, connect, events, kea, listeners, path, reducers, selectors } from 'kea'
import { sessionRecordingEventUsageLogic } from 'scenes/session-recordings/sessionRecordingEventUsageLogic'
diff --git a/frontend/src/scenes/session-recordings/player/inspector/playerInspectorLogic.ts b/frontend/src/scenes/session-recordings/player/inspector/playerInspectorLogic.ts
index 286fac8092b4..93adb2d26797 100644
--- a/frontend/src/scenes/session-recordings/player/inspector/playerInspectorLogic.ts
+++ b/frontend/src/scenes/session-recordings/player/inspector/playerInspectorLogic.ts
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import FuseClass from 'fuse.js'
import { actions, connect, events, kea, key, listeners, path, props, propsChanged, reducers, selectors } from 'kea'
import { loaders } from 'kea-loaders'
diff --git a/frontend/src/scenes/session-recordings/player/sessionEventsDataLogic.ts b/frontend/src/scenes/session-recordings/player/sessionEventsDataLogic.ts
index 4f6731582325..49ea838cfa5f 100644
--- a/frontend/src/scenes/session-recordings/player/sessionEventsDataLogic.ts
+++ b/frontend/src/scenes/session-recordings/player/sessionEventsDataLogic.ts
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { actions, beforeUnmount, connect, kea, key, listeners, path, props, reducers, selectors } from 'kea'
import { loaders } from 'kea-loaders'
import { subscriptions } from 'kea-subscriptions'
diff --git a/frontend/src/scenes/session-recordings/player/sessionRecordingDataCoordinatorLogic.ts b/frontend/src/scenes/session-recordings/player/sessionRecordingDataCoordinatorLogic.ts
index bf18ac1478fa..7cd5f53c8b77 100644
--- a/frontend/src/scenes/session-recordings/player/sessionRecordingDataCoordinatorLogic.ts
+++ b/frontend/src/scenes/session-recordings/player/sessionRecordingDataCoordinatorLogic.ts
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { actions, beforeUnmount, connect, kea, key, listeners, path, props, reducers, selectors } from 'kea'
import { subscriptions } from 'kea-subscriptions'
import posthog from 'posthog-js'
diff --git a/frontend/src/scenes/session-recordings/playlist/sessionRecordingsPlaylistLogic.ts b/frontend/src/scenes/session-recordings/playlist/sessionRecordingsPlaylistLogic.ts
index eaab42021f76..92877aebdbe8 100644
--- a/frontend/src/scenes/session-recordings/playlist/sessionRecordingsPlaylistLogic.ts
+++ b/frontend/src/scenes/session-recordings/playlist/sessionRecordingsPlaylistLogic.ts
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { actions, afterMount, connect, kea, key, listeners, path, props, propsChanged, reducers, selectors } from 'kea'
import { lazyLoaders, loaders } from 'kea-loaders'
import { actionToUrl, router, urlToAction } from 'kea-router'
diff --git a/frontend/src/scenes/session-recordings/playlist/sessionRecordingsPlaylistSceneLogic.ts b/frontend/src/scenes/session-recordings/playlist/sessionRecordingsPlaylistSceneLogic.ts
index 0d90b9d27b20..6ef9f404a7c9 100644
--- a/frontend/src/scenes/session-recordings/playlist/sessionRecordingsPlaylistSceneLogic.ts
+++ b/frontend/src/scenes/session-recordings/playlist/sessionRecordingsPlaylistSceneLogic.ts
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { actions, afterMount, connect, kea, key, listeners, path, props, reducers, selectors } from 'kea'
import { loaders } from 'kea-loaders'
import { beforeUnload, router, urlToAction } from 'kea-router'
diff --git a/frontend/src/scenes/settings/environment/CustomChannelTypes.tsx b/frontend/src/scenes/settings/environment/CustomChannelTypes.tsx
index d9de092a0e8f..6f651df0e93c 100644
--- a/frontend/src/scenes/settings/environment/CustomChannelTypes.tsx
+++ b/frontend/src/scenes/settings/environment/CustomChannelTypes.tsx
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { useActions, useValues } from 'kea'
import { useMemo, useState } from 'react'
diff --git a/frontend/src/scenes/web-analytics/LiveMetricsDashboard/livePersonDrillDownLogic.ts b/frontend/src/scenes/web-analytics/LiveMetricsDashboard/livePersonDrillDownLogic.ts
index 797f65d4cdbe..449726427ebb 100644
--- a/frontend/src/scenes/web-analytics/LiveMetricsDashboard/livePersonDrillDownLogic.ts
+++ b/frontend/src/scenes/web-analytics/LiveMetricsDashboard/livePersonDrillDownLogic.ts
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { actions, connect, events, kea, key, listeners, path, props, reducers, selectors } from 'kea'
import { loaders } from 'kea-loaders'
diff --git a/frontend/src/scenes/web-analytics/LiveMetricsDashboard/liveWebAnalyticsMetricsLogic.tsx b/frontend/src/scenes/web-analytics/LiveMetricsDashboard/liveWebAnalyticsMetricsLogic.tsx
index 8fc6dc2db870..0c8d0c87dc1c 100644
--- a/frontend/src/scenes/web-analytics/LiveMetricsDashboard/liveWebAnalyticsMetricsLogic.tsx
+++ b/frontend/src/scenes/web-analytics/LiveMetricsDashboard/liveWebAnalyticsMetricsLogic.tsx
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { actions, connect, events, kea, listeners, path, reducers, selectors } from 'kea'
import { subscriptions } from 'kea-subscriptions'
diff --git a/frontend/src/toolbar/product-tours/productToursLogic.ts b/frontend/src/toolbar/product-tours/productToursLogic.ts
index 4f420a43f064..bbf1ba1a072d 100644
--- a/frontend/src/toolbar/product-tours/productToursLogic.ts
+++ b/frontend/src/toolbar/product-tours/productToursLogic.ts
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { actions, connect, events, kea, listeners, path, reducers, selectors } from 'kea'
import { forms } from 'kea-forms'
import { loaders } from 'kea-loaders'
diff --git a/nodejs/package.json b/nodejs/package.json
index 7391c4c91433..b5b9d19df6d9 100644
--- a/nodejs/package.json
+++ b/nodejs/package.json
@@ -109,7 +109,7 @@
"cors": "^2.8.5",
"detect-browser": "^5.3.0",
"escape-string-regexp": "^4.0.0",
- "fast-deep-equal": "catalog:",
+ "fast-equals": "catalog:",
"fastpriorityqueue": "^0.7.5",
"fernet-nodejs": "^1.0.6",
"generic-pool": "^3.7.1",
diff --git a/nodejs/src/cdp/legacy-webhooks/action-matcher.ts b/nodejs/src/cdp/legacy-webhooks/action-matcher.ts
index e283602b8f30..f046ea0d14d6 100644
--- a/nodejs/src/cdp/legacy-webhooks/action-matcher.ts
+++ b/nodejs/src/cdp/legacy-webhooks/action-matcher.ts
@@ -1,5 +1,5 @@
import escapeStringRegexp from 'escape-string-regexp'
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { Summary } from 'prom-client'
import { stringToBoolean } from '~/common/utils/env-utils'
diff --git a/nodejs/src/ingestion/common/groups/group-update.ts b/nodejs/src/ingestion/common/groups/group-update.ts
index b3e51f3e0455..a4f8bbab2b58 100644
--- a/nodejs/src/ingestion/common/groups/group-update.ts
+++ b/nodejs/src/ingestion/common/groups/group-update.ts
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { DateTime } from 'luxon'
import { Properties } from '~/plugin-scaffold'
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index be7d18e71a57..6153141ad86e 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -45,9 +45,9 @@ catalogs:
concurrently:
specifier: ^5.3.0
version: 5.3.0
- fast-deep-equal:
- specifier: ^3.1.3
- version: 3.1.3
+ fast-equals:
+ specifier: ^6.0.0
+ version: 6.0.1
fuse.js:
specifier: ^7.1.0
version: 7.3.0
@@ -1028,9 +1028,9 @@ importers:
eventsource-parser:
specifier: ^3.0.0
version: 3.0.0
- fast-deep-equal:
+ fast-equals:
specifier: 'catalog:'
- version: 3.1.3
+ version: 6.0.1
fastpriorityqueue:
specifier: ^0.7.5
version: 0.7.5
@@ -1618,9 +1618,9 @@ importers:
escape-string-regexp:
specifier: ^4.0.0
version: 4.0.0
- fast-deep-equal:
+ fast-equals:
specifier: 'catalog:'
- version: 3.1.3
+ version: 6.0.1
fastpriorityqueue:
specifier: ^0.7.5
version: 0.7.5
@@ -2758,9 +2758,9 @@ importers:
chartjs-plugin-annotation:
specifier: '*'
version: 3.1.0([email protected])
- fast-deep-equal:
- specifier: '*'
- version: 3.1.3
+ fast-equals:
+ specifier: 'catalog:'
+ version: 6.0.1
kea:
specifier: 'catalog:'
version: 4.0.0-pre.5([email protected])
@@ -3043,9 +3043,9 @@ importers:
clsx:
specifier: '*'
version: 1.2.1
- fast-deep-equal:
+ fast-equals:
specifier: 'catalog:'
- version: 3.1.3
+ version: 6.0.1
fuse.js:
specifier: '*'
version: 6.6.2
@@ -3213,9 +3213,9 @@ importers:
clsx:
specifier: '*'
version: 1.2.1
- fast-deep-equal:
- specifier: '*'
- version: 3.1.3
+ fast-equals:
+ specifier: 'catalog:'
+ version: 6.0.1
fuse.js:
specifier: '*'
version: 6.6.2
@@ -3317,9 +3317,9 @@ importers:
d3:
specifier: '*'
version: 7.9.0
- fast-deep-equal:
- specifier: '*'
- version: 3.1.3
+ fast-equals:
+ specifier: 'catalog:'
+ version: 6.0.1
fuse.js:
specifier: '*'
version: 6.6.2
@@ -3680,9 +3680,9 @@ importers:
eslint:
specifier: '*'
version: 8.57.0
- fast-deep-equal:
- specifier: '*'
- version: 3.1.3
+ fast-equals:
+ specifier: 'catalog:'
+ version: 6.0.1
jest:
specifier: '*'
@@ -4100,9 +4100,6 @@ importers:
clsx:
specifier: '*'
version: 2.1.1
- fast-deep-equal:
- specifier: '*'
- version: 3.1.3
kea:
specifier: 'catalog:'
version: 4.0.0-pre.5([email protected])
@@ -4404,9 +4401,9 @@ importers:
clsx:
specifier: '*'
version: 2.1.1
- fast-deep-equal:
- specifier: '*'
- version: 3.1.3
+ fast-equals:
+ specifier: 'catalog:'
+ version: 6.0.1
kea:
specifier: 'catalog:'
version: 4.0.0-pre.5([email protected])
@@ -4579,9 +4576,9 @@ importers:
elkjs:
specifier: '*'
version: 0.10.0
- fast-deep-equal:
- specifier: '*'
- version: 3.1.3
+ fast-equals:
+ specifier: 'catalog:'
+ version: 6.0.1
fuse.js:
specifier: '*'
version: 6.6.2
@@ -15807,6 +15804,10 @@ packages:
resolution: {integrity: sha512-jt2DW/aNFNwke7AUd+Z+e6pz39KO5rzdbbFCg2sGafS4mk13MI7Z8O5z9cADNn5lhGODIgLwug6TZO2ctf7kcw==}
engines: {node: '>=6.0.0'}
+ resolution: {integrity: sha512-BWprZxDrKRQhcwmIpqmf7oFwLyrinEaN1ir50m+QXujAx96C1jBgBM8dRft05Q3MXhByeIEIgXBYuGputgM9pA==}
+ engines: {node: '>=6.0.0'}
+
resolution: {integrity: sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ==}
@@ -36775,6 +36776,8 @@ snapshots:
+
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index 5a3aaa1b1f12..7f842110b641 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -65,7 +65,7 @@ catalog:
'@storybook/react-vite': ^10.4.3
storybook: ^10.4.3
# Common utilities
- fast-deep-equal: ^3.1.3
+ fast-equals: ^6.0.0
fuse.js: ^7.1.0
ts-pattern: '4.3'
use-debounce: ^9.0.3
diff --git a/products/alerts/frontend/logic/alertSchedulingStale.ts b/products/alerts/frontend/logic/alertSchedulingStale.ts
index a6e48f0feccd..eaa036347526 100644
--- a/products/alerts/frontend/logic/alertSchedulingStale.ts
+++ b/products/alerts/frontend/logic/alertSchedulingStale.ts
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { AlertCalculationInterval } from '~/queries/schema/schema-general'
diff --git a/products/alerts/package.json b/products/alerts/package.json
index 8b845ec1ca61..86d11a745030 100644
--- a/products/alerts/package.json
+++ b/products/alerts/package.json
@@ -21,7 +21,7 @@
"@posthog/lemon-ui": "*",
"@types/react": "*",
"chartjs-plugin-annotation": "*",
- "fast-deep-equal": "*",
+ "fast-equals": "catalog:",
"react": "*",
"typescript": "catalog:*",
"zod": "*"
diff --git a/products/dashboards/frontend/widgets/error_tracking/ErrorTrackingWidgetTileFilters.tsx b/products/dashboards/frontend/widgets/error_tracking/ErrorTrackingWidgetTileFilters.tsx
index d0622735abca..793394821992 100644
--- a/products/dashboards/frontend/widgets/error_tracking/ErrorTrackingWidgetTileFilters.tsx
+++ b/products/dashboards/frontend/widgets/error_tracking/ErrorTrackingWidgetTileFilters.tsx
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { useValues } from 'kea'
import { useMemo, useRef } from 'react'
diff --git a/products/dashboards/frontend/widgets/session_replay/SessionReplayWidgetTileFilters.tsx b/products/dashboards/frontend/widgets/session_replay/SessionReplayWidgetTileFilters.tsx
index 6202c4af7ac6..463658d96dfd 100644
--- a/products/dashboards/frontend/widgets/session_replay/SessionReplayWidgetTileFilters.tsx
+++ b/products/dashboards/frontend/widgets/session_replay/SessionReplayWidgetTileFilters.tsx
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { useValues } from 'kea'
import { useMemo, useRef } from 'react'
diff --git a/products/dashboards/package.json b/products/dashboards/package.json
index 22283b76693d..cfc8dda3fc5b 100644
--- a/products/dashboards/package.json
+++ b/products/dashboards/package.json
@@ -4,7 +4,7 @@
"backend:test": "pytest -c ../../pytest.ini --rootdir ../.. backend/ -v --tb=short"
},
"dependencies": {
- "fast-deep-equal": "catalog:",
+ "fast-equals": "catalog:",
"kea": "catalog:",
"kea-loaders": "catalog:",
"kea-router": "catalog:",
diff --git a/products/endpoints/frontend/endpoint-tabs/EndpointQuery.tsx b/products/endpoints/frontend/endpoint-tabs/EndpointQuery.tsx
index 1dd08cca499a..b2ce086d0854 100644
--- a/products/endpoints/frontend/endpoint-tabs/EndpointQuery.tsx
+++ b/products/endpoints/frontend/endpoint-tabs/EndpointQuery.tsx
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { useActions, useValues } from 'kea'
import { MouseEvent as ReactMouseEvent, ReactNode, useEffect, useMemo, useRef, useState } from 'react'
diff --git a/products/endpoints/package.json b/products/endpoints/package.json
index ab47613e3525..ed002bbf6079 100644
--- a/products/endpoints/package.json
+++ b/products/endpoints/package.json
@@ -17,7 +17,7 @@
"@posthog/icons": "catalog:",
"@types/react": "*",
"clsx": "*",
- "fast-deep-equal": "*",
+ "fast-equals": "catalog:",
"fuse.js": "*",
"react": "*"
}
diff --git a/products/error_tracking/frontend/components/Breakdowns/breakdownFiltersLogic.ts b/products/error_tracking/frontend/components/Breakdowns/breakdownFiltersLogic.ts
index 0eff7f125faf..5796f51f1681 100644
--- a/products/error_tracking/frontend/components/Breakdowns/breakdownFiltersLogic.ts
+++ b/products/error_tracking/frontend/components/Breakdowns/breakdownFiltersLogic.ts
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { actions, kea, path, reducers } from 'kea'
import { actionToUrl, router, urlToAction } from 'kea-router'
diff --git a/products/error_tracking/frontend/components/IssueFilters/issueFiltersLogic.ts b/products/error_tracking/frontend/components/IssueFilters/issueFiltersLogic.ts
index 6cf090085ee4..a2bd5acb05b3 100644
--- a/products/error_tracking/frontend/components/IssueFilters/issueFiltersLogic.ts
+++ b/products/error_tracking/frontend/components/IssueFilters/issueFiltersLogic.ts
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { actions, connect, kea, key, listeners, path, props, reducers, selectors } from 'kea'
import { SelectedQuickFilter, quickFiltersSectionLogic } from 'lib/components/QuickFilters'
diff --git a/products/error_tracking/frontend/components/IssueQueryOptions/issueQueryOptionsLogic.ts b/products/error_tracking/frontend/components/IssueQueryOptions/issueQueryOptionsLogic.ts
index 9183c8d074f6..02972f6f7cfc 100644
--- a/products/error_tracking/frontend/components/IssueQueryOptions/issueQueryOptionsLogic.ts
+++ b/products/error_tracking/frontend/components/IssueQueryOptions/issueQueryOptionsLogic.ts
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { actions, kea, key, listeners, path, props, reducers } from 'kea'
import { actionToUrl, router, urlToAction } from 'kea-router'
import posthog from 'posthog-js'
diff --git a/products/error_tracking/frontend/scenes/ErrorTrackingScene/errorTrackingSceneLogic.ts b/products/error_tracking/frontend/scenes/ErrorTrackingScene/errorTrackingSceneLogic.ts
index e5c6d5348624..e81deadacc01 100644
--- a/products/error_tracking/frontend/scenes/ErrorTrackingScene/errorTrackingSceneLogic.ts
+++ b/products/error_tracking/frontend/scenes/ErrorTrackingScene/errorTrackingSceneLogic.ts
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { actions, connect, kea, path, reducers, selectors } from 'kea'
import { actionToUrl, router, urlToAction } from 'kea-router'
import { subscriptions } from 'kea-subscriptions'
diff --git a/products/error_tracking/frontend/utils.ts b/products/error_tracking/frontend/utils.ts
index 2159c31ff8c0..2d3d5680ca42 100644
--- a/products/error_tracking/frontend/utils.ts
+++ b/products/error_tracking/frontend/utils.ts
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { LogicWrapper } from 'kea'
import { routerType } from 'kea-router/lib/routerType'
import { MouseEvent } from 'react'
diff --git a/products/error_tracking/package.json b/products/error_tracking/package.json
index 40ac2c68d526..2caaf16e0040 100644
--- a/products/error_tracking/package.json
+++ b/products/error_tracking/package.json
@@ -31,7 +31,7 @@
"clsx": "*",
"cva": "1.0.0-beta.3",
"d3": "*",
- "fast-deep-equal": "*",
+ "fast-equals": "catalog:",
"fuse.js": "*",
"react": "*",
"react-dom": "*",
diff --git a/products/logs/frontend/components/LogsViewer/Filters/logsFilterHistoryLogic.ts b/products/logs/frontend/components/LogsViewer/Filters/logsFilterHistoryLogic.ts
index b85b0d092dbf..44e9f18493b9 100644
--- a/products/logs/frontend/components/LogsViewer/Filters/logsFilterHistoryLogic.ts
+++ b/products/logs/frontend/components/LogsViewer/Filters/logsFilterHistoryLogic.ts
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { actions, connect, kea, key, listeners, path, props, reducers, selectors } from 'kea'
import posthog from 'posthog-js'
diff --git a/products/logs/frontend/components/LogsViewer/Filters/logsViewerFiltersLogic.ts b/products/logs/frontend/components/LogsViewer/Filters/logsViewerFiltersLogic.ts
index 860ad32e86a9..8ce7f1fede41 100644
--- a/products/logs/frontend/components/LogsViewer/Filters/logsViewerFiltersLogic.ts
+++ b/products/logs/frontend/components/LogsViewer/Filters/logsViewerFiltersLogic.ts
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { actions, afterMount, kea, key, listeners, path, propsChanged, props, reducers, selectors } from 'kea'
import posthog from 'posthog-js'
diff --git a/products/logs/frontend/components/LogsViewer/data/logsViewerDataLogic.ts b/products/logs/frontend/components/LogsViewer/data/logsViewerDataLogic.ts
index aaa8d5282353..41ccacf05ef8 100644
--- a/products/logs/frontend/components/LogsViewer/data/logsViewerDataLogic.ts
+++ b/products/logs/frontend/components/LogsViewer/data/logsViewerDataLogic.ts
@@ -1,5 +1,5 @@
import colors from 'ansi-colors'
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { actions, afterMount, connect, events, kea, key, listeners, path, props, reducers, selectors } from 'kea'
import { loaders } from 'kea-loaders'
import { subscriptions } from 'kea-subscriptions'
diff --git a/products/logs/frontend/logsSceneLogic.tsx b/products/logs/frontend/logsSceneLogic.tsx
index ee1f328150bc..9ed6c3d86a49 100644
--- a/products/logs/frontend/logsSceneLogic.tsx
+++ b/products/logs/frontend/logsSceneLogic.tsx
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { actions, connect, kea, listeners, path, reducers } from 'kea'
import { router, urlToAction } from 'kea-router'
diff --git a/products/logs/package.json b/products/logs/package.json
index 058bf65a87af..84591d978241 100644
--- a/products/logs/package.json
+++ b/products/logs/package.json
@@ -33,7 +33,7 @@
"ansi-colors": "*",
"clsx": "*",
"eslint": "*",
- "fast-deep-equal": "*",
+ "fast-equals": "catalog:",
"jest": "*",
"papaparse": "*",
"react": "*",
diff --git a/products/replay_vision/package.json b/products/replay_vision/package.json
index 6697bffae931..1b757e5d0efa 100644
--- a/products/replay_vision/package.json
+++ b/products/replay_vision/package.json
@@ -22,7 +22,6 @@
"@storybook/react": "catalog:",
"@types/react": "*",
"clsx": "*",
- "fast-deep-equal": "*",
"react": "*",
"typescript": "*"
}
diff --git a/products/tracing/frontend/tracingFiltersLogic.ts b/products/tracing/frontend/tracingFiltersLogic.ts
index 4f39258b329b..020b2571d193 100644
--- a/products/tracing/frontend/tracingFiltersLogic.ts
+++ b/products/tracing/frontend/tracingFiltersLogic.ts
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { actions, afterMount, kea, key, path, props, propsChanged, reducers, selectors } from 'kea'
import { DEFAULT_UNIVERSAL_GROUP_FILTER } from 'lib/components/UniversalFilters/universalFiltersLogic'
diff --git a/products/tracing/frontend/tracingSceneLogic.ts b/products/tracing/frontend/tracingSceneLogic.ts
index a2e7b303d885..31546e53d44c 100644
--- a/products/tracing/frontend/tracingSceneLogic.ts
+++ b/products/tracing/frontend/tracingSceneLogic.ts
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { actions, connect, kea, listeners, path, reducers, selectors } from 'kea'
import { router, urlToAction } from 'kea-router'
diff --git a/products/tracing/package.json b/products/tracing/package.json
index 2b41358ccc2f..e6c6b55153c1 100644
--- a/products/tracing/package.json
+++ b/products/tracing/package.json
@@ -19,7 +19,7 @@
"@testing-library/react": "*",
"@types/react": "*",
"clsx": "*",
- "fast-deep-equal": "*",
+ "fast-equals": "catalog:",
"react": "*",
"react-window": "*"
}
diff --git a/products/workflows/frontend/Workflows/hogflows/panel/testing/hogFlowEditorTestLogic.ts b/products/workflows/frontend/Workflows/hogflows/panel/testing/hogFlowEditorTestLogic.ts
index e6d56b96f42c..cdccd737e930 100644
--- a/products/workflows/frontend/Workflows/hogflows/panel/testing/hogFlowEditorTestLogic.ts
+++ b/products/workflows/frontend/Workflows/hogflows/panel/testing/hogFlowEditorTestLogic.ts
@@ -1,4 +1,4 @@
-import equal from 'fast-deep-equal'
+import { deepEqual as equal } from 'fast-equals'
import { actions, afterMount, connect, kea, key, listeners, path, props, reducers, selectors } from 'kea'
import { forms } from 'kea-forms'
import { loaders } from 'kea-loaders'
diff --git a/products/workflows/package.json b/products/workflows/package.json
index da2c8d7ffdc1..08ca5be4710f 100644
--- a/products/workflows/package.json
+++ b/products/workflows/package.json
@@ -25,7 +25,7 @@
"@xyflow/react": "*",
"clsx": "*",
"elkjs": "*",
- "fast-deep-equal": "*",
+ "fast-equals": "catalog:",
"fuse.js": "*",
"react": "*",
"rrule": "*"