Skip to content

Regex for matching URLs is not strict enough #16

Closed
@raybooysen

Description

@raybooysen

Hit this today, we're using a package which used the source-map-support package. In their code they have a comment that, to the loader, looks like a source map url. I've opened an issue here:
evanw/node-source-map-support#136

Is it possible to make the regex more strict?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions