You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
862 B

4 years ago
  1. ## v1.0.x
  2. StackFrame v1.0 is out! Major features:
  3. * `eval`, native, and global code can now be represented.
  4. * `evalOrigin` represents location of code within an eval'd String or Function
  5. * BREAKING CHANGE: `new StackFrame(obj)` is now constructed with an Object parameter. For example:
  6. ```js
  7. var stackFrame = new StackFrame({
  8. functionName: 'funName',
  9. args: ['args'],
  10. fileName: 'http://localhost:3000/file.js',
  11. lineNumber: 1,
  12. columnNumber: 3288,
  13. isEval: true,
  14. isNative: false,
  15. source: 'ORIGINAL_STACK_LINE'
  16. });
  17. ```
  18. ## v0.3.x
  19. * Add source (original stack line) to StackFrame definition
  20. ## v0.2.2
  21. * Add name to AMD definition
  22. * Better docs
  23. ## v0.2.1
  24. * Add minified/source-mapped distribution
  25. ## v0.2.0
  26. * Add .toString() method compatible with stacktrace.js
  27. ## v0.1.1
  28. * Clean up npm package
  29. ## v0.1.0
  30. * Draft implementation