Skip to content

2.3.2

Compare
Choose a tag to compare
@bwrrp bwrrp released this 10 Jan 09:36

This is a bugfix release:

  • Whitespace characters in attribute values are now escaped such that they round-trip cleanly. This deviation from the spec matches the behavior of Chrome, Firefox and Edge, and ensures that tabs, carriage returns and line feeds are not lost due to attribute value normalization applied during parsing.
  • The TypeScript typings now properly define the node type constants as instance properties on Node instances as well as static properties on the Node constructor.
  • Scheduling mutation observer callbacks will now try to use the queueMicrotask API when available instead of using promises to approximate that behavior.
  • The bundled sourcemaps now map back to the original TypeScript code.