-
-
Notifications
You must be signed in to change notification settings - Fork 384
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
Regression in #914 #991
Comments
Thanks for the report! #914 removed the ability to pass buffers to the parser, which was accidentally supported before. There are some edge-cases when passing buffers directly to htmlparser2 — see #128. I will reinstate support for parsing buffers here, but in a deprecated state. This will be dropped in the next major release. Hope this is a good compromise! |
Thanks a lot for looking into it! I've put out |
A project of mine has been using
htmlparser2
since 3.7.3, but when I upgrade from 7.0.0 to 7.1.0 or above, every test fails with this error:Here's a failing build: https://github.com/papandreou/express-extractheaders/runs/3980571638?check_suite_focus=true#step:5:1615
I bisected it down to this commit:
The text was updated successfully, but these errors were encountered: