Fetch and apply sourcemaps in logs and stack traces originating from the browser or puppeteer.
# applySourceMaps
(x, mapFn)
src/apply-sourcemaps.ts#L14
# x
# mapFn
(url)
applySourceMaps(x, mapFn) =>
# createDeferredCache
(fn)
src/util.ts#L11
# fn
(id, rest)
# id
# rest
fn(id, rest) =>
createDeferredCache<T, U>(fn) =>
# (key, args)
# key
# args
(key, args) =>
# fetchSourceMap
(key, args)
src/fetch-source-map.ts#L23
# key
# args
fetchSourceMap(key, args) =>
# getCodeFrame
(message, { column, line, originalUrl, url })
src/get-code-frame.ts#L4 # getRealLocationFromUrlLineCol
(real)
src/get-real-location-from-line-col.ts#L36 # getSourceMap
(url, content)
src/get-source-map.ts#L9
# url
# content
getSourceMap(url, content) =>