Hello. 😄
I saw this comment:
The issue with content security policy (new Function)
was resolved in version 3
https://github.com/SAP/chevrotain/blob/master/CHANGELOG.md#300-2-23-2018
But there have been many breaking changes since 0.34 so an upgrade would require a time investment.