(value: unknown)
| 20 | * is valid JSON and prevents the browser from treating the character as markup. |
| 21 | */ |
| 22 | export const safeJsonForScript = (value: unknown): string => JSON.stringify(value).replace(/</g, '\\u003C') |
no outgoing calls
no test coverage detected