tw-animate-css
1.4.0 · 24 Sep 2025MIT52.3M / weekRepositoryHomepagenpmAtom feed
Release note
Changelog
902e37a: fix: remove support for prefix, add new export for prefixed version. Closes #58.
fab2a5b: chore: bump version to 1.4.0 and update dependencies
c20dc32: fix(build): make transform.ts accept two arguments
Breaking change
Support for Tailwind CSS's prefix option was moved to tw-animate-css/prefix because it was breaking the --spacing function. Users requiring prefixes should replace their import:
- import "tw-animate-css"; + import "tw-animate-css/prefix";
I do not plan to introduce breaking changes like this to non-major releases in the future. But because more people use spacing rather than prefixes, reverting the previous version's (obviously breaking) change seems reasonable.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.