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

eclipsesource / jsonforms / 29847842784
84%
master: 84%

Build:
Build:
LAST BUILD BRANCH: fix-2397
DEFAULT BRANCH: master
Ran 21 Jul 2026 04:21PM 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

21 Jul 2026 03:36PM UTC coverage: 84.286% (+0.5%) from 83.776%
29847842784

Pull #2585

github

sdirix
core: harden setDataAt/unsetDataAt against edge cases

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.
Pull Request #2585: fix: refactor update data to avoid lodash issues

12532 of 31921 branches covered (39.26%)

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 29847842784.1 21 Jul 2026 04:21PM UTC 802
84.29
GitHub Action Run
Source Files on build 29847842784
  • 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
  • Pull Request #2585
  • PR Base - master (#26830431178)
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