-
-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does not work in node v16.10.0 #91
Comments
Thank you for taking to the time to submit this very clear issue, Samuel! Feel free – yourself or anyone else who feels like it – to propose a fix as a pull request. |
Possible fix for this issue is in #97. |
in node version v16.13.1 it is not reading text |
FYI, we have integrated automated tests of I am closing this issue but feel free to re-open if you're still having difficulties to make it work in your context. In that case, please provide your source code and/or PDF files that can't be parsed. |
Describe the bug
When running with
node v16.10.0
, the methodsparseBuffer
andparseFileItems
do not work as expected.To Reproduce
Use node version 16.10.0 and try to read the text of a pdf using
parseBuffer
orparseFileItems
Expected behavior
The callback passed to
parseBuffer
orparseFileItems
should be called with each pdf item found.Current behavior
The callback passed to
parseBuffer
orparseFileItems
only gets called once with thefile: { path }
orfile: { buffer }
data, and never gets called with the pdf items or pages.Screenshots, outputs or logs
Desktop (please complete the following information):
Aditional Info
The same code works correctly in at least node 16.3.0
The text was updated successfully, but these errors were encountered: