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

tests(smokehouse): use native node URLSearchParams #6929

Merged
merged 1 commit into from
Jan 4, 2019

Conversation

brendankenny
Copy link
Member

Originally added to url-shim back in #3941 (pre Node 8 minimum) when we needed the whatwg-url lib for it.

Noticed this while reviewing #6874, which had a fix for the type of URLSearchParams to unconfuse tsc about our browser/node union. However, #4712 dropped the whatwg-url require, and we only ever use URLSearchParams on the Node side anyways, so might as well require it locally instead of adding complexity to fix the complexity we don't use :)

Copy link
Collaborator

@patrickhulce patrickhulce left a comment

Choose a reason for hiding this comment

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

nice find!

Copy link
Member

@exterkamp exterkamp left a comment

Choose a reason for hiding this comment

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

LGTM 💯

@brendankenny brendankenny merged commit 9a8acde into master Jan 4, 2019
@brendankenny brendankenny deleted the urlsearchparams branch January 4, 2019 22:55
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.

3 participants