Skip to content

This lib crashes on mobile Safari or Chrome in iOS #142

@Madsim

Description

@Madsim

I don't have the possibility to get an error message, but found this lib to crash our app on mobile.
It's enough to import it, to cause the problem.

Reported it here as well: sindresorhus/get-urls#74

Update:

The Problem is caused by this line in v.5.3.1 (used by get-urls):
urlObj.pathname = urlObj.pathname.replace(/(?<!\b(?:[a-z][a-z\d+\-.]{1,50}:))\/{2,}/g, '/');

I don't know why get-urls is using such an old version, but maybe updating the dep will fix it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions