DmitryBaranovskiy / raphael

JavaScript Vector Library
https://dmitrybaranovskiy.github.io/raphael/
MIT License
11.25k stars 1.67k forks source link

Raphael 2.2.8 is doing "unsafe-eval", 2.2.7 isn't doing this #1110

Closed le0pard closed 4 years ago

le0pard commented 4 years ago

After update to patch version Raphael 2.2.8 system stop to work. Looks like library at version 2.2.8 start doing some eval. unsafe-eval disabled by our CSP don't allow this, so we are back to version 2.2.7, which doesn't have this problem.

I think next time better at least add this breaking changes to https://github.com/DmitryBaranovskiy/raphael/blob/master/history.md#228

tomasAlabes commented 4 years ago

That was because the dev versions of the files included sourcemaps (using eval). I removed those in v2.3.0 so it should be fixed