github danielstjules/jsinspect 0.10.0

latest releases: 0.12.7, 0.12.6, 0.12.5...
7 years ago
  • A lot of breaking changes. Since we're not yet at 1.0, can do this with a minor release. Looking at the current gulp/grunt plugins, their versioning will keep them pinned to a compatible and older release until updated
  • Improved ES6 support, and added flow/jsx support by switching to babylon
  • Completely rewrote alg for traversal and matching
  • Added literal matching (previously only identifier and node type matching were available)
  • More conservative defaults, including higher default thresholds (30 instead of 15). Since the tool has become commonly used for copy-paste detection, identifier and literal matching are now enabled by default
  • Other flags have been renamed or removed
  • --matches became --min-instances
  • --suppress became --truncate
  • --identifiers was dropped, now it's --no-identifiers
  • Diffs have been removed since the N-way diff format was confusing, and alternatives are still difficult to read through
  • All reporters have been revamped to output all lines rather than diffs
  • JSON reporter output has changed

Don't miss a new jsinspect release

NewReleases is sending notifications on new releases.