Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

Feature Request: pass object and array of arrays to the URLSearchParams constructor #119

Closed
vkrol opened this issue Jan 21, 2017 · 3 comments

Comments

@vkrol
Copy link

vkrol commented Jan 21, 2017

Hello!

The URL specification was updated recently. Now we can pass an object or an array of arrays to the URLSearchParams constructor.

whatwg/url@31ddc5b
https://url.spec.whatwg.org/#interface-urlsearchparams

It would be great if the polyfill will support this feature.

Thanks!

@inexorabletash
Copy link
Owner

Thanks for pointing this out! Can you give the latest code a try?

Since existing native implementations (e.g. in Chrome) don't support this yet I override the constructor in those cases.

Assuming this seems acceptable I'll push a new release.

@vkrol
Copy link
Author

vkrol commented Jan 22, 2017

@inexorabletash this is awesome! Thanks.

@vkrol
Copy link
Author

vkrol commented Feb 7, 2017

@inexorabletash

Assuming this seems acceptable I'll push a new release.

When you want to push a new release? 😃

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

No branches or pull requests

2 participants