aogriffiths / jsondiff-js

A JavaScript implementation to create json patches of the JSON Media Type for partial modifications: http://tools.ietf.org/html/draft-ietf-appsawg-json-patch-08. See also https://github.com/bruth/jsonpatch-js.
https://github.com/aogriffiths/jsondiff-js
BSD 2-Clause "Simplified" License
23 stars 11 forks source link

fix for getParent function #1

Closed vdmitriy closed 10 years ago

vdmitriy commented 11 years ago

incorrect calculate parents for more nested levels

Yaytay commented 10 years ago

Any chance of getting this little lot fixed? Thanks.

thejhh commented 10 years ago

It would indeed be nice to get fixed.

Meanwhile I have a fixed fork here https://github.com/sendanor/jsondiff-js and it can be used from package.json like this:

{
  "dependencies": {
    "json-diff-patch": "git://github.com/Sendanor/jsondiff-js.git#master",
  }
}