Skip to content

Version 2.0.1

Latest
Compare
Choose a tag to compare
@taylorhakes taylorhakes released this 25 Sep 06:01
· 3 commits to master since this release

Added options argument to diff function

var defaultOptions = {
  indent: '  ',
  newLine: '\n',
  wrap: function wrap(type, text) {
    return chalk[typeColors[type]](text);
  },
  color: true
};

use

diff(left, right, options);

Removed object-assign dependency
Upgraded tap dependency