Skip to content

Conversation

@chenjiahan
Copy link
Member

@chenjiahan chenjiahan commented Jul 28, 2025

Summary

url.parse has been deprecated since Node 24, and we should use new URL instead.

Screenshot 2025-07-28 at 21 46 34

Related Links

TODO

We still have three dependencies that use url.parse:

image

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@netlify
Copy link

netlify bot commented Jul 28, 2025

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit c44e0d7
🔍 Latest deploy log https://app.netlify.com/projects/rsbuild/deploys/68878b3e297f8e0008784bfd
😎 Deploy Preview https://deploy-preview-5696--rsbuild.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 75 (🔴 down 2 from production)
Accessibility: 97 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: 60 (no change from production)
View the detailed breakdown and full score reports

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


export type HistoryApiFallbackTo =
| string
| RegExp
Copy link
Member Author

Choose a reason for hiding this comment

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

@chenjiahan chenjiahan changed the title fix: remove the deprecated url.parse fix: remove the deprecated url.parse from historyApiFallback Jul 28, 2025
@chenjiahan chenjiahan merged commit e41b1ad into main Jul 29, 2025
13 checks passed
@chenjiahan chenjiahan deleted the url.parse_0728 branch July 29, 2025 02:09
@chenjiahan chenjiahan mentioned this pull request Jul 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants