TechAndCheck / tech-and-check-alerts

Daily tip sheet for fact checkers
MIT License
13 stars 6 forks source link

Handlebars errors on newsletter generation #412

Closed slifty closed 3 years ago

slifty commented 3 years ago

I merged in a handlebars version upgrade without fully testing; shame on me.

It's generating errors now:

Handlebars: Access has been denied to resolve the property "speakerNormalizedName" because it is not an "own property" of its parent.
You can add a runtime option to disable the check or this warning:
See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details

The error links to a page talking a bit more about how to get around the issue; let's either fix the access to be safe OR disable the warning.