PostHog / posthog

🦔 PostHog provides open-source web & product analytics, session recording, feature flagging and A/B testing that you can self-host. Get started - free.
https://posthog.com
Other
22.09k stars 1.34k forks source link

feat(cdp): make hash functions return null if the input is null #26311

Closed MarconLP closed 5 days ago

MarconLP commented 5 days ago

Problem

a way to avoid using this code: https://github.com/PostHog/posthog/pull/26173/files#diff-684d0c69e11a4582b9968d3ad3cd9680c4044e13d122a9bcc2dcc551fac19010R26-R31

Changes

Does this work well for both Cloud and self-hosted?

How did you test this code?

github-actions[bot] commented 5 days ago

Size Change: 0 B

Total Size: 1.16 MB

ℹ️ View Unchanged | Filename | Size | | :--- | :---: | | `frontend/dist/toolbar.js` | 1.16 MB |

compressed-size-action