immer
11.2.9 · 22 Oct 2026MIT89.4M / weekRepositoryHomepagenpmAtom feed
Upgrading immer From 8.0.4 to 9.0.0
1 release in betweenevery note read
- 2
- changes to make
- 0
- advisories fixed
- 1
- new
- 0
- fixes
Before you upgrade
Tick each one off as you go- breaking9.0.0
- breaking9.0.0
Security
2 advisories still affect 9.0.0
- Prototype Pollution in immercritical · GHSA-33f9-j839-rf8h
- Prototype Pollution in immerhigh · GHSA-c36v-fmgq-m8hx
Upgrading to 9.0.6 clears them.
Release by release
- breaking
It is no longer allowed to return
nothingfrom a recipe if the target state doesn't acceptundefined. - breaking
It is no longer allowed to return arbitrary things from a recipe. Recipes should either return nothing, or something that is assignable to the original state type. This will catch mistakes with accidental returns earlier.
- new
- breaking