Skip to content

chore: replace deprecated Node url.resolve with URL API#31

Merged
tomherni merged 1 commit into
mainfrom
chore/node-url-deprecation
Jun 18, 2026
Merged

chore: replace deprecated Node url.resolve with URL API#31
tomherni merged 1 commit into
mainfrom
chore/node-url-deprecation

Conversation

@tomherni

@tomherni tomherni commented Jun 17, 2026

Copy link
Copy Markdown
Owner

Node's url.resolve() is deprecated.

(node:92779) [DEP0169] DeprecationWarning: `url.parse()` behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for `url.parse()` vulnerabilities.

It was only used to properly join URL parts (handling e.g. double slashes), which is an easy replace with the URL API.

@netlify

netlify Bot commented Jun 17, 2026

Copy link
Copy Markdown

Deploy Preview for tomherni ready!

Name Link
🔨 Latest commit dc2e421
🔍 Latest deploy log https://app.netlify.com/projects/tomherni/deploys/6a32f7162f9c3b0008bc3450
😎 Deploy Preview https://deploy-preview-31--tomherni.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@tomherni tomherni changed the title chore: replace deprecated Node url.resolve() with URL API chore: replace deprecated Node url.resolve with URL API Jun 17, 2026
@tomherni tomherni merged commit 5c6f68f into main Jun 18, 2026
5 checks passed
@tomherni tomherni deleted the chore/node-url-deprecation branch June 18, 2026 05:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant