andreyvit / json-diff

Structural diff for JSON files
MIT License
1.13k stars 134 forks source link

"true" and true are the same in lists #93

Closed elpollodiablo closed 1 year ago

elpollodiablo commented 2 years ago

behaves correctly:

console.log(jsonDiff.diffString({"thisis":true}, {"thisis":"true"}, {full:true}));
console.log(jsonDiff.diffString([{"thisis":true}], [{"thisis":"true"}], {full:true}));

does not behave correctly:

console.log(jsonDiff.diffString(["false", true], [false, "true"], {full:true}));
console.log(jsonDiff.diffString([false, "true"], ["false", true], {full:true}));
ewoudenberg commented 1 year ago

Resolved in v1.0.0