exceljs/exceljs

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

Open

#713 建立於 2018年12月19日

在 GitHub 查看
 (27 留言) (9 反應) (0 負責人)JavaScript (11,838 star) (1,534 fork)batch import
bughelp wanted

描述

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 (<anonymous>)
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.<anonymous> (exceljs.min.js:10)

貢獻者指南

Uncaught EvalError: 'unsafe-eval' is not an allowed source of script in the following Content · exceljs/exceljs#713 | Good First Issue