Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upbrowser-policy README mentions that "eval" is disabled by default #10705
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
mitar commentedSep 23, 2019
On Meteor 1.8.1 this is maybe true for
browser-policypackage, but it is not really true for any realistic Meteor app these days because apps useecmascriptwhich requiresdynamic-import, which enabledevalby default. So in practice, by default,evalis enabled. See #10704.It should be probably clarified in the README that the package by default keeps it disabled, but Meteor apps by default enable it because of
dynamic-importand that you should removedynamic-importpackage if you want to get it disabled (I hope that resolution of #10704 will be that one can removedynamic-import).See: https://github.com/meteor/meteor/tree/devel/packages/browser-policy