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

Bump jQuery version, expose jquery globally so it doesn't need to be loaded separately #1671

Merged
merged 1 commit into from
May 13, 2020

Conversation

bookernath
Copy link
Contributor

@bookernath bookernath commented May 11, 2020

What?

Bump jQuery version to address a CVE. I've confirmed the main change (related to htmlPrefilter()) does not affect us.

I also exposed $ on the window object - because I see that lots of custom themes feel the need to separately include jQuery, which will be bad for performance. Exposing our existing bundle jQuery gets rid of the need to do this.

image

@bookernath bookernath force-pushed the update-jq branch 3 times, most recently from 6670602 to f728b90 Compare May 13, 2020 22:34
@bookernath bookernath merged commit e402565 into bigcommerce:master May 13, 2020
@bookernath bookernath deleted the update-jq branch May 13, 2020 22:40
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