Skip to content

Releases: taylorhakes/variable-diff

Version 2.0.1

25 Sep 06:01
Compare
Choose a tag to compare

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