alibaba / formily

📱🚀 🧩 Cross Device & High Performance Normal Form/Dynamic(JSON Schema) Form/Form Builder -- Support React/React Native/Vue 2/Vue 3
https://formilyjs.org/
MIT License
11.32k stars 1.48k forks source link

fix(core): array field insert method crash in sparse array #3987

Closed dan0314 closed 11 months ago

dan0314 commented 12 months ago

Before submitting a pull request, please make sure the following is done...

Please do not delete the above content


What have you changed?

#3932

CLAassistant commented 12 months ago

CLA assistant check
All committers have signed the CLA.

codecov[bot] commented 12 months ago

Codecov Report

All modified lines are covered by tests :white_check_mark:

Comparison is base (8861ef5) 99.55% compared to head (3915838) 99.55%. Report is 7 commits behind head on formily_next.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## formily_next #3987 +/- ## ============================================= Coverage 99.55% 99.55% ============================================= Files 152 152 Lines 6709 6716 +7 Branches 1876 1819 -57 ============================================= + Hits 6679 6686 +7 - Misses 29 30 +1 + Partials 1 0 -1 ``` | [Files](https://app.codecov.io/gh/alibaba/formily/pull/3987?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alibaba) | Coverage Δ | | |---|---|---| | [packages/core/src/shared/internals.ts](https://app.codecov.io/gh/alibaba/formily/pull/3987?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alibaba#diff-cGFja2FnZXMvY29yZS9zcmMvc2hhcmVkL2ludGVybmFscy50cw==) | `100.00% <100.00%> (ø)` | | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/alibaba/formily/pull/3987/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alibaba)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.