Unsafe Inline when using Pdfmake and datatables in postman visualizer

Using postman visualizer with Datatables and the included pdfmake. I currently have Exce, CSV downloads working - but the pdf portion fails with an unsafe inline. Does anyone know how to resolve? I am surprised as the code works perfectly online - and in jsfiddle - but not in postman.

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 http: https: ‘unsafe-inline’”.

at new Function (<anonymous>)
at new Pointer (Pointer.js:29)
at Object.<anonymous> (index.js:503)
at Object.<anonymous> (index.js:14938)
at __webpack_require__ (bootstrap:19)
at Object.<anonymous> (pdfkit.es5.js:5)
at Object.<anonymous> (pdfmake.js:25871)
at __webpack_require__ (bootstrap:19)
at Object.defineProperty.value (pdfKitEngine.js:7)
at __webpack_require__ (bootstrap:19)
1 Like

I did a workaround on this - and stopped using pdfmake - switched to jspdf which had no such issues