File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -1839,7 +1839,7 @@ changes:
18391839
18401840`url.format(urlString)` is shorthand for `url.format(url.parse(urlString))`.
18411841
1842- Because it invokes the deprecated [`url.parse()`][], passing a string argument
1842+ Because it invokes the deprecated [`url.parse()`][] internally , passing a string argument
18431843to `url.format()` is itself deprecated.
18441844
18451845Canonicalizing a URL string can be performed using the WHATWG URL API, by
@@ -1988,6 +1988,8 @@ changes:
19881988* ` from` {string} The base URL to use if ` to` is a relative URL.
19891989* ` to` {string} The target URL to resolve.
19901990
1991+ Because it invokes the deprecated [` url .parse ()` ][] internally, ` url .resolve ()` is itself deprecated.
1992+
19911993The ` url .resolve ()` method resolves a target URL relative to a base URL in a
19921994manner similar to that of a web browser resolving an anchor tag.
19931995
You can’t perform that action at this time.
0 commit comments