(input: string)
| 30 | ); |
| 31 | |
| 32 | function jsonParse(input: string) { |
| 33 | try { |
| 34 | return JSON.parse(input); |
| 35 | } catch (err) { |
| 36 | if (err instanceof SyntaxError) { |
| 37 | console.error("error parsing json:", input); |
| 38 | } |
| 39 | throw err; |
| 40 | } |
| 41 | } |
| 42 | |
| 43 | export const isCustomRegistry = (registry?: string): boolean => { |
| 44 | return ( |
no outgoing calls
no test coverage detected