react-use-exceljs icon indicating copy to clipboard operation
react-use-exceljs copied to clipboard

Uncaught EvalError: 'unsafe-eval' is not an allowed source of script in the following Content

Open alirezaahmaddii opened this issue 1 year ago • 0 comments

Hi, I am getting following error from excel.min.js for using new Function(). I am not able to use exceljs. Please help

 exceljs.min.js:9 Uncaught EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self':

at new Function () at b (exceljs.min.js:9) at exceljs.min.js:9 at Object.118 (exceljs.min.js:9) at e (exceljs.min.js:3) at exceljs.min.js:3 at Object.119../declare.js (exceljs.min.js:10) at e (exceljs.min.js:3) at exceljs.min.js:3 at Object. (exceljs.min.js:10)

alirezaahmaddii avatar Jun 16 '24 08:06 alirezaahmaddii