Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f566cd5

Browse filesBrowse files
sonicdoeBridgeAR
authored andcommitted
doc: remove misleading paragraph about the Legacy URL API
The Legacy URL API is deprecated, see: - https://nodejs.org/api/url.html#url_legacy_url_api - https://nodejs.org/api/deprecations.html# deprecations_dep0116_legacy_url_api PR-URL: #29844 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
1 parent a240d45 commit f566cd5
Copy full SHA for f566cd5

File tree

Expand file treeCollapse file tree

1 file changed

+0
-4
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-4
lines changed
Open diff view settings
Collapse file

‎doc/api/url.md‎

Copy file name to clipboardExpand all lines: doc/api/url.md
-4Lines changed: 0 additions & 4 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ The `url` module provides two APIs for working with URLs: a legacy API that is
2121
Node.js specific, and a newer API that implements the same
2222
[WHATWG URL Standard][] used by web browsers.
2323

24-
While the Legacy API has not been deprecated, it is maintained solely for
25-
backwards compatibility with existing applications. New application code
26-
should use the WHATWG API.
27-
2824
A comparison between the WHATWG and Legacy APIs is provided below. Above the URL
2925
`'http://user:pass@sub.example.com:8080/p/a/t/h?query=string#hash'`, properties
3026
of an object returned by the legacy `url.parse()` are shown. Below it are

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.