This release adds two transform functions: one for removing empty values, one for sorting values of space-separated attributes. The published package is also minified from now on.
Breaking changes:
- the second parameter of
toJSON(for skipping empty values) was removed, use the new functionremoveEmptyAttributesfrom now on. - the browser function was renamed
window.snapshotToJSON(instead ofwindow.snapshotToJson) for consistency.
More information at:
https://github.com/wildpeaks/package-snapshot-dom/tree/master/packages/snapshot-dom