Install
immer
Create your next immutable state by mutating the current one
11.2.14Latest, 29 Nov 2026
413MDownloads, last month
0Advisories on the latest
3Advisories, all versions
MITLicence
29KStars
6.1/10OpenSSF Scorecard
Source · Homepage · Ask AI Mode · · Markdown
Known advisories
| Severity | Advisory | Fix | Published |
|---|---|---|---|
| High | Prototype Pollution in immer CVE-2021-3757 | Fixed in 9.0.6 | 7 Sep 2021 |
| Critical | Prototype Pollution in immer CVE-2021-23436 | Fixed in 9.0.6 | 2 Sep 2021 |
| High | Prototype Pollution in immer CVE-2020-28477 | Fixed in 8.0.1 | 20 Jan 2021 |
In the news
- An Introduction To Immer in React dev.to, 10 Jul 2025
- Understanding Object Mutability, Shallow vs Deep Copy, and the Power of Immer in JavaScript dev.to, 26 Jun 2025
- Building Robust React Apps with Zustand and Immer dev.to, 23 Mar 2025
- Tauziehen geht weiter: Landkreis Gotha immer noch ohne Haushalt für 2025 | MDR.DE mdr.de, 18 Dec 2024
- What is the best practice to avoid eslint error "@typescript-eslint/no-dynamic-delete" when using immer in redux? stackoverflow.com, 7 Dec 2024
On Hacker News
- Immer: immutable and persistent data structures for C++ 144 points, 45 comments, 27 Nov 2016
- Immer – A library of persistent and immutable data structures written in C++ 127 points, 18 comments, 21 Dec 2025
- Immer is a library of persistent and immutable data structures written in C++ 102 points, 56 comments, 12 Sep 2019
- The Rise of Immer in React 24 points, 8 comments, 11 Dec 2018
Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.