Skip to content

fix stackframe regex on scoped packages#696

Merged
markwolff merged 3 commits intodevelopfrom
fix/scoped-stackframes
Nov 3, 2020
Merged

fix stackframe regex on scoped packages#696
markwolff merged 3 commits intodevelopfrom
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

asklar commented Nov 3, 2020

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

    at Array.forEach (<anonymous>)

Mark Wolff and others added 2 commits November 3, 2020 11:00
@asklar
Copy link
Copy Markdown
Member

asklar commented Nov 3, 2020

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.

@markwolff markwolff merged commit b797bc9 into develop Nov 3, 2020
@markwolff markwolff deleted the fix/scoped-stackframes branch November 3, 2020 19:29
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