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

fix(deps): force a lower version of qs #4805

Merged
merged 1 commit into from
Jul 9, 2021
Merged

fix(deps): force a lower version of qs #4805

merged 1 commit into from
Jul 9, 2021

Conversation

Haroenv
Copy link
Contributor

@Haroenv Haroenv commented Jul 8, 2021

Summary

In 6.10.1, qs became triple the size ((https://bundlephobia.com/package/qs@6.10.1 / ljharb/qs#404)
), becoming a huge part of the bundlesize of InstantSearch.js. While we could fix this by not relying on a third-party anymore for this code, the least we can do is forcing the older version

Result

While this means it will be deduplicated less if people do use the later version of qs, it means a significant bundle size impact if we would have upgraded to 6.10+

While this means it will be deduplicated less if people do use the later version of qs, it means a significant bundle size impact if we would have upgraded to 6.10+ (https://bundlephobia.com/package/qs@6.10.1 / ljharb/qs#404)
@Haroenv Haroenv requested review from a team, eunjae-lee and tkrugg and removed request for a team July 8, 2021 15:32
@codesandbox-ci
Copy link

codesandbox-ci bot commented Jul 8, 2021

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 765cbfa:

Sandbox Source
InstantSearch.js Configuration

@Haroenv Haroenv merged commit 07b7e08 into master Jul 9, 2021
@Haroenv Haroenv deleted the chore/deps-qs branch July 9, 2021 07:29
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.

None yet

2 participants