Closed c121914yu closed 3 months ago
seeing the same, I think its from the pdf-parse dep https://gitlab.com/autokent/pdf-parse/-/issues/24
looks like its likely an ESM issue, there's a recommended workaround by importing from a child file 'pdf-parse/lib/pdf-parse' that this package will likely have to implement.
I will push a new commit that will replace pdf parsing support from pdf-parse library to Mozilla's pdf.js library which is incredibly popular. And to make things simpler because pdf.js also has ESM problems, I am committing a local build of pdf.js in the code. That should fix everything. Please reopen this issue if the bug persists even after the new version which will likely be 4.1.0.
I simply introduced the library, and before it was implemented, inexplicable tests would appear.Has anyone come across it?