Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: check if the target is POJO before attempted merge #4615

Merged
merged 1 commit into from
Dec 27, 2023

Conversation

logaretm
Copy link
Owner

What

Fixes an issue where a target value is a POJO but the source value is not. This fix checks if both are POJOs before attempting to merge them.

This previously would've have caused crashes with Blob or File or any other JS builtin.

@logaretm logaretm self-assigned this Dec 27, 2023
Copy link

codecov bot commented Dec 27, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a50956c) 89.81% compared to head (5895689) 89.79%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4615      +/-   ##
==========================================
- Coverage   89.81%   89.79%   -0.03%     
==========================================
  Files          93       93              
  Lines        7651     7651              
  Branches     1345     1345              
==========================================
- Hits         6872     6870       -2     
- Misses        772      774       +2     
  Partials        7        7              

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

@logaretm logaretm merged commit 2bdac1f into main Dec 27, 2023
6 of 7 checks passed
@logaretm logaretm deleted the fix/source-is-poji-target-is-not branch December 27, 2023 13:14
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.

None yet

1 participant