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

immerjs / immer / 39446464170
47%

Build:
DEFAULT BRANCH: main
Ran 20 Oct 2026 03:14PM UTC
Jobs 1
Files 28
Run time 1min
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

20 Oct 2026 03:13PM UTC coverage: 46.523% (+0.09%) from 46.431%
39446464170

push

github

web-flow
fix: skip nested patches for children of shifted or reordered arrays (#1316)

With enableArrayMethods(), unshift/shift/splice/reverse/sort run natively on
copy_ and mark all indices as reassigned. A child drafted afterwards gets its
key from the index it now sits at, so getPath accepts it and emits a nested
patch such as ["arr", 3, "a"]. That patch is generated before the parent
array's own patches. When the index is past the base length (e.g. unshift and
then writing to the last element) it points at a path that does not exist yet,
and applyPatches throws "path doesn't resolve".

The array already emits a replace/add patch for every index that changed,
carrying the finalized child, so nested patches add nothing there. Return no
path for children of an array whose indices were reassigned. This also matches
the patches produced without the plugin, where such children are not patched
individually either.

684 of 733 branches covered (93.32%)

Branch coverage included in aggregate %.

5 of 6 new or added lines in 1 file covered. (83.33%)

1771 of 4544 relevant lines covered (38.97%)

2043.48 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
94.18
0.12% src/plugins/patches.ts
Jobs
ID Job ID Ran Files Coverage
1 39446464170.1 20 Oct 2026 03:14PM UTC 28
46.52
GitHub Action Run
Source Files on build 39446464170
  • Tree
  • List 28
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • fee2c4fa on github
  • Prev Build on main (#39441658111)
  • Next Build on main (#39553225342)
  • Delete
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