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'
});
- Add source (original stack line) to StackFrame definition
- Add name to AMD definition
- Better docs
- Add minified/source-mapped distribution
- Add .toString() method compatible with stacktrace.js
- Clean up npm package
- Draft implementation