Skip to content

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

Open
@charutiwari04

Description

@charutiwari04

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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions