@@ -1006,8 +1006,9 @@ pathToFileURL('/some/path%.c'); // Correct: file:///some/path%25.c (POSIX)
1006
1006
```
1007
1007
1008
1008
## Legacy URL API
1009
-
1010
- > Stability: 0 - Deprecated: Use the WHATWG URL API instead.
1009
+ <!-- YAML
1010
+ deprecated: v11.0.0
1011
+ -->
1011
1012
1012
1013
### Legacy ` urlObject `
1013
1014
<!-- YAML
@@ -1017,6 +1018,8 @@ changes:
1017
1018
description: The Legacy URL API is deprecated. Use the WHATWG URL API.
1018
1019
-->
1019
1020
1021
+ > Stability: 0 - Deprecated: Use the WHATWG URL API instead.
1022
+
1020
1023
The legacy ` urlObject ` (` require('url').Url ` ) is created and returned by the
1021
1024
` url.parse() ` function.
1022
1025
@@ -1132,6 +1135,8 @@ changes:
1132
1135
times.
1133
1136
-->
1134
1137
1138
+ > Stability: 0 - Deprecated: Use the WHATWG URL API instead.
1139
+
1135
1140
* ` urlObject ` {Object|string} A URL object (as returned by ` url.parse() ` or
1136
1141
constructed otherwise). If a string, it is converted to an object by passing
1137
1142
it to ` url.parse() ` .
@@ -1226,6 +1231,8 @@ changes:
1226
1231
when no query string is present.
1227
1232
-->
1228
1233
1234
+ > Stability: 0 - Deprecated: Use the WHATWG URL API instead.
1235
+
1229
1236
* ` urlString ` {string} The URL string to parse.
1230
1237
* ` parseQueryString ` {boolean} If ` true ` , the ` query ` property will always
1231
1238
be set to an object returned by the [ ` querystring ` ] [ ] module's ` parse() `
@@ -1270,6 +1277,8 @@ changes:
1270
1277
contains a hostname.
1271
1278
-->
1272
1279
1280
+ > Stability: 0 - Deprecated: Use the WHATWG URL API instead.
1281
+
1273
1282
* ` from ` {string} The Base URL being resolved against.
1274
1283
* ` to ` {string} The HREF URL being resolved.
1275
1284
0 commit comments