We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The bynode buffer is been checked first for valid buffer before evaluation, but if fails if the buffer is from other context because the node implementation is very strict. See https://stackoverflow.com/questions/44216449/why-isbuffer-returns-false-for-an-fs-readfilesync-call-without-encoding
So just replace it with, more easy direct isBuffer function like
https://github.com/feross/is-buffer/blob/master/index.js
The text was updated successfully, but these errors were encountered:
Good idea, thanks for the suggestion.
Sorry, something went wrong.
Any news on this?
Honestly, I forgot about this suggestion. I will add it in the next version, hopefully soon.
No branches or pull requests
The bynode buffer is been checked first for valid buffer before evaluation, but if fails if the buffer is from other context because the node implementation is very strict. See https://stackoverflow.com/questions/44216449/why-isbuffer-returns-false-for-an-fs-readfilesync-call-without-encoding
So just replace it with, more easy direct isBuffer function like
https://github.com/feross/is-buffer/blob/master/index.js
The text was updated successfully, but these errors were encountered: