unstale

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

@unstale/cli on npm

@visx/shape 45 changes

Breaking changes 3

  • Upgraded d3-shape to version 3, which may affect code relying on its previous API or behavior.

    4.0.0release notes

  • Removed prop-types, which may affect applications relying on that package through visx.

    4.0.0release notes

  • Packages now require React 18 or 19, so applications using an earlier React version must upgrade.

    4.0.0release notesupgrade guide

Behavior and default changes 1

  • Changed @types/react to an optional peer dependency, affecting how TypeScript applications manage React type dependencies.

    4.0.0release notes

Fixes and other changes 1

  • Fixed Node ESM compatibility for the published esm/ output.

    4.0.0release notes