Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Releases: stacktracejs/stacktrace.js

v2.0.2

09 Apr 15:57
v2.0.2
This tag was signed with the committer’sverified signature.
eriwen Eric Wendelin
GPG key ID:491C948F3E846762
Verified
Learn about vigilant mode.
e268154
This commit was signed with the committer’sverified signature.
eriwen Eric Wendelin
GPG key ID:491C948F3E846762
Verified
Learn about vigilant mode.

Choose a tag to compare

Assets2
Loading

v2.0.1

09 Apr 15:56
v2.0.1
This tag was signed with the committer’sverified signature.
eriwen Eric Wendelin
GPG key ID:491C948F3E846762
Verified
Learn about vigilant mode.
c934e1f
This commit was signed with the committer’sverified signature.
eriwen Eric Wendelin
GPG key ID:491C948F3E846762
Verified
Learn about vigilant mode.

Choose a tag to compare

  • Update dependencies
  • Update TypeScript typings
Loading

v2.0.0

01 May 04:39

Choose a tag to compare

ES6 Support

ES6 code is now parsed and enhanced!

Extensible StackFrames

StackFrames returned are now able to report on whether a function call was aConstructor,native code, oreval code.

MIT License

The communityhas voted to change the license of the project to theMIT License

Breaking Changes

  • StackFrame now has a different, more extensible API that allows frames to be marked asnative,constructor, oreval.
  • stacktrace.js now ships withno polyfills of any kind. Some Array polyfills were provided for old IE browsers in v1.x, these have been removed.
Loading

v1.3.0

13 Jun 14:58

Choose a tag to compare

Synchronous Stack Traces

Due to popular demand, we've provided a synchronous way to get stack traces.

StackTrace.getSync()

HEADS UP: Doesnot enhance stack traces with source maps or guess anonymous functions likeStackTrace.get() does.

Loading

v1.2.0

13 Jun 15:05

Choose a tag to compare

Error Messages in Reports

StackTrace.report() now accepts an optional message

varstackframes=[StackFrame(...),StackFrame(...)]varurl='https://reporting.yourservice.com/jserror'varmessage='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}  ]}
Loading

v1.1.0

01 Apr 21:22

Choose a tag to compare

Better parsing

Updatederror-stack-parser to v1.3 which parses eval stack entries in a better way and fixes a bunch of bugs.

Better resource handling

Updatedstacktrace-gps. Now reuses the same instance to avoid duplicate requests for the same resource by default.

Better dev experience

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 forArray.map andArray.filter.eval information is will display differently in stack traces.

Loading

v1.0.1

21 Oct 14:20

Choose a tag to compare

Bug fixes update

Polyfills version necessary for browsers that don't support nativePromises orJSON.stringify

Loading

v1.0.0

21 Sep 02:22

Choose a tag to compare

stacktrace.js is reborn

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

  • Fully asynchronous API, usingPromises. Use your own polyfill or useour distribution with polyfills included. See theMigration Guide
  • Source Maps support
  • Forward-compatible: stacktrace.js no longer assumes a given browser formats Error stacks in a given way. This prevents new browser versions from breaking error parsing
  • Stack entries are now fully parsed and returned asStackFrame objects. Prefer the old format? - just call.toString()!
  • Use only what you need. All 5 projects work independently as well as together!
  • iOS 8+ Safari support

Available everywhere

npm install stacktrace-jsbower install stacktrace-jscomponent install stacktracejs/stacktrace.jshttps://cdnjs.cloudflare.com/ajax/libs/stacktrace.js/1.0.0/stacktrace.min.js

Better for contributors

  • gulp build
  • TravisCI + Sauce for testing a bunch of browsers
  • EditorConfig for style adherence

Polyfills version necessary for browsers that don't supportPromises orJSON.stringify

Loading

v0.6.4

19 Sep 19:14

Choose a tag to compare

Added un-minified sources for CDN distribution

Loading

[8]ページ先頭

©2009-2025 Movatter.jp