Releases · stacktracejs/stacktrace.js
v2.0.2 v2.0.1ES6 code is now parsed and enhanced!
Extensible StackFramesStackFrames returned are now able to report on whether a function call was a Constructor
, native
code, or eval
code.
The community has voted to change the license of the project to the MIT License
Breaking Changesnative
, constructor
, or eval
.Due to popular demand, we've provided a synchronous way to get stack traces.
HEADS UP: Does not enhance stack traces with source maps or guess anonymous functions like StackTrace.get()
does.
StackTrace.report()
now accepts an optional message
var stackframes = [StackFrame(...), StackFrame(...)] var url = 'https://reporting.yourservice.com/jserror' var message = 'undefined is not an Object' StackTrace.report(stackframes, url, message)
Example JSON POSTed:
{
message: 'undefined is not an Object',
stack: [
{functionName: 'fn', fileName: 'file.js', lineNumber: 32, columnNumber: 1},
{functionName: 'fn2', fileName: 'file.js', lineNumber: 543, columnNumber: 32}
]
}
v1.1.0 Better parsing
Updated error-stack-parser to v1.3 which parses eval stack entries in a better way and fixes a bunch of bugs.
Better resource handlingUpdated stacktrace-gps. Now reuses the same instance to avoid duplicate requests for the same resource by default.
Better dev experienceJSCS and automated PR testing have been implemented to ensure consistent styles and quick feedback.
v1.0.1 Bug fixes updatePossibly breaking changes: ErrorStackParser now provides it's own polyfill for
Array.map
andArray.filter
.eval
information is will display differently in stack traces.
StackTrace.report
(#135)Polyfills version necessary for browsers that don't support native Promises or JSON.stringify
stacktrace.js is now modularized into 5 projects:
... and putting it all together: stacktrace.js for instrumenting your code and generating stack traces!
Key Features.toString()
!npm install stacktrace-js
bower install stacktrace-js
component install stacktracejs/stacktrace.js
https://cdnjs.cloudflare.com/ajax/libs/stacktrace.js/1.0.0/stacktrace.min.js
Better for contributors
Polyfills version necessary for browsers that don't support Promises or JSON.stringify
Added un-minified sources for CDN distribution
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4