@ -8,7 +8,6 @@ This library compares two arrays or objects and returns a full diff of their dif
@@ -8,7 +8,6 @@ This library compares two arrays or objects and returns a full diff of their dif
All other existing solutions return a strange diff format that often requires additional parsing. They are also limited to object comparison. 👎
@ -19,7 +18,6 @@ All other existing solutions return a strange diff format that often requires ad
@@ -19,7 +18,6 @@ All other existing solutions return a strange diff format that often requires ad
I am grateful to the generous donors of **Superdiff**!
@ -235,11 +233,13 @@ You can add a third `options` parameter to `getListDiff`.
@@ -235,11 +233,13 @@ You can add a third `options` parameter to `getListDiff`.
- `showOnly` gives you the option to return only the values whose status you are interested in (e.g. `["added", "equal"]`).
- `referenceProperty` will consider an object to be updated instead of added or deleted if one of its properties remains stable, such as its `id`. This option has no effect on other datatypes.
- `ignoreArrayOrder`: if set to `true`, `["hello", "world"]` and `["world", "hello"]` will be treated as `equal`, because the two arrays have the same value, just not in the same order.