npm / @visx/shape
@visx/shape
What changed in @visx/shape 4, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
3 breaking1 behavior and defaults1 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@visx/shape 45 changes
Breaking changes 3
Upgraded d3-shape to version 3, which may affect code relying on its previous API or behavior.
Removed prop-types, which may affect applications relying on that package through visx.
Packages now require React 18 or 19, so applications using an earlier React version must upgrade.
Behavior and default changes 1
Changed @types/react to an optional peer dependency, affecting how TypeScript applications manage React type dependencies.
Fixes and other changes 1
Fixed Node ESM compatibility for the published esm/ output.