Skip to content

Conversation

AlessioGr
Copy link
Member

@AlessioGr AlessioGr commented Jun 27, 2024

qs-esm is a qs fork I created and doesn't add bloated polyfills, is ESM-only, has a smaller bundle size and comes with types included.

qs:
https://bundlephobia.com/package/[email protected] (11kb)
https://npm.anvaka.com/#/view/2d/qs (15 dependencies)

qs-esm:
https://bundlephobia.com/package/[email protected] (4.2kb)
https://npm.anvaka.com/#/view/2d/qs-esm (1 dependency)

I don't agree with the backwards philosophy of qs: ljharb/qs#404 (comment) ("more deps is better", lower bundle size as opt-in, maximum environment compatibility as opt-out)

qs imports waaay too many useless dependencies

@AlessioGr AlessioGr marked this pull request as ready for review June 27, 2024 18:41
@AlessioGr AlessioGr requested a review from denolfe as a code owner June 27, 2024 18:41
Copy link
Member

@denolfe denolfe left a comment

Choose a reason for hiding this comment

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

Needs bundle diff and additional justification to take on dev burden of maintaining a fork and possibly missing out on security updates.

Copy link
Contributor

@paulpopus paulpopus left a comment

Choose a reason for hiding this comment

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

qs-esm should be under payload's org

@denolfe denolfe enabled auto-merge (squash) July 9, 2024 14:14
@denolfe denolfe merged commit 6c99326 into beta Jul 9, 2024
@denolfe denolfe deleted the feat/qs-esm branch July 9, 2024 14:33
paulpopus pushed a commit that referenced this pull request Jul 24, 2024
qs-esm is a qs fork I created and doesn't add bloated polyfills, is
ESM-only, has a smaller bundle size and comes with types included.

qs:
https://bundlephobia.com/package/[email protected] (11kb)
https://npm.anvaka.com/#/view/2d/qs (15 dependencies)

qs-esm:
https://bundlephobia.com/package/[email protected] (4.2kb)
https://npm.anvaka.com/#/view/2d/qs-esm (1 dependency)

I don't agree with the backwards philosophy of qs:
ljharb/qs#404 (comment) ("more
deps is better", lower bundle size as opt-in, maximum environment
compatibility as opt-out)

qs imports waaay too many useless dependencies
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.

3 participants