Skip to content

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

Merged
merged 17 commits into from
Aug 1, 2023
Merged

Update APIs #20

merged 17 commits into from
Aug 1, 2023

Conversation

JordanMartinez
Copy link
Contributor

@JordanMartinez JordanMartinez commented Jul 29, 2023

Description of the change

Update APIs to use the WHATWG URL API. Legacy API will not be supported.


Checklist:

  • Added the change to the changelog's "Unreleased" section with a reference to this PR (e.g. "- Made a change (#0000)")
  • Linked any existing issues or proposals that this pull request should close
  • Updated or added relevant documentation
  • Added a test for the contribution (if applicable)

@JordanMartinez JordanMartinez merged commit 3d1f35a into master Aug 1, 2023
@JordanMartinez JordanMartinez deleted the update-apis branch August 1, 2023 02:26
export const setHostnameImpl = (val, u) => {
u.hostname = val;
};
export const uneffectfulHref = (u) => u.href;
Copy link
Contributor

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”

Copy link
Contributor Author

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.

@thomashoneyman
Copy link
Contributor

This is a big update! Thanks!

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.

2 participants