Skip to content

Remove URI library #2471

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 3 commits into from
Jan 5, 2021
Merged

Conversation

parlough
Copy link
Member

@parlough parlough commented Dec 21, 2020

This removes the URI.js library as modern browsers have built-in handling for getting query parameters and this library is 9.4 KB (28.4 uncompressed) for just one use.

While IE11 doesn't support this API, search functionality didn't work there in the first place nor did some other functionality, and this has feature detection, so shouldn't cause any errors if used in IE.

Breaking change: This removes the URI.js library from being included along with generated HTML documentation. While unlikely, downstream users may be using this.

@google-cla google-cla bot added the cla: yes Google CLA check succeeded. label Dec 21, 2020
@parlough
Copy link
Member Author

parlough commented Jan 5, 2021

I can update this after #2470 is merged or the other way around as well.

Copy link
Contributor

@jcollins-g jcollins-g left a comment

Choose a reason for hiding this comment

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

Always happy to delete code, thanks!

@jcollins-g
Copy link
Contributor

I can update this after #2470 is merged or the other way around as well.

#2470 is merged

@parlough parlough force-pushed the feature/remove-uri branch from 64ce582 to a1254d5 Compare January 5, 2021 21:26
@parlough
Copy link
Member Author

parlough commented Jan 5, 2021

@jcollins-g This has been rebased on master and should be good to go :)

@jcollins-g jcollins-g merged commit 446b698 into dart-lang:master Jan 5, 2021
@parlough parlough deleted the feature/remove-uri branch April 19, 2022 06:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Google CLA check succeeded.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants