benjamine / jsondiffpatch

Diff & patch JavaScript objects
MIT License
4.86k stars 472 forks source link

fix #295 #373

Open vbarbarosh opened 2 months ago

vbarbarosh commented 2 months ago

I rewrite reverseArrayDeltaIndex from packages/jsondiffpatch/src/filters/arrays.ts. Also, I added two test cases specified on the issue page. Everything else was kept unchanged. All tests are passed.