Skip to content

Documentation for http.message.url suggests using deprecated url API #30048

Closed
@denilsonsa

Description

@denilsonsa

At the following piece of documentation (for v12; the latest one):

It describes:

To parse the url into its parts require('url').parse(request.url) can be used:
[…]
…or true can be passed as the second argument to require('url').parse:
[…]

However, this legacy url module/API is deprecated since v11.

Thus, the documentation should be updated.

Bonus points for grepping the rest of the documentation to find other outdated examples.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docIssues and PRs related to the documentations.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions