@@ -1024,8 +1024,9 @@ pathToFileURL('/some/path%.c'); // Correct: file:///some/path%25.c (POSIX)
1024
1024
```
1025
1025
1026
1026
## Legacy URL API
1027
-
1028
- > Stability: 0 - Deprecated: Use the WHATWG URL API instead.
1027
+ <!-- YAML
1028
+ deprecated: v11.0.0
1029
+ -->
1029
1030
1030
1031
### Legacy ` urlObject `
1031
1032
<!-- YAML
@@ -1035,6 +1036,8 @@ changes:
1035
1036
description: The Legacy URL API is deprecated. Use the WHATWG URL API.
1036
1037
-->
1037
1038
1039
+ > Stability: 0 - Deprecated: Use the WHATWG URL API instead.
1040
+
1038
1041
The legacy ` urlObject ` (` require('url').Url ` ) is created and returned by the
1039
1042
` url.parse() ` function.
1040
1043
@@ -1150,6 +1153,8 @@ changes:
1150
1153
times.
1151
1154
-->
1152
1155
1156
+ > Stability: 0 - Deprecated: Use the WHATWG URL API instead.
1157
+
1153
1158
* ` urlObject ` {Object|string} A URL object (as returned by ` url.parse() ` or
1154
1159
constructed otherwise). If a string, it is converted to an object by passing
1155
1160
it to ` url.parse() ` .
@@ -1244,6 +1249,8 @@ changes:
1244
1249
when no query string is present.
1245
1250
-->
1246
1251
1252
+ > Stability: 0 - Deprecated: Use the WHATWG URL API instead.
1253
+
1247
1254
* ` urlString ` {string} The URL string to parse.
1248
1255
* ` parseQueryString ` {boolean} If ` true ` , the ` query ` property will always
1249
1256
be set to an object returned by the [ ` querystring ` ] [ ] module's ` parse() `
@@ -1288,6 +1295,8 @@ changes:
1288
1295
contains a hostname.
1289
1296
-->
1290
1297
1298
+ > Stability: 0 - Deprecated: Use the WHATWG URL API instead.
1299
+
1291
1300
* ` from ` {string} The Base URL being resolved against.
1292
1301
* ` to ` {string} The HREF URL being resolved.
1293
1302
0 commit comments