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

STRF-9215 (fix): SafeString object is taken only from global handlebars object #146

Merged
merged 4 commits into from
Sep 14, 2021
Merged

Conversation

jairo-bc
Copy link
Contributor

@jairo-bc jairo-bc commented Sep 8, 2021

What? Why?

Currently SafeString object is being imported from handlebars library directly in some places and from globals.handlebars in another.
The first one import shouldn't be used as it imports always only v3, while globals.handlebars relies on the handlebars version that was used during initialization.

How was it tested?

npm test

e2e on storefront


cc @bigcommerce/storefront-team

@zvuki zvuki requested a review from jmwiese September 8, 2021 16:36
@jairo-bc jairo-bc merged commit 367c18d into bigcommerce:master Sep 14, 2021
@jairo-bc jairo-bc mentioned this pull request Sep 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants