diff options
author | Jakob Krigovsky <jakob@krigovsky.com> | 2019-10-04 14:38:34 +0300 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2019-10-08 07:18:01 +0300 |
commit | 064e111515185529b6f943dc66929440557fd609 (patch) | |
tree | cf97ea61a0cd285b1ab0b1ba44e1b89422fe899d /doc/api/url.md | |
parent | 95266db2bc4d1cf1ab7d63aeed1a728124ead298 (diff) |
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: https://github.com/nodejs/node/pull/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>
Diffstat (limited to 'doc/api/url.md')
-rw-r--r-- | doc/api/url.md | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/doc/api/url.md b/doc/api/url.md index 6cb82c71676..3583d310749 100644 --- a/doc/api/url.md +++ b/doc/api/url.md @@ -21,10 +21,6 @@ The `url` module provides two APIs for working with URLs: a legacy API that is Node.js specific, and a newer API that implements the same [WHATWG URL Standard][] used by web browsers. -While the Legacy API has not been deprecated, it is maintained solely for -backwards compatibility with existing applications. New application code -should use the WHATWG API. - A comparison between the WHATWG and Legacy APIs is provided below. Above the URL `'http://user:pass@sub.example.com:8080/p/a/t/h?query=string#hash'`, properties of an object returned by the legacy `url.parse()` are shown. Below it are |