Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
12 changes: 10 additions & 2 deletions doc/api/deprecations.md
Original file line number Diff line number Diff line change
Expand Up @@ -2658,6 +2658,14 @@

<!-- YAML
changes:
- version:
- REPLACEME
pr-url: https://github.com/nodejs/node/pull/61780
description: \`url.resolve` is deprecated again in DEP0169.
- version:
- v25.6.1
pr-url: https://github.com/nodejs/node/pull/61644

Check warning on line 2667 in doc/api/deprecations.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: \`url.format(string)` is deprecated again in DEP0169.
- version:
- v19.0.0
- v18.13.0
Expand Down Expand Up @@ -3776,8 +3784,8 @@
have security implications. Use the [WHATWG URL API][] instead. CVEs are not
issued for `url.parse()` vulnerabilities.

Passing a string argument to [`url.format()`][] invokes `url.parse()`
internally, and is therefore also covered by this deprecation.
Passing a string argument to [`url.format()`][] or [`url.resolve()`][] invokes
`url.parse()` internally, and is therefore also covered by this deprecation.

### DEP0170: Invalid port when using `url.parse()`

Expand Down
5 changes: 5 additions & 0 deletions doc/api/url.md
Original file line number Diff line number Diff line change
Expand Up @@ -1956,6 +1956,9 @@ npx codemod@latest @nodejs/node-url-to-whatwg-url
<!-- YAML
added: v0.1.25
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/61780
description: Documentation-only deprecation.
Comment on lines +1959 to +1961
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Without #61776, this is actually an application deprecation introduced in v24.0.0. The versioning semantics are a bit tricky, but we shouldn't call this a doc deprecation if it's emitting warnings!

- version:
- v15.13.0
- v14.17.0
Expand All @@ -1979,6 +1982,8 @@ changes:
contains a hostname.
-->

> Stability: 0 - Deprecated: Use the WHATWG URL API instead.

* `from` {string} The base URL to use if `to` is a relative URL.
* `to` {string} The target URL to resolve.

Expand Down
Loading