NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #3774 most downloaded on npm
Framework-agnostic, micro-library for getting stack traces in all environments
Last release 7 years ago
no release in 18 months
Ships unpredictably
gaps range from 9 days to 2.4 years
Most releases are documented
notes for 15 of 25 stable releases
Nothing withdrawn
no release was ever pulled
15 years old
25 releases · first in 2011
Fix sourcemaps generation config.(https://github.com/stacktracejs/stacktrace.js/commit/c597ba11db3c90c1af7be9a3cffbc556ed50c20b) Fixes https://github.
* Update dependencies * Update TypeScript typings
One column per quarter.
ES6 code is now parsed and enhanced!
ES6 code is now parsed and enhanced!
StackFrames 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
native, constructor, or eval.Nothing published for this version
Due to popular demand, we've provided a synchronous way to get stack traces.
Due to popular demand, we've provided a synchronous way to get stack traces.
StackTrace.getSync()
HEADS UP: Does not enhance stack traces with source maps or guess anonymous functions like StackTrace.get() does.
Stacktrace.getSync() gets a stack trace, synchronously. It does not attempt to map sources or guess function names, because those typically require network requests.StackTrace.report() now accepts an optional message
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}
]
}
StackTrace.report now accepts an error message argument, and will add a message: "given thing" to the JSON payload if it is provided.Nothing published for this version
Nothing published for this version
Nothing published for this version
> Possibly breaking changes: ErrorStackParser now provides it's own polyfill for Array.map and Array.filter. eval information is will display differen…
Updated error-stack-parser to v1.3 which parses eval stack entries in a better way and fixes a bunch of bugs.
Updated stacktrace-gps. Now reuses the same instance to avoid duplicate requests for the same resource by default.
JSCS and automated PR testing have been implemented to ensure consistent styles and quick feedback.
Possibly breaking changes: ErrorStackParser now provides it's own polyfill for
Array.mapandArray.filter.evalinformation is will display differently in stack traces.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Prevent duplicate in-flight network requests for the same resource (stacktracejs/stacktrace-gps#19)
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:
stacktrace.js is now modularized into 5 projects:
... and putting it all together: stacktrace.js for instrumenting your code and generating stack traces!
.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
Polyfills version necessary for browsers that don't support Promises or JSON.stringify
Added un-minified sources for CDN distribution
Added un-minified sources for CDN distribution
Nothing published for this version
Migrate references eriwen/javascript-stacktrace -> stacktracejs/stacktrace.js
Fix printStackTrace throws exception with "use strict" code and PhantomJS
Added AMD support using a UMD pattern (thanks @jeffrose)
Fix Chrome 27 detection; Chrome no longer has Error#arguments
Fix Bower integration; Added proper bower.json file
* Lots and lots of stuff
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →