refactor: replace url-parse to WHATWG URL API by hyperz111 · Pull Request #2244 · Acode-Foundation/Acode · GitHub
Skip to content

refactor: replace url-parse to WHATWG URL API#2244

Open
hyperz111 wants to merge 44 commits into
Acode-Foundation:mainfrom
hyperz111:url-parse+to+whatwg-url
Open

refactor: replace url-parse to WHATWG URL API#2244
hyperz111 wants to merge 44 commits into
Acode-Foundation:mainfrom
hyperz111:url-parse+to+whatwg-url

Conversation

@hyperz111

Copy link
Copy Markdown
Contributor

In url-parse readme:

...The URL interface is available in all supported Node.js release lines and basically all browsers. Consider using it for better security and accuracy.

So I think if We can do this for now :)

hyperz111 and others added 30 commits August 18, 2025 10:33
@greptile-apps

greptile-apps Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

@hyperz111

Copy link
Copy Markdown
Contributor Author

WHATWG URL will throws on invalid input but url-parse not, maybe We should add exception handler?

@RohitKushvaha01

Copy link
Copy Markdown
Member

WHATWG URL will throws on invalid input but url-parse not, maybe We should add exception handler?

Yes

@hyperz111

Copy link
Copy Markdown
Contributor Author

@greptile review again

@hyperz111

Copy link
Copy Markdown
Contributor Author

@greptile review again

@hyperz111

Copy link
Copy Markdown
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

2 participants