All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- (package): export interface namespaces in addition to merged methods (#36)
- (xml): add XML methods (#35)
- (dom): Maintain empty spaces in text nodes when converting from HTML. (#34)
Reverts an upstream change (24f5ce7) that modified McKamey's original logic.
Fixes methods
fromHTML
andfromHTMLText
.
- (utils): Allow raw Markup instances to self-identify with isMarkup prop (#33) The utils module no longer requires the html module and, as a result, no longer requires jsdom.
- Update jsdom to v16, used in the DOM interface for using JsonML to interact with the DOM. (#20) BREAKING CHANGE jsdom requires node version 10 or greater
- (html): Create document environment with jsdom if needed (#31)
- (html): Ensure valid table structure when creating or updating elements when
using the
toHTML()
orpatch()
methods (#28)
- Use constants when comparing nodeType
- Update to node 10 for development and testing.
- Update babel packages to latest v7 under @babel scope
- Add top-level index.js file to avoid issues where npm@3 can install a package missing the
main
property
- Repair build scripts to output an es5-compatible module
- Use html.isRaw method when appending child Markup instances (#3)
- Prevent mutation if fragment param when appending (#2)