(key)
| 48 | }; |
| 49 | |
| 50 | const getKeyString = (key) => { |
| 51 | const quotableChars = [':', '"', '{', '}', ' ']; |
| 52 | return quotableChars.some((char) => key.includes(char)) ? ('"' + key.replaceAll('"', '\\"') + '"') : key; |
| 53 | }; |
| 54 | |
| 55 | const getValueUrl = (url) => { |
| 56 | // Handle null, undefined, and empty strings |
no outgoing calls
no test coverage detected