v4.0.0
This is a major release that delivers few minor (but breaking) changes to workaround recently appeared issues with TypeScript Node.js typings versioning and usage of parse5 in environments that are distinct from Node.js (see #235 for the details).
- Updated (breaking): TypeScript were disabled by default. See TypeScript definitions section for the details on how to enable them.
- Updated: API that depends on Node.js specific (namely
ParserStream
,PlainTextConversionStream
,SerializerStream
,SAXParser
) is now lazily loaded. That enables bundling of the basic functionality for other platforms (e.g. for browsers via webpack).