human-object-diff icon indicating copy to clipboard operation
human-object-diff copied to clipboard

rfc6902

Open gustawdaniel opened this issue 2 years ago • 0 comments

I did a little research and we are dependent from deep-diff:

  • this package was not updated from 5 years https://github.com/flitbit/diff
  • and there are 10 times faster alternatives https://github.com/flitbit/diff/issues/84

this alternative: https://www.npmjs.com/package/fast-json-patch

  • has similar popularity
  • is maintained
  • use https://www.rfc-editor.org/rfc/rfc6902

There is open issue about moving from custom deep-diff format to rfc6902 https://github.com/flitbit/diff/issues/166


This is connected with exposing interface with changes objects instead of strings https://github.com/spence-s/human-object-diff/issues/9

I think we should discuss potential change from deep-diff to rfc6902 in context of providing consistent changes interface.

there is great implementation of rfc6902 https://www.npmjs.com/package/fast-json-patch

and it winning for me https://npmcompare.com/compare/deep-diff,fast-json-patch,rfc6902

gustawdaniel avatar Mar 28 '23 04:03 gustawdaniel