MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / winjs

Function winjs

packages/browser/src/stack-parsers.ts:154–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152const winjsRegex = /^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i;
153
154const winjs: StackLineParserFn = line => {
155 const parts = winjsRegex.exec(line) as null | [string, string, string, string, string];
156
157 return parts
158 ? createFrame(parts[2], parts[1] || UNKNOWN_FUNCTION, +parts[3], parts[4] ? +parts[4] : undefined)
159 : undefined;
160};
161
162export const winjsStackLineParser: StackLineParser = [WINJS_PRIORITY, winjs];
163

Callers

nothing calls this directly

Calls 2

createFrameFunction · 0.85
execMethod · 0.80

Tested by

no test coverage detected