Commit 67d45ab
fix: allowlist new components in security audit, fix flaky date test
Add smart-announcement.tsx and next/index.ts to dangerouslySetInnerHTML
allowlist (JSON script injection and feature description rendering).
Fix relative date test to also match "last week" and "last month".
Co-Authored-By: Glinr <bot@glincker.com>1 parent 7c1f94a commit 67d45ab
2 files changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
| 42 | + | |
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
| 132 | + | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| |||
0 commit comments