stack-frame-unmapper
v0.4.0
Published
Unmaps a stack frame.
Downloads
87
Readme
stack-frame-unmapper
Unmaps a stack frame.
API
unmap
Turns a set of mapped StackFrames back into their generated code position and enhances them with code.
Parameters
fileUri
string The URI of the bundle.js file.frames
Array<StackFrame> A set of StackFrames which are already mapped and missing their generated positions.fileContents
number? Optional. The number of lines to provide before and after the line specified in the StackFrame. (optional, default3
)contextLines
number? (optional, default3
)