stacktracejs / error-stack-parser

Extract meaning from JS Errors
https://www.stacktracejs.com/#!/docs/error-stack-parser
MIT License
450 stars 52 forks source link

Re-export StackFrame type for backwards compatibility #72

Closed andersk closed 2 years ago

andersk commented 2 years ago

Description

2.0.7 removed a mis-matching export of StackFrame (#54), but some users were relying on it. Re-export the correct one.

Motivation and Context

https://github.com/stacktracejs/error-stack-parser/pull/54#commitcomment-66531802

How Has This Been Tested?

tsc error-stack-parser.d.ts

Types of changes

Checklist:

eriwen commented 2 years ago

Thanks for the PR @andersk!

I'd like to prevent these kinds of regressions using automated checks. Do you have any recommendations (GitHub actions or npm scripts) to do this?

andersk commented 2 years ago

@RenateM It sounds like you have a very old version of TypeScript. Make sure you’ve upgraded to at least 3.8 (latest: 4.7.3).