(obj)
| 266 | })[0]; |
| 267 | |
| 268 | function calculateEndpointCacheKey(obj) { |
| 269 | let str = ""; |
| 270 | for (const key in obj) { |
| 271 | if (obj[key] === true) { |
| 272 | str += ENDPOINT_CACHE_KEY_LOOKUP[key]; |
| 273 | } else if (typeof obj[key] === "string") { |
| 274 | str += obj[key]; |
| 275 | } |
| 276 | } |
| 277 | return str; |
| 278 | } |
| 279 | |
| 280 | function codeToRegex(fn, includeSignature = false) { |
| 281 | return new RegExp( |
no outgoing calls
no test coverage detected