Skip to content

v1.0.2

Compare
Choose a tag to compare
@eriwen eriwen released this 31 Dec 22:34
· 133 commits to master since this release

StackFrame v1.0 is out! Major features:

  • eval, native, and global code can now be represented.
  • evalOrigin represents location of code within an eval'd String or Function
  • BREAKING CHANGE: new StackFrame(obj) is now constructed with an Object parameter. For example:
var stackFrame = new StackFrame({
    functionName: 'funName',
    args: ['args'],
    fileName: 'http://localhost:3000/file.js',
    lineNumber: 1,
    columnNumber: 3288, 
    isEval: true,
    isNative: false,
    source: 'ORIGINAL_STACK_LINE'
});