-
Notifications
You must be signed in to change notification settings - Fork 5
Update APIs #20
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
Update APIs #20
Conversation
export const setHostnameImpl = (val, u) => { | ||
u.hostname = val; | ||
}; | ||
export const uneffectfulHref = (u) => u.href; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe this should be hrefPure? I think that’s a more common naming convention than “uneffectful”
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like that name better. I'll send a PR.
This is a big update! Thanks! |
Description of the change
Update APIs to use the WHATWG URL API. Legacy API will not be supported.
Checklist: