(value: string)
| 3 | * (`=`, `+`, `-`, `@`, tab, CR), neutralizing CSV injection in Excel/Sheets. |
| 4 | */ |
| 5 | export function neutralizeCsvFormula(value: string): string { |
| 6 | return /^[=+\-@\t\r]/.test(value) ? `'${value}` : value |
| 7 | } |
no test coverage detected