Skip to content

fix stackframe regex on scoped packages - #696

Merged
Mark Wolff (markwolff) merged 3 commits into
developfrom
fix/scoped-stackframes
Nov 3, 2020
Merged

Mark Wolff (markwolff) merged 3 commits into
developfrom
fix/scoped-stackframes

Conversation

@markwolff

Copy link
Copy Markdown
Contributor

Updates regex to support stackframes from scoped packages, e.g. @microsoft/applicationinsights-web

Fixes #695

@asklar

Copy link
Copy Markdown
Member

thanks for fixing this. One other case that the regex doesn't match:

    at Array.forEach (<anonymous>)

Comment thread Library/EnvelopeFactory.ts Resolved
Mark Wolff and others added 2 commits November 3, 2020 11:00
@asklar

Copy link
Copy Markdown
Member

I'll file a separate bug to track the fact that at Array.forEach (<anonymous>) isn't captured but I don't want to block the PR on that, we should get this one change out the door asap IMO.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PII Leak: Stack parsing is broken in scoped npm packages

2 participants