Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: deprecate url-parse #344

Open
MartinCupela opened this issue Mar 11, 2022 · 0 comments
Open

feature: deprecate url-parse #344

MartinCupela opened this issue Mar 11, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@MartinCupela
Copy link
Collaborator

MartinCupela commented Mar 11, 2022

Problem / Motivation

Remove unnecessary dependency and avoid possible future security issues.

Soft deprecation notice in url-parse package:

url-parse was created in 2014 when the WHATWG URL API was not available in Node.js and the URL interface was supported only in some browsers. Today this is no longer true. The URL interface is available in all supported Node.js release lines and basically all browsers. Consider using it for better security and accuracy.

Proposed solution

Replace all uses of url-parse functions by native URL capabilities.

@MartinCupela MartinCupela added the enhancement New feature or request label Mar 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant