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

immerjs / immer
46%

Build:
DEFAULT BRANCH: main
Repo Added 04 Mar 2026 11:54PM UTC
Token I56RqKSv6S94Pza0eLYc9fb3L2XuAnSwQ regen
Build 168 Last
Files 28
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

LAST BUILD ON BRANCH main
branch: main
CHANGE BRANCH
x
Reset
Sync Branches
  • main
  • add-deno-install
  • agent/add-zh-cn-array-methods-docs
  • defer-type-inference
  • dependabot/npm_and_yarn/babel/core-7.29.6
  • dependabot/npm_and_yarn/handlebars-4.7.9
  • dependabot/npm_and_yarn/immutable-3.8.3
  • dependabot/npm_and_yarn/immutable-4.3.8
  • dependabot/npm_and_yarn/immutable-4.3.9
  • dependabot/npm_and_yarn/ip-address-10.4.0
  • dependabot/npm_and_yarn/lodash-4.18.1
  • dependabot/npm_and_yarn/picomatch-2.3.2
  • dependabot/npm_and_yarn/shell-quote-1.10.0
  • dependabot/npm_and_yarn/shell-quote-1.8.4
  • dependabot/npm_and_yarn/sigstore-4.1.1
  • dependabot/npm_and_yarn/sigstore/core-3.2.1
  • dependabot/npm_and_yarn/sigstore/verify-3.1.1
  • dependabot/npm_and_yarn/tar-7.5.16
  • dependabot/npm_and_yarn/tar-7.5.22
  • dependabot/npm_and_yarn/vite-6.4.2
  • dependabot/npm_and_yarn/vite-6.4.3
  • dependabot/npm_and_yarn/vitest-3.2.6
  • dependabot/npm_and_yarn/website/babel/plugin-transform-modules-systemjs-7.29.4
  • dependabot/npm_and_yarn/website/brace-expansion-1.1.14
  • dependabot/npm_and_yarn/website/brace-expansion-1.1.18
  • dependabot/npm_and_yarn/website/fast-uri-3.1.2
  • dependabot/npm_and_yarn/website/fast-uri-3.1.4
  • dependabot/npm_and_yarn/website/fast-uri-3.1.5
  • dependabot/npm_and_yarn/website/follow-redirects-1.16.0
  • dependabot/npm_and_yarn/website/http-proxy-middleware-2.0.10
  • dependabot/npm_and_yarn/website/joi-17.13.4
  • dependabot/npm_and_yarn/website/lodash-4.18.1
  • dependabot/npm_and_yarn/website/nanoid-3.3.18
  • dependabot/npm_and_yarn/website/node-forge-1.4.0
  • dependabot/npm_and_yarn/website/picomatch-2.3.2
  • dependabot/npm_and_yarn/website/postcss-8.5.13
  • dependabot/npm_and_yarn/website/postcss-8.5.25
  • dependabot/npm_and_yarn/website/shell-quote-1.8.4
  • dependabot/npm_and_yarn/website/svgo-2.8.2
  • dependabot/npm_and_yarn/website/svgo-2.8.3
  • dependabot/npm_and_yarn/website/websocket-driver-0.7.5
  • dependabot/npm_and_yarn/website/yaml-1.10.3
  • docs/custom-produce-function
  • feature/harden-publishing-2026-05
  • fix-prototype-vulnerability
  • fix/858-reassign-to-same-non-primitive
  • fix/896-typings-current-draft
  • fix/apply-patches-null-path-traversal
  • fix/array-methods-assigned-index-key
  • fix/array-methods-noop-structural-sharing
  • fix/array-reorder-base-mutation
  • fix/docs-useimmer-todo-done-1011
  • fix/prototype-undefined-not-stored-as-own-prop
  • fix/rfc6902-patch-path-docs
  • fix/ts2403-global-iterator-decl
  • patch-1
  • prototype-inspection-tests
  • refs/pull/1239/merge
  • refs/pull/1279/merge
  • refs/pull/1281/merge
  • revert-prototype-fix

19 Aug 2026 07:55AM UTC coverage: 46.147%. Remained the same
32230152197

push

github

web-flow
chore(test): pin draft prototype-inspection behavior restored by #1271 (#1272)

Drafts must stay safe for ecosystem introspection idioms: lodash's
isPrototype (used by isEmpty/isEqual/isPlainObject) reads
value.constructor.prototype, and fast-deep-equal compares constructor
identity. The guard reverted in #1271 broke these (#1265, #1266, #1268)
while its tests still passed, because try/catch made a crash and a
successful block indistinguishable.

These tests assert observable behavior directly, so they fail on
11.1.9-11.1.11 (verified: constructor.prototype throws, constructor
identity and 'in' checks break, writes to own keys named prototype are
dropped) and pass on main. setPrototypeOf remains forbidden; the
applyPatches-layer pollution guards in patch.js are untouched.

674 of 724 branches covered (93.09%)

Branch coverage included in aggregate %.

1745 of 4518 relevant lines covered (38.62%)

1877.14 hits per line

Relevant lines Covered
Build:
Build:
4518 RELEVANT LINES 1745 COVERED LINES
1877.14 HITS PER LINE
Source Files on main
  • Tree
  • List 28
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
32230152197 main chore(test): pin draft prototype-inspection behavior restored by #1271 (#1272) Drafts must stay safe for ecosystem introspection idioms: lodash's isPrototype (used by isEmpty/isEqual/isPlainObject) reads value.constructor.prototype, and fast-deep... push 19 Aug 2026 07:56AM UTC web-flow github
46.15
32229965931 main docs: add typed custom produce function (#1239) * add typed custom produce function * Move TypeScript recipe patterns to TypeScript docs including crosslink push 19 Aug 2026 07:54AM UTC web-flow github
46.15
32228348612 main docs: add zh-CN array methods translation (#1285) Co-authored-by: lijiayou0728 <277368198+lijiayou0728@users.noreply.github.com> push 19 Aug 2026 07:33AM UTC web-flow github
46.14
32228321611 main chore(deps): bump svgo from 2.8.2 to 2.8.3 in /website (#1291) Bumps [svgo](https://github.com/svg/svgo) from 2.8.2 to 2.8.3. - [Release notes](https://github.com/svg/svgo/releases) - [Commits](https://github.com/svg/svgo/compare/v2.8.2...v2.8.3)... push 19 Aug 2026 07:33AM UTC web-flow github
46.14
32228180353 main chore(deps): bump postcss from 8.5.13 to 8.5.26 in /website (#1281) Bumps [postcss](https://github.com/postcss/postcss) from 8.5.13 to 8.5.26. - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss... push 19 Aug 2026 07:31AM UTC web-flow github
46.15
32227846774 main docs: fix RFC-6902 JSON Pointer path conversion (#1274) Prefix the joined path with "/" so normalized patch paths match RFC-6901 JSON Pointers. Also note token escaping for "~" and "/". Fixes #1051 push 19 Aug 2026 07:27AM UTC web-flow github
46.15
32227681555 main docs: show todo.done in useImmer checkbox example (#1275) The linked CodeSandbox used todo.finished for checked while the state uses done. Inline the full example with checked={todo.done} instead. push 19 Aug 2026 07:25AM UTC web-flow github
46.15
32227565125 main fix: remove global `var Iterator` declaration conflicting with ESNext lib (#1290) The `declare global { var Iterator }` shim (added to feature-detect ES2025's `Iterator.from`) leaks a global variable declaration into the bundled `dist/immer.d.ts`... push 19 Aug 2026 07:24AM UTC web-flow github
46.14
32227488510 main chore(deps): bump shell-quote from 1.8.4 to 1.10.0 (#1279) Bumps [shell-quote](https://github.com/ljharb/shell-quote) from 1.8.4 to 1.10.0. - [Changelog](https://github.com/ljharb/shell-quote/blob/main/CHANGELOG.md) - [Commits](https://github.com... push 19 Aug 2026 07:23AM UTC web-flow github
46.12
32227473820 main chore(deps): bump tar from 7.5.16 to 7.5.22 (#1280) Bumps [tar](https://github.com/isaacs/node-tar) from 7.5.16 to 7.5.22. - [Release notes](https://github.com/isaacs/node-tar/releases) - [Changelog](https://github.com/isaacs/node-tar/blob/main/C... push 19 Aug 2026 07:22AM UTC web-flow github
46.12
See All Builds (134)

Badge your Repo: immer

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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