Skip to content

fix(json-patch-ot): bug when transforming str_del with len#810

Merged
streamich merged 1 commit intostreamich:masterfrom
atsjo:json-patch-ot
Feb 5, 2025
Merged

fix(json-patch-ot): bug when transforming str_del with len#810
streamich merged 1 commit intostreamich:masterfrom
atsjo:json-patch-ot

Conversation

@atsjo
Copy link
Contributor

@atsjo atsjo commented Jan 20, 2025

Found a bug when using json-patch-ot with str_del.len instead of str_del.str operations.
Added the same transformations using len instead of str in scenarios.spec.ts.

The test failing before was:
"str_del x str_del (with str_del.len)" ->"Deletes at higher position partially overlapping."

Copy link
Owner

@streamich streamich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@streamich streamich merged commit 70014f2 into streamich:master Feb 5, 2025
3 checks passed
@github-actions
Copy link

github-actions bot commented Feb 5, 2025

🎉 This PR is included in version 17.26.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@atsjo atsjo deleted the json-patch-ot branch February 5, 2025 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants