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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle stringifying empty objects with addQueryPrefix #217

Merged
merged 1 commit into from Jun 28, 2017

Conversation

nerfologist
Copy link
Contributor

@nerfologist nerfologist commented Jun 27, 2017

Submitting PR as agreed, this should fix the issue described in #213:

Stringifying an empty object would produce a string such as '?'. With
this fix, we output an empty string instead.

Sorry about increasing complexity and max-statements in .eslintrc,
I didn't see a quick way to reduce complexity.

Thanks for this great library 馃憤

Stringifying an empty object would produce a string such as '?'. With
this fix, we output an empty line instead.
Copy link
Owner

@ljharb ljharb left a comment

Choose a reason for hiding this comment

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

Thanks!

@ljharb
Copy link
Owner

ljharb commented Jun 28, 2017

(This is a patch because the original feature has never been released; otherwise, it'd be a semver-major)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants