Skip to content
This repository was archived by the owner on Oct 5, 2022. It is now read-only.
This repository was archived by the owner on Oct 5, 2022. It is now read-only.

url parse() method is deprecated in node #126

@gndelia

Description

@gndelia

As of node v11, require('url').parse is deprecated (it works, but it is not recommended to use). See https://nodejs.org/api/url.html#url_url_parse_urlstring_parsequerystring_slashesdenotehost.

The recommendation is to use the plain object new Url() but I think it works a bit different; plus this method is exposed through metro as a global utility, so perhaps some testing should be done

here is the piece of code

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciesPull requests that update a dependency file

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions