Packages

immer

11.2.9 · 22 Oct 2026MIT89.4M / weekRepositoryHomepagenpmAtom feed

Upgrading immer From 9.0.1 to 9.0.21

20 releases in betweenevery note read

Other targets from 9.0.1Clears its 2 advisories9.0.6Latest11.2.9
  1. 9.0.1yours
  2. 4 releases
  3. 9.0.6security
  4. 14 releases
  5. 9.0.21target

Security

Fixes 2 advisories affecting 9.0.1

  • security: Follow up on CVE-2020-28477 where path: [["__proto__"], "x"] could still pollute the prototype

    9.0.6

Release by release

  1. 9.0.21

    23 Mar 20231 fix
    • fixed

      Ensure type exports is first in package.json export declaration

  2. 9.0.20

    23 Mar 20231 fix
    • fixed

      Patching maps failed when using number keys

  3. 9.0.19

    27 Jan 20236 fixes
    • fixed

      Don't freeze drafts returned from produce if they were passed in as draft

    • fixed

      Produce results should never be frozen when returned from nested produces, to prevent 'hiding' drafts. Fixes #935

    • fixed

      Release and publish from 'main' rather than 'master' branch

    • fixed

      Revert earlier fix (#990) for recursive types

    • fixed

      Upgrade Github actions to Node 16 attempt 1

    • fixed

      Upgrade Github actions to Node 16 attempt 2

  4. 9.0.18

    15 Jan 20232 fixes
    • fixed

      Preserve insertion order of Sets, fixes #819

    • fixed

      Unnecessarily recursive Draft type

  5. 9.0.17

    2 Jan 20231 fix
    • fixed

      Special case NaN in setter

  6. 9.0.16

    22 Oct 20221 fix
    • fixed

      Protect isDraftable against undefined constructor

  7. 9.0.15

    13 Jun 20221 new
    • new

      Add "types" to exports for TypeScript 4.7

  8. 9.0.14

    12 May 20221 fix
    • fixed

      Use .esm.js module for backwards compatibility with old build tools