react-diff-viewer icon indicating copy to clipboard operation
react-diff-viewer copied to clipboard

chore: upgrade diff to version 5

Open guillaumearm opened this issue 1 year ago • 2 comments
trafficstars

Hi there, I'm not sure why but I found out that with diff@5 the lib blazing fast.

My use case is I want to compare 2 files with more than 8k lines and it ends up with a crash of the browser tab. On my project I used the resolutions field on my package.json to fix the issue:

{
  "resolutions": {
    "diff": "5.2.0"
  }
}

guillaumearm avatar Mar 28 '24 15:03 guillaumearm