@@ -1013,18 +1013,29 @@ pathToFileURL('/some/path%.c'); // Correct: file:///some/path%25.c (POSIX)
1013
1013
1014
1014
## Legacy URL API
1015
1015
<!-- YAML
1016
- deprecated: v11.0.0
1016
+ changes:
1017
+ - version: REPLACEME
1018
+ pr-url: https://github.com/nodejs/node/pull/37784
1019
+ description: Deprecation revoked. Status changed to "Legacy".
1020
+ - version: v11.0.0
1021
+ pr-url: https://github.com/nodejs/node/pull/22715
1022
+ description: This API is deprecated.
1017
1023
-->
1018
1024
1025
+ > Stability: 3 - Legacy: Use the WHATWG URL API instead.
1026
+
1019
1027
### Legacy ` urlObject `
1020
1028
<!-- YAML
1021
1029
changes:
1030
+ - version: REPLACEME
1031
+ pr-url: https://github.com/nodejs/node/pull/37784
1032
+ description: Deprecation revoked. Status changed to "Legacy".
1022
1033
- version: v11.0.0
1023
1034
pr-url: https://github.com/nodejs/node/pull/22715
1024
1035
description: The Legacy URL API is deprecated. Use the WHATWG URL API.
1025
1036
-->
1026
1037
1027
- > Stability: 0 - Deprecated : Use the WHATWG URL API instead.
1038
+ > Stability: 3 - Legacy : Use the WHATWG URL API instead.
1028
1039
1029
1040
The legacy ` urlObject ` (` require('url').Url ` ) is created and returned by the
1030
1041
` url.parse() ` function.
@@ -1130,6 +1141,9 @@ forward-slash characters (`/`) are required following the colon in the
1130
1141
<!-- YAML
1131
1142
added: v0.1.25
1132
1143
changes:
1144
+ - version: REPLACEME
1145
+ pr-url: https://github.com/nodejs/node/pull/37784
1146
+ description: Deprecation revoked. Status changed to "Legacy".
1133
1147
- version: v11.0.0
1134
1148
pr-url: https://github.com/nodejs/node/pull/22715
1135
1149
description: The Legacy URL API is deprecated. Use the WHATWG URL API.
@@ -1141,7 +1155,7 @@ changes:
1141
1155
times.
1142
1156
-->
1143
1157
1144
- > Stability: 0 - Deprecated : Use the WHATWG URL API instead.
1158
+ > Stability: 3 - Legacy : Use the WHATWG URL API instead.
1145
1159
1146
1160
* ` urlObject ` {Object|string} A URL object (as returned by ` url.parse() ` or
1147
1161
constructed otherwise). If a string, it is converted to an object by passing
@@ -1223,6 +1237,9 @@ The formatting process operates as follows:
1223
1237
<!-- YAML
1224
1238
added: v0.1.25
1225
1239
changes:
1240
+ - version: REPLACEME
1241
+ pr-url: https://github.com/nodejs/node/pull/37784
1242
+ description: Deprecation revoked. Status changed to "Legacy".
1226
1243
- version: v11.14.0
1227
1244
pr-url: https://github.com/nodejs/node/pull/26941
1228
1245
description: The `pathname` property on the returned URL object is now `/`
@@ -1237,7 +1254,7 @@ changes:
1237
1254
when no query string is present.
1238
1255
-->
1239
1256
1240
- > Stability: 0 - Deprecated : Use the WHATWG URL API instead.
1257
+ > Stability: 3 - Legacy : Use the WHATWG URL API instead.
1241
1258
1242
1259
* ` urlString ` {string} The URL string to parse.
1243
1260
* ` parseQueryString ` {boolean} If ` true ` , the ` query ` property will always
@@ -1267,6 +1284,9 @@ incorrect handling of usernames and passwords have been identified.
1267
1284
<!-- YAML
1268
1285
added: v0.1.25
1269
1286
changes:
1287
+ - version: REPLACEME
1288
+ pr-url: https://github.com/nodejs/node/pull/37784
1289
+ description: Deprecation revoked. Status changed to "Legacy".
1270
1290
- version: v11.0.0
1271
1291
pr-url: https://github.com/nodejs/node/pull/22715
1272
1292
description: The Legacy URL API is deprecated. Use the WHATWG URL API.
@@ -1285,7 +1305,7 @@ changes:
1285
1305
contains a hostname.
1286
1306
-->
1287
1307
1288
- > Stability: 0 - Deprecated : Use the WHATWG URL API instead.
1308
+ > Stability: 3 - Legacy : Use the WHATWG URL API instead.
1289
1309
1290
1310
* ` from ` {string} The Base URL being resolved against.
1291
1311
* ` to ` {string} The HREF URL being resolved.
0 commit comments