Skip to content

Commit 9ca153f

Browse files
committed
Bump.
1 parent da5c78c commit 9ca153f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/jsondiff-for-react.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ var JsonDiffReact = function (_Component) {
6363
objectHash: objectHash,
6464
arrays: {
6565
// default true, detect items moved inside the array (otherwise they will be registered as remove+add)
66-
detectMove: true,
66+
detectMove: false,
6767
// default false, the value of items moved is not included in deltas
68-
includeValueOnMove: false
68+
includeValueOnMove: true
6969
}
7070
}).diff(left, right);
7171
var html = annotated ? formatters.annotated.format(delta) : formatters.html.format(delta, left);

src/jsondiff-for-react.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ class JsonDiffReact extends Component {
3232
objectHash,
3333
arrays: {
3434
// default true, detect items moved inside the array (otherwise they will be registered as remove+add)
35-
detectMove: true,
35+
detectMove: false,
3636
// default false, the value of items moved is not included in deltas
37-
includeValueOnMove: false,
37+
includeValueOnMove: true,
3838
},
3939
}).diff(left, right);
4040
const html = annotated

0 commit comments

Comments
 (0)