• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

eclipsesource / jsonforms / 30620536921
84%

Build:
DEFAULT BRANCH: master
Ran 31 Jul 2026 09:41AM UTC
Jobs 1
Files 802
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

31 Jul 2026 09:36AM UTC coverage: 84.286% (+0.5%) from 83.776%
30620536921

push

github

web-flow
fix(core): refactor update data to avoid lodash issues (#2585)

Fixes #2102
Fixes #2397

Replace the lodash/fp/set call in UPDATE_DATA with a dedicated helper.
This fixes issues with numeric segments (e.g. "group-key.15") and
bracket characters in property names (e.g. "test[0]").

Improvements on top of the lodash/fp/set replacement:

- Store "__proto__" segments as own properties via defineProperty and
  traverse own properties only, so such keys neither corrupt the
  container's prototype nor get dropped. Clone containers key-by-key
  because downleveled object spreads assign instead of define.
- Read the updater's old data with resolveData instead of lodash get,
  so reads use the same literal path semantics as writes.
- Fall back to lodash's index heuristic when creating missing
  containers without schema type information.
- Match lodash's isIndex semantics with a strict index regex instead
  of Number() coercion.
- Avoid strict-mode TypeErrors when unsetting non-index array
  properties (e.g. "length") and return the same reference when
  there is nothing to unset.
- Treat an empty path as addressing the root, and replace non-object
  root data instead of spreading it.

Also documents the path semantics change in MIGRATION.md and adds unit
tests for setDataAt/unsetDataAt.

Co-authored-by: Darius Lesch <darius.lesch@proton.me>

12543 of 31932 branches covered (39.28%)

80 of 81 new or added lines in 3 files covered. (98.77%)

40 existing lines in 10 files now uncovered.

20318 of 24106 relevant lines covered (84.29%)

33.65 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
98.67
packages/core/src/util/setData.ts

Coverage Regressions

Lines Coverage ∆ File
4
92.39
-0.08% packages/angular-material/node_modules/@jsonforms/core/src/reducers/core.ts
4
92.39
-0.08% packages/angular/node_modules/@jsonforms/core/src/reducers/core.ts
4
92.39
-0.08% packages/examples/node_modules/@jsonforms/core/src/reducers/core.ts
4
92.39
-0.08% packages/examples-react/node_modules/@jsonforms/core/src/reducers/core.ts
4
92.39
-0.08% packages/material-renderers/node_modules/@jsonforms/core/src/reducers/core.ts
4
92.39
-0.08% packages/react/node_modules/@jsonforms/core/src/reducers/core.ts
4
92.39
-0.08% packages/vanilla-renderers/node_modules/@jsonforms/core/src/reducers/core.ts
4
92.39
-0.08% packages/vue/node_modules/@jsonforms/core/src/reducers/core.ts
4
92.39
-0.08% packages/vue-vanilla/node_modules/@jsonforms/core/src/reducers/core.ts
4
92.39
-0.08% packages/vue-vuetify/node_modules/@jsonforms/core/src/reducers/core.ts
Jobs
ID Job ID Ran Files Coverage
1 30620536921.1 31 Jul 2026 09:41AM UTC 802
84.29
GitHub Action Run
Source Files on build 30620536921
  • Tree
  • List 802
  • Changed 22
  • Source Changed 0
  • Coverage Changed 22
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • dc02a1c7 on github
  • Prev Build on master (#30261027242)
  • Next Build on master (#30621749780)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc