v1.1.1
- add
referenceProperty
in theoptions
parameter ofgetListDiff
.referenceProperty
will consider an object to be updated instead of added or deleted if one of its properties remains stable, such as itsid
. This option has no effect on other datatypes. (feature requested in #14)
getListDiff(listA, listB, { referenceProperty: "id" })
- update dev dependencies
- add generic types for
getListDiff
- add typescript documentation to functions
- correct
README.md
grammar and update the documentation