Skip to content

Commit

Permalink
3.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gliviu committed Mar 10, 2021
1 parent 7e48e05 commit 676bdd1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,9 @@ const options = {
compareContent: true,
compareFileSync: dircompare.fileCompareHandlers.lineBasedFileCompare.compareSync,
compareFileAsync: dircompare.fileCompareHandlers.lineBasedFileCompare.compareAsync,
ignoreLineEnding: true, // Ignore cr/lf line endings
ignoreWhiteSpaces: true // Ignore white spaces at the beginning and ending of a line (similar to 'diff -b')
ignoreAllWhiteSpaces: true // Ignore all white space differences (similar to 'diff -w')
ignoreLineEnding: true, // Ignore crlf/lf line ending differences
ignoreWhiteSpaces: true, // Ignore white spaces at the beginning and ending of a line (similar to 'diff -b')
ignoreAllWhiteSpaces: true, // Ignore all white space differences (similar to 'diff -w')
ignoreEmptyLines: true // Ignores differences caused by empty lines (similar to 'diff -B')
};

Expand Down Expand Up @@ -288,6 +288,7 @@ If entries are different because of symlinks, `reason` will be `different-symlin
See [dir-compare-cli](https://github.com/gliviu/dir-compare-cli).

# Changelog
* v3.1.0 Added ignoreAllWhiteSpaces and ignoreEmptyLines options
* v3.0.0 Moved CLI component into separate project [dir-compare-cli](https://github.com/gliviu/dir-compare-cli)
* v2.4.0 New option to customize file/folder name comparison
* v2.3.0 Fixes
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dir-compare",
"version": "3.0.0",
"version": "3.1.0",
"description": "Node JS directory compare",
"main": "src/index.js",
"types": "src/index.d.ts",
Expand Down
1 change: 0 additions & 1 deletion src/fileCompareHandler/lines/compare/compareLineBatches.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Options } from '../../..'
import { LineBasedCompareContext } from '../LineBasedCompareContext'
import { LineBatch } from '../lineReader/LineBatch'
import { compareLines } from './compareLines'

Expand Down

0 comments on commit 676bdd1

Please sign in to comment.