generate-json-patch

A simple function to diff any object and generate a JSON Patch

MIT License

Downloads
27K
Stars
5
Committers
3

Bot releases are hidden (Show)

generate-json-patch - v1.2.4 Latest Release

Published by marcolink about 1 month ago

1.2.4 (2024-09-04)

Bug Fixes

  • ignore key order when comparing objects at max depth (0c59d87)
generate-json-patch - v1.2.3

Published by marcolink about 1 month ago

1.2.3 (2024-09-04)

Bug Fixes

  • maxDepth: do not return a replace operation for identical array hashes (128034e)
generate-json-patch - v1.2.2

Published by marcolink about 2 months ago

1.2.2 (2024-09-03)

Bug Fixes

  • respect maxDepth for array values (623fc53)
generate-json-patch - v1.2.1

Published by marcolink about 2 months ago

1.2.1 (2024-09-03)

Bug Fixes

  • maxDepth was not respected fully (196c157)
generate-json-patch - v1.2.0

Published by marcolink about 2 months ago

1.2.0 (2024-09-03)

Bug Fixes

Features

generate-json-patch - v1.1.1

Published by marcolink 5 months ago

1.1.1 (2024-05-22)

Bug Fixes

generate-json-patch - v1.1.0

Published by marcolink about 1 year ago

1.1.0 (2023-09-25)

Features

  • use LCS to find the least required move operations (c0a1c83)
generate-json-patch - v1.0.1

Published by marcolink about 1 year ago

1.0.1 (2023-09-09)

Bug Fixes

generate-json-patch - v1.0.0

Published by marcolink about 1 year ago

1.0.0 (2023-09-09)

Bug Fixes

  • add dedicated object hash context (03a7b11)
  • added props on nested array objects (3f012f2)
  • custom comparator case (079b188)
  • readme and package.json (ef80451)
  • readme example and test (c7de52c)
  • rename internal parameters (e4a6dcf)

Features

  • add pathInfo util to inspect provided path (5318a78)
  • add test coverage and matrix test (1fa6490)
  • change context format and introduce path property (d741fe0)
  • first commit (868dbb2)
  • implement "move" generation (707dee8)
  • implement reverse index order (8e404bc)
  • introduce arrat index to context (b8bb862)
  • rename comparator back to objectHash and add example to readme (65b2c19)