diff2html

Pretty diff to html javascript library (diff2html)

MIT License

Downloads
827.7K
Stars
2.9K
Committers
45
diff2html - Allow collapsing viewed files

Published by rtfpessoa over 3 years ago

diff2html - Bypass parsing/rendering of file diff if specific threshold is crossed

Published by rtfpessoa over 3 years ago

Features:

  • Bypass parsing/rendering of file diff if specific threshold is crossed

Fixes:

  • Only display "Viewed" checkbox if fileContentToggle is set
diff2html - Fix code selection

Published by rtfpessoa almost 4 years ago

diff2html - Enforce escape for lines that are not highlighted

Published by rtfpessoa over 4 years ago

diff2html - Fix escape in diff headers

Published by rtfpessoa over 4 years ago

Contributors:

  • @campersau
diff2html - Bump dependencies

Published by rtfpessoa over 4 years ago

diff2html - Skip selection of structural lines in side diff

Published by rtfpessoa over 4 years ago

diff2html - Fix code selection of empty lines

Published by rtfpessoa over 4 years ago

Allow selection of empty code lines

diff2html - Smart code selection in CSS

Published by rtfpessoa over 4 years ago

  • No more need to use JS to do smart code selection excluding line numbers and prefixes
  • Minor style issues fixed in padding of line numbers of side-by-side diff
diff2html - Typescript rewrite

Published by rtfpessoa over 4 years ago

  • New major release with rewrite to Typescript
  • Improved documentation
  • Simplified code
diff2html - Fix side-by-side line spacing

Published by rtfpessoa almost 5 years ago

diff2html - Bundle typings in release

Published by rtfpessoa about 5 years ago

diff2html - Bring back char level diff

Published by rtfpessoa about 5 years ago

diff2html - Update vulnerable dependencies

Published by rtfpessoa about 5 years ago

diff2html - Update vulnerable dependencies and add raw file names to template parameters

Published by rtfpessoa over 5 years ago

diff2html - Replace spaces (` `) with ` `

Published by rtfpessoa over 5 years ago

Fixes issue with frameworks like vue.js that might remove elements containing only whitespace.

Thanks to @kaishuu0123

diff2html - Add `maxLineSizeInBlockForComparison`

Published by rtfpessoa over 5 years ago

  • Add configuration option maxLineSizeInBlockForComparison to configure max line size to do comparisons per block. This options helps avoiding OOM in blocks with large line (e.g.: minified files).
diff2html - Remove dependency with CVE-2018-16487

Published by rtfpessoa over 5 years ago

Thanks to @YOU54F

diff2html - Fix linenumber scroll

Published by rtfpessoa over 5 years ago

diff2html - Reduce lodash dependency to lodash.merge

Published by rtfpessoa almost 6 years ago

Contributor:

@starpit