@@ -1075,9 +1075,17 @@ console.log(urlToHttpOptions(myUrl));
1075
1075
1076
1076
## Legacy URL API
1077
1077
<!-- YAML
1078
- deprecated: v11.0.0
1078
+ changes:
1079
+ - version: REPLACEME
1080
+ pr-url: https://github.com/nodejs/node/pull/37784
1081
+ description: Deprecation revoked. Status changed to "Legacy".
1082
+ - version: v11.0.0
1083
+ pr-url: https://github.com/nodejs/node/pull/22715
1084
+ description: This API is deprecated.
1079
1085
-->
1080
1086
1087
+ > Stability: 3 - Legacy: Use the WHATWG URL API instead.
1088
+
1081
1089
### Legacy ` urlObject `
1082
1090
<!-- YAML
1083
1091
changes:
@@ -1086,7 +1094,7 @@ changes:
1086
1094
description: The Legacy URL API is deprecated. Use the WHATWG URL API.
1087
1095
-->
1088
1096
1089
- > Stability: 0 - Deprecated : Use the WHATWG URL API instead.
1097
+ > Stability: 3 - Legacy : Use the WHATWG URL API instead.
1090
1098
1091
1099
The legacy ` urlObject ` (` require('url').Url ` ) is created and returned by the
1092
1100
` url.parse() ` function.
@@ -1203,7 +1211,7 @@ changes:
1203
1211
times.
1204
1212
-->
1205
1213
1206
- > Stability: 0 - Deprecated : Use the WHATWG URL API instead.
1214
+ > Stability: 3 - Legacy : Use the WHATWG URL API instead.
1207
1215
1208
1216
* ` urlObject ` {Object|string} A URL object (as returned by ` url.parse() ` or
1209
1217
constructed otherwise). If a string, it is converted to an object by passing
@@ -1299,7 +1307,7 @@ changes:
1299
1307
when no query string is present.
1300
1308
-->
1301
1309
1302
- > Stability: 0 - Deprecated : Use the WHATWG URL API instead.
1310
+ > Stability: 3 - Legacy : Use the WHATWG URL API instead.
1303
1311
1304
1312
* ` urlString ` {string} The URL string to parse.
1305
1313
* ` parseQueryString ` {boolean} If ` true ` , the ` query ` property will always
@@ -1347,7 +1355,7 @@ changes:
1347
1355
contains a hostname.
1348
1356
-->
1349
1357
1350
- > Stability: 0 - Deprecated : Use the WHATWG URL API instead.
1358
+ > Stability: 3 - Legacy : Use the WHATWG URL API instead.
1351
1359
1352
1360
* ` from ` {string} The Base URL being resolved against.
1353
1361
* ` to ` {string} The HREF URL being resolved.
0 commit comments