← immerjs/immer
CodeVetter · Repo Unpack · Data flow

immerjs/immer

Scanned commit 061c2425e1 dated 2026-08-19 — last upstream commit. Generated by codevetter codevetter 1.15.0 on 2026-10-02. Deep analysis by cli:codex via the codex CLI on 2026-10-02 (342s). Source inspection; upstream code and tests were not executed.

Inputs enter as application-owned state and executable recipes, then become scope-owned drafts with lazily allocated copies. Writes record assignments and propagate modification flags toward parents; finalization substitutes ordinary values and preserves unchanged base references. Results and optional patch arrays leave through returns and listeners, with persistence delegated to the calling application in these inspected API paths.