fusioncharts / fusioncharts-dist

FusionCharts JavaScript Charting library. Over 95+ charts and 1,400+ maps to choose from, with integrations available for all popular JavaScript frameworks & back-end programming languages.
https://www.fusioncharts.com
Other
84 stars 46 forks source link

Timeseries and Content Security Policy #25

Closed ghost closed 3 years ago

ghost commented 3 years ago

I have a CSP in place which does not allow unsafe-eval. When trying to use a timeseries chart, the fusioncharts.timeseries.js script violates the CSP by using new Function("return this")(). Could timeseries be updated to avoid using new Function()? Thanks.