Skip to content

[Fix]: reset key state on type switch when duplicates is last#536

Draft
anasdevv wants to merge 3 commits intoljharb:mainfrom
anasdevv:issue514
Draft

[Fix]: reset key state on type switch when duplicates is last#536
anasdevv wants to merge 3 commits intoljharb:mainfrom
anasdevv:issue514

Conversation

@anasdevv
Copy link
Copy Markdown

Fixes #514

@codecov
Copy link
Copy Markdown

codecov bot commented Dec 29, 2025

Codecov Report

❌ Patch coverage is 80.00000% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 99.62%. Comparing base (e8b3238) to head (1239aa2).
⚠️ Report is 7 commits behind head on main.

Files with missing lines Patch % Lines
lib/parse.js 80.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #536      +/-   ##
==========================================
- Coverage   99.89%   99.62%   -0.27%     
==========================================
  Files           9        9              
  Lines        1853     1877      +24     
  Branches      216      225       +9     
==========================================
+ Hits         1851     1870      +19     
- Misses          2        7       +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown
Owner

@ljharb ljharb left a comment

Choose a reason for hiding this comment

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

This needs regression tests.

@ljharb ljharb marked this pull request as draft February 11, 2026 20:47
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.

Duplicates set to last, should not apply to arrays without index

2 participants