Parser Stream: Enjoy the new CommonJS (CJS) build of the parser stream, making it easier to use with various tools like Cheerio.
Improvements
Error Handling: The error codes are now exported as ErrorCodes, enhancing clarity and usability for developers.
Fixes
Fix the handling of carriage returns (CR) when peeking, preventing the parser from hanging in special tags. This resolves the issue where CRLF inside </noscript> causes errors.
Fix the CommonJS bundle to ensure compatibility, addressing issues with requiring ES modules.
Others
Pin GitHub Action dependency versions to improve the project's score in the OpenSSF scorecard, ensuring better security and reliability.