@@ -1075,18 +1075,29 @@ 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:
1092
+ - version: REPLACEME
1093
+ pr-url: https://github.com/nodejs/node/pull/37784
1094
+ description: Deprecation revoked. Status changed to "Legacy".
1084
1095
- version: v11.0.0
1085
1096
pr-url: https://github.com/nodejs/node/pull/22715
1086
1097
description: The Legacy URL API is deprecated. Use the WHATWG URL API.
1087
1098
-->
1088
1099
1089
- > Stability: 0 - Deprecated : Use the WHATWG URL API instead.
1100
+ > Stability: 3 - Legacy : Use the WHATWG URL API instead.
1090
1101
1091
1102
The legacy ` urlObject ` (` require('url').Url ` ) is created and returned by the
1092
1103
` url.parse() ` function.
@@ -1192,6 +1203,9 @@ forward-slash characters (`/`) are required following the colon in the
1192
1203
<!-- YAML
1193
1204
added: v0.1.25
1194
1205
changes:
1206
+ - version: REPLACEME
1207
+ pr-url: https://github.com/nodejs/node/pull/37784
1208
+ description: Deprecation revoked. Status changed to "Legacy".
1195
1209
- version: v11.0.0
1196
1210
pr-url: https://github.com/nodejs/node/pull/22715
1197
1211
description: The Legacy URL API is deprecated. Use the WHATWG URL API.
@@ -1203,7 +1217,7 @@ changes:
1203
1217
times.
1204
1218
-->
1205
1219
1206
- > Stability: 0 - Deprecated : Use the WHATWG URL API instead.
1220
+ > Stability: 3 - Legacy : Use the WHATWG URL API instead.
1207
1221
1208
1222
* ` urlObject ` {Object|string} A URL object (as returned by ` url.parse() ` or
1209
1223
constructed otherwise). If a string, it is converted to an object by passing
@@ -1285,6 +1299,9 @@ The formatting process operates as follows:
1285
1299
<!-- YAML
1286
1300
added: v0.1.25
1287
1301
changes:
1302
+ - version: REPLACEME
1303
+ pr-url: https://github.com/nodejs/node/pull/37784
1304
+ description: Deprecation revoked. Status changed to "Legacy".
1288
1305
- version: v11.14.0
1289
1306
pr-url: https://github.com/nodejs/node/pull/26941
1290
1307
description: The `pathname` property on the returned URL object is now `/`
@@ -1299,7 +1316,7 @@ changes:
1299
1316
when no query string is present.
1300
1317
-->
1301
1318
1302
- > Stability: 0 - Deprecated : Use the WHATWG URL API instead.
1319
+ > Stability: 3 - Legacy : Use the WHATWG URL API instead.
1303
1320
1304
1321
* ` urlString ` {string} The URL string to parse.
1305
1322
* ` parseQueryString ` {boolean} If ` true ` , the ` query ` property will always
@@ -1329,6 +1346,9 @@ incorrect handling of usernames and passwords have been identified.
1329
1346
<!-- YAML
1330
1347
added: v0.1.25
1331
1348
changes:
1349
+ - version: REPLACEME
1350
+ pr-url: https://github.com/nodejs/node/pull/37784
1351
+ description: Deprecation revoked. Status changed to "Legacy".
1332
1352
- version: v11.0.0
1333
1353
pr-url: https://github.com/nodejs/node/pull/22715
1334
1354
description: The Legacy URL API is deprecated. Use the WHATWG URL API.
@@ -1347,7 +1367,7 @@ changes:
1347
1367
contains a hostname.
1348
1368
-->
1349
1369
1350
- > Stability: 0 - Deprecated : Use the WHATWG URL API instead.
1370
+ > Stability: 3 - Legacy : Use the WHATWG URL API instead.
1351
1371
1352
1372
* ` from ` {string} The Base URL being resolved against.
1353
1373
* ` to ` {string} The HREF URL being resolved.
0 commit comments