benjamine / jsondiffpatch

Diff & patch JavaScript objects
MIT License
4.78k stars 466 forks source link

Add option to opt out of text diffing #314

Closed ViktorQvarfordt closed 9 months ago

ViktorQvarfordt commented 2 years ago

Using a new option rather than minLength: -1 or similar to avoid a breaking change to the API, and to rely on explicit parameters rather than implicit behavior.

Methuselah96 commented 9 months ago

Thanks for the PR, and apologies for the delay in responding to it! This should be resolved by https://github.com/benjamine/jsondiffpatch/pull/352 making text diffs opt-in. Let us know if you have any other issues.