Packages

tailwind-merge

3.7.1 · 19 Nov 2026MIT118.2M / weekRepositorynpmAtom feed

Your version

2.4.0

7 Jul 2024Where it was published

2.6.2 is the newest release of 2.x.

In short

1 security2 new2 changed3 internal

  • Security

    Added documentation on how to report potential vulnerabilities

Release note

New Features

  • Allow hooking into class parsing logic (experimental)

    • There is no info to this in the docs because this is experimental, but there is a new experimentalParseClassName property in the config that allows you to customize how tailwind-merge recognizes classes. If you're interested, you can read how to use it in the inline JSDocs and subscribe to #385 for upcoming more powerful low-level functionality.

  • Create security policy

    • Added documentation on how to report potential vulnerabilities

  • Avoid @babel/runtime dependency

    • Now no dependencies in tailwind-merge anymore. This dependency was only used in the tailwind-merge/es5 bundle anyway which I don't optimize for.

Other

  • Added GitHub Action that adds context-v2 label to every issue, discussion and PR

  • Replace size-limit action with own metrics-report action

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.