(value: string)
| 4 | * Safely decodes a URI component, returning the original string if decoding fails. |
| 5 | */ |
| 6 | export function safeDecode(value: string): string { |
| 7 | try { |
| 8 | return decodeURIComponent(value); |
| 9 | } catch { |
| 10 | return value; |
| 11 | } |
| 12 | } |
| 13 | |
| 14 | /** |
| 15 | * Checks if a key matches any of the provided patterns using exact, separator-bounded prefix, or glob matching. |
no outgoing calls
no test coverage detected