Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
include node-url-to-whatwg-url
  • Loading branch information
AugustinMauroy committed Oct 18, 2025
commit c82951fb2bcf5fde962e138700d0047f99cbd0b4
6 changes: 6 additions & 0 deletions doc/api/deprecations.md
Original file line number Diff line number Diff line change
Expand Up @@ -2635,6 +2635,12 @@ The [legacy URL API][] is deprecated. This includes [`url.format()`][],
[`url.parse()`][], [`url.resolve()`][], and the [legacy `urlObject`][]. Please
use the [WHATWG URL API][] instead.

An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/node-url-to-whatwg-url)).

```bash
npx codemod@latest @nodejs/node-url-to-whatwg-url
```

### DEP0117: Native crypto handles

<!-- YAML
Expand Down
12 changes: 12 additions & 0 deletions doc/api/url.md
Original file line number Diff line number Diff line change
Expand Up @@ -1794,6 +1794,12 @@ The formatting process operates as follows:
string, an [`Error`][] is thrown.
* `result` is returned.

An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/node-url-to-whatwg-url)).

```bash
npx codemod@latest @nodejs/node-url-to-whatwg-url
```

### `url.parse(urlString[, parseQueryString[, slashesDenoteHost]])`

<!-- YAML
Expand Down Expand Up @@ -1867,6 +1873,12 @@ function getURL(req) {
}
```

An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/node-url-to-whatwg-url)).

```bash
npx codemod@latest @nodejs/node-url-to-whatwg-url
```

### `url.resolve(from, to)`

<!-- YAML
Expand Down
Loading