JSPM

stack-frame-unmapper

0.3.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 32
  • Score
    100M100P100Q68982F
  • License MIT

Unmaps a stack frame.

Package Exports

  • stack-frame-unmapper

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (stack-frame-unmapper) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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? The number of lines to provide before and after the line specified in the StackFrame. (optional, default 3)
  • contextLines number? (optional, default 3)

Returns Promise<Array<StackFrame>>