(error: Error, options?: ParseOptions)
| 160 | let frame = cache?.get(line); |
| 161 | if (!frame) { |
| 162 | if (isV8 ? !CHROME_IE_STACK_REGEXP.test(line) : SAFARI_NATIVE_CODE_REGEXP.test(line)) |
| 163 | continue; |
| 164 | frame = isV8 ? parseV8Line(line) : parseSafariLine(line); |
| 165 | cache?.set(line, frame); |
| 166 | } |
| 167 | frames.push(frame); |
| 168 | } |
| 169 | return frames; |
| 170 | }; |
| 171 | |
| 172 | export const parseV8OrIeString = (stack: string): StackFrame[] => parseLines(stack, true); |
| 173 | |
| 174 | export const parseFFOrSafariString = (stack: string): StackFrame[] => parseLines(stack, false); |
| 175 | |
| 176 | export const createStackParser = () => { |
nothing calls this directly
no test coverage detected
searching dependent graphs…