# What changed in number-flow

> 7 changes in number-flow 0.5 to 0.6 from its official release notes, upgrade guides and advisories: 1 breaking, 1 security. Each one cited. Sources checked 2026-11-30. HTML: https://unstale.sh/npm/number-flow/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## number-flow 0.6

### Breaking changes

- The CSS property is removed in favor of line-height. (0.6.0) — [release notes](https://github.com/barvian/number-flow/releases/tag/number-flow%400.6.0)

### Performance

- Redundant layout measurements are skipped for identity-equal data re-sets and when animations can't run, avoiding forced reflows. (0.6.2) — [release notes](https://github.com/barvian/number-flow/releases/tag/number-flow%400.6.2)

### Fixes and other changes

- Guards DOM globals in the browser. (0.6.1) — [release notes](https://github.com/barvian/number-flow/releases/tag/number-flow%400.6.1)

## number-flow 0.5

### Security

- Adds CSP strategies. (0.5.11) — [release notes](https://github.com/barvian/number-flow/releases/tag/number-flow%400.5.11)

### Behavior and default changes

- Animation now occurs only when ownerDocument is visible. (0.5.12) — [release notes](https://github.com/barvian/number-flow/releases/tag/number-flow%400.5.12)

### Fixes and other changes

- Fixes text alignment in Safari. (0.5.10) — [release notes](https://github.com/barvian/number-flow/releases/tag/number-flow%400.5.10)
- Fixes a visual bug in Safari. (0.5.9) — [release notes](https://github.com/barvian/number-flow/releases/tag/number-flow%400.5.9)
