Skip to content

Namespaced modules break trace parser #751

@juanger

Description

@juanger

Feel free to close/move this as needed or let me know where I should move it.

The issue I'm experiencing is caused by name-spaced npm module names (with an @ at the start) because the firefox RegExp seems to match them and cause the wrong parsing behavior to be applied.

const regexValidFrame_FireFox = /(^|@)\S+:\d+|.+line\s+\d+\s+>\s+(eval|Function).+/;

Here's how it looks like (package name is @hot-loader/react-dom):

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions