benjamine / jsondiffpatch

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

Add clone option to patch context #229

Closed arnarthor closed 4 years ago

arnarthor commented 6 years ago

Hey thanks for a great project.

I noticed when using this that the cloneDiffValues option was not respected in a patch context so I added the same setResult function as in a diff context.

/cc @arnihermann @logason