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
Broken with handlebars 4.6.0 #58
Comments
Looking into this |
Yep, seeing same behavior as reported via The linked issue seems unrelated but will keep on reading for a bit before recommending hardcoding |
They did a huge code cleanup between handlebars-lang/handlebars.js@v4.5.3...v4.6.0 I've got a feeling the issue lies in that rather than the prototype code. Going to use |
Actually... going to cut a release for using |
Alright, that fixed version has been released in |
Amazing! Thank you! |
Heh, it turns out that the issue was in |
Alright, this has been released in |
Thank you again! |
We will add an option to allow proto access in 4.7.0, which I hope to release today |
Handlebars 4.7.0 has been release with options to disable prototype restrictions: Please be aware the you are potentially opening up ways to crash your servers or maybe even remote code execution for people who can inject templates into your system. |
Handlebars 4.6.0 breaks the templating as far as I can tell.
Presumably because of the breaking change in: handlebars-lang/handlebars.js#1633
I have a custom template that extends the spritesheet-template and now it's compiled to a file of mostly comments:
Obviously that's not great!
I'm not really a node dev so can't really see what's going on and how to fix it, but I can confirm that installing handlebars 4.5.3 allows the template to compile fine.
The text was updated successfully, but these errors were encountered: