-
-
Notifications
You must be signed in to change notification settings - Fork 34k
Closed
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.
Description
At the following piece of documentation (for v12; the latest one):
- https://nodejs.org/dist/latest-v12.x/docs/api/http.html#http_message_url
- https://github.com/nodejs/node/blob/master/doc/api/http.md#messageurl
It describes:
To parse the url into its parts
require('url').parse(request.url)can be used:
[…]
…ortruecan be passed as the second argument torequire('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
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.