@openinc/parse-server-opendash 4.0.0 → 4.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -65,6 +65,7 @@ async function init() {
|
|
|
65
65
|
await page.destroy({ useMasterKey: true });
|
|
66
66
|
}
|
|
67
67
|
const pdf2img = await Promise.resolve().then(() => __importStar(require("pdf-img-convert")));
|
|
68
|
+
// TODO: @fs-openinc or @lrilling: pdf2img is outdated and has some critical bugs. We should replace it with a more modern library like pdf-poppler or pdf-lib.
|
|
68
69
|
const images = await pdf2img.convert(pdfUrl, {
|
|
69
70
|
base64: true,
|
|
70
71
|
width: 2000,
|