bigcommerce / paper-handlebars

Paper plugin for rendering via Handlebars.js
BSD 4-Clause "Original" or "Old" License
12 stars 36 forks source link

feat: strf-9432 Replace eval with vm.runInContext #295

Open jairo-bc opened 11 months ago

jairo-bc commented 11 months ago

What? Why?

eval -> vm.runInContext; Precompiled templates won't have access to the local scope.

How was it tested?

More details here


cc @bigcommerce/storefront-team