Skip to content

Commit ea3538a

Browse files
fix(highlight.run): correct privacy masking for empty strings (#332)
## Summary Brings in launchdarkly/rrweb#6 to correct privacy masking for empty strings. ## How did you test this change? <img width="3537" height="1946" alt="image" src="https://github.com/user-attachments/assets/be3d2e66-0c91-42a6-b74a-d72c3cd3909d" /> ## Are there any deployment considerations? <!-- Backend - Do we need to consider migrations or backfilling data? --> <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Adds an extra `ld-mask-text` block in the privacy demo to cover short words and multiple spaces. > > - **E2E React Router Privacy Demo** > - Update `e2e/react-router/src/routes/privacy-demo.tsx` to include a new `ld-mask-text` `<div>` with text containing short words and extra spaces for masking behavior coverage. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit fd30057. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY --> --------- Co-authored-by: SpennyNDaJets <samarantides@launchdarkly.com>
1 parent a421812 commit ea3538a

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

e2e/react-router/src/routes/privacy-demo.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ export default function PrivacyDemo() {
4242
<p className="ld-mask-text">
4343
<span>Secret text</span>
4444
</p>
45+
<div className="ld-mask-text">
46+
Test a string with shorter words like in and with extra
47+
{' '}spaces.
48+
</div>
4549
</section>
4650

4751
<section>

0 commit comments

Comments
 (0)