Skip to content

Commit 56d709d

Browse files
committed
doc: revoke deprecation of legacy url, change status to legacy
Signed-off-by: James M Snell <jasnell@gmail.com>
1 parent 3f613ad commit 56d709d

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

doc/api/deprecations.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -2172,12 +2172,15 @@ future release.
21722172
### DEP0116: Legacy URL API
21732173
<!-- YAML
21742174
changes:
2175+
- version: REPLACEME
2176+
pr-url: https://github.com/nodejs/node/pull/00000
2177+
description: Deprecation revoked. Status changed to "Legacy"
21752178
- version: v11.0.0
21762179
pr-url: https://github.com/nodejs/node/pull/22715
21772180
description: Documentation-only deprecation.
21782181
-->
21792182

2180-
Type: Documentation-only
2183+
Type: Type: Deprecation revoked
21812184

21822185
The [Legacy URL API][] is deprecated. This includes [`url.format()`][],
21832186
[`url.parse()`][], [`url.resolve()`][], and the [legacy `urlObject`][]. Please

doc/api/url.md

+6-7
Original file line numberDiff line numberDiff line change
@@ -1074,9 +1074,8 @@ console.log(urlToHttpOptions(myUrl));
10741074
```
10751075

10761076
## Legacy URL API
1077-
<!-- YAML
1078-
deprecated: v11.0.0
1079-
-->
1077+
1078+
> Stability: 3 - Legacy: Use the WHATWG URL API instead.
10801079
10811080
### Legacy `urlObject`
10821081
<!-- YAML
@@ -1086,7 +1085,7 @@ changes:
10861085
description: The Legacy URL API is deprecated. Use the WHATWG URL API.
10871086
-->
10881087

1089-
> Stability: 0 - Deprecated: Use the WHATWG URL API instead.
1088+
> Stability: 3 - Legacy: Use the WHATWG URL API instead.
10901089
10911090
The legacy `urlObject` (`require('url').Url`) is created and returned by the
10921091
`url.parse()` function.
@@ -1203,7 +1202,7 @@ changes:
12031202
times.
12041203
-->
12051204

1206-
> Stability: 0 - Deprecated: Use the WHATWG URL API instead.
1205+
> Stability: 3 - Legacy: Use the WHATWG URL API instead.
12071206
12081207
* `urlObject` {Object|string} A URL object (as returned by `url.parse()` or
12091208
constructed otherwise). If a string, it is converted to an object by passing
@@ -1299,7 +1298,7 @@ changes:
12991298
when no query string is present.
13001299
-->
13011300

1302-
> Stability: 0 - Deprecated: Use the WHATWG URL API instead.
1301+
> Stability: 3 - Legacy: Use the WHATWG URL API instead.
13031302
13041303
* `urlString` {string} The URL string to parse.
13051304
* `parseQueryString` {boolean} If `true`, the `query` property will always
@@ -1347,7 +1346,7 @@ changes:
13471346
contains a hostname.
13481347
-->
13491348

1350-
> Stability: 0 - Deprecated: Use the WHATWG URL API instead.
1349+
> Stability: 3 - Legacy: Use the WHATWG URL API instead.
13511350
13521351
* `from` {string} The Base URL being resolved against.
13531352
* `to` {string} The HREF URL being resolved.

0 commit comments

Comments
 (0)