Skip to content

Conversation

@kushalshit27
Copy link
Owner

This pull request updates the array comparison logic in the diff library to use positional (index-by-index) comparison only, rather than attempting to match elements by content similarity or reordering. It also updates documentation and dependencies to reflect these changes and adds tests for new behaviors.

…tional comparison

feat(src/diff.ts): update array comparison to use positional matching; remove string similarity handling
test(diff.test.ts): add tests for ignoreValues and keysOnly options for arrays of strings
@kushalshit27 kushalshit27 merged commit 089ac18 into main Dec 24, 2025
2 checks passed
@kushalshit27 kushalshit27 deleted the dev branch December 24, 2025 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants