Skip to content

Releases: bem/html-differ

v1.0.4

02 Jan 20:55
Compare
Choose a tag to compare
  • Improved tokenization of input for better logging of differences (PR111).

v1.0.3

02 Jan 20:55
Compare
Choose a tag to compare
  • Improved tokenization of input and serialization of attributes' values (PR110).

v1.0.2

02 Jan 20:54
Compare
Choose a tag to compare
  • BEM preset was changed. Attributes aria-labelledby and aria-describedby were added to option ignoreAttributes.

v1.0.1

02 Jan 20:54
Compare
Choose a tag to compare
  • Fixed crash with option compareAttributesAsJSON concerning the invalid input (issue106).

v1.0.0

02 Jan 20:52
Compare
Choose a tag to compare
  • Added options:
    • ignoreEndTags
    • ignoreDuplicateAttributes
  • Renamed options:
    • ignoreHtmlAttrs --> ignoreAttributes
    • compareHtmlAttrsAsJSON --> compareAttributesAsJSON
    • ignoreHtmlComments --> ignoreComments
  • Changed the way of setting attributes in option compareAttributesAsJSON.
  • Changed the way of setting predefined options for BEM.
  • Renamed method log to logDiffText.
  • Moved to parser parse5.
  • Add more tests.
  • Fixed bugs.

v0.5.0

02 Jan 20:51
Compare
Choose a tag to compare
  • Added ignoreHtmlComments option.
  • Added Russian documentation.
  • Renamed ignoreWhitespace option to ignoreWhitespaces.
  • Set the default value of charsAroundDiff option to 40.
  • Removed verbose option.
  • Added logging of differences similar to mocha.
  • Moved to parser htmlparser2.

v0.4.0

02 Jan 20:51
Compare
Choose a tag to compare
  • Added the handling of onclick and ondblclick attributes for compareHtmlAttrsAsJSON option.
  • Added BEM preset.
  • Added getDiffText method to logger.
  • Added testing of code coverage and dependencies status.
  • Added JSDocs.