Download Latest Version 101.0.0.zip (540.3 kB)
Email in envelope

Get an email when there's a new version of prettydiff

Home / 101.0.0
Name Modified Size InfoDownloads / Week
Parent folder
101.0.0.tar.gz 2019-04-21 422.3 kB
101.0.0.zip 2019-04-21 540.3 kB
README.md 2019-04-21 1.1 kB
Totals: 3 Items   963.8 kB 0

This major change addresses three concerns:

  • The build task is dramatically simplified.
  • The output is compatible with the upcoming TypeScript incremental builds. This application will start using incremental builds once they are available via terminal argument, such as --incremental.
  • From the outside the application is dramatically more simple.
  • There is only one list of options, which is always populated by default.
  • There is not a separate method for executing the application. Before the code looks like prettydiff.mode(options) where now it is simply prettydiff().
  • No need to pass a list of options in as the application reads from the options property: prettydiff.options.
  • Fixes an internal architectural defect.
  • Pretty Diff was using options end and start internally to determine when to switch between language grammars. This is problematic if options are cached in memory and those options are not reset to a default value between each time the application is called.
  • Now end and start are removed from the options object and are reset to their default after every execution.
Source: README.md, updated 2019-04-21