stripe-node icon indicating copy to clipboard operation
stripe-node copied to clipboard

feat: migrate to picoquery

Open 43081j opened this issue 1 year ago • 5 comments
trafficstars

Migrates from qs to picoquery for query strings, a faster and lighter alternative.

This is an alternative to #2116 - using pq to provide the logic rather than rolling our own. We are doing the same in storybook and many other repos, so figured it'd be worth doing so here too.

if you'd prefer to roll your own, feel free to close this

43081j avatar Jul 27 '24 09:07 43081j

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Jul 27 '24 09:07 CLAassistant

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Jul 27 '24 09:07 CLAassistant

Hi @43081j, thanks so much for this submission! Sorry for the delay. I think after reviewing the approaches for removing qs, we would like to investigate this further. Would you mind investigating the test failure here?

helenye-stripe avatar Aug 14 '24 16:08 helenye-stripe

unfortunately this is because node 12 doesn't support nullish coalescing

bumping the engine constraint here (i.e. dropping node <14 support) seems the sensible thing to do eventually but that seems like a bigger decision for you to make

until then i guess this PR is blocked

let me know what you think. if we have to hold off until node <14 support is dropped one day, im happy to come back at that point and revisit this

43081j avatar Aug 18 '24 16:08 43081j

Yes, our version support policy is something we're working on. We'll put a pin in this and merge it when we can drop node 12 support.

Thank you for your contribution!

xavdid-stripe avatar Aug 23 '24 22:08 xavdid-stripe