[Snyk] Upgrade tailwind-merge from 1.14.0 to 2.3.0 #2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was automatically created by Snyk using the credentials of a real user.
![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
Snyk has created this PR to upgrade tailwind-merge from 1.14.0 to 2.3.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 57 versions ahead of your current version.
The recommended version was released on 2 months ago.
Release notes
Package name: tailwind-merge
New Features
Documentation
Full Changelog: v2.2.2...v2.3.0
Thanks to @ brandonmcconnell, @ manavm1990, @ langy and @ jamesreaco for sponsoring tailwind-merge! ❤️
Bug Fixes
Documentation
configuration.md
by @ stephan281094 in #372Full Changelog: v2.2.1...v2.2.2
Thanks to @ brandonmcconnell, @ manavm1990, @ langy, a private sponsor and @ jamesreaco for sponsoring tailwind-merge! ❤️
Bug Fixes
Full Changelog: v2.2.0...v2.2.1
Thanks to @ brandonmcconnell, @ manavm1990 and @ langy for sponsoring tailwind-merge! ❤️
New Features
Full Changelog: v2.1.0...v2.2.0
Thanks to @ brandonmcconnell, @ manavm1990, @ ErwinAI and @ langy for sponsoring tailwind-merge! ❤️
New Features
ClassValidator
type to package exports by @ dcastil in #348Bug Fixes
Documentation
Full Changelog: v2.0.0...v2.1.0
Thanks to @ brandonmcconnell, @ manavm1990, @ ErwinAI and @ langy for sponsoring tailwind-merge! ❤️
The tailwind-merge v2 release has been sitting here almost finished for 2 months already. But the timing was never quite right, especially thinking about the increased support needed after the release. In the meantime, the product of the company I work at launched in public beta and I married. Thank you for your patience.
This release focuses on making it easier to configure the library for new users. Check out the migration guide and if you have any questions, feel free to create an issue.
Breaking Changes
background-image
andbackground-position
being merged incorrectly by @ dcastil in #300background-position
andbackground-size
can look very similar and Tailwind CSS uses the samebg-
prefix for both groups. This results in some limitations for tailwind-merge. If you use background position or background size with arbitrary values, please read this section about how to use them.extendTailwindMerge
by @ dcastil in #294conflictingClassGroupModifiers
in config non-optional by @ dcastil in #291module
field from package.json by @ dcastil in #289New Features
extendTailwindMerge
by @ dcastil in #294conflictingClassGroupModifiers
in config non-optional by @ dcastil in #291module
field from package.json by @ dcastil in #289Bug Fixes
background-image
andbackground-position
being merged incorrectly by @ dcastil in #300true
for empty strings by @ dcastil in #295Documentation
bg-size
andbg-position
class groups in docs by @ dcastil in #328Full Changelog: v1.14.0...v2.0.0
Thanks to @ quezlatch, @ brandonmcconnell, @ manavm1990 and @ ErwinAI for sponsoring tailwind-merge! ❤️
New Features
mt-[calc(theme(fontSize.4xl)/1.125)]
would not be recognized correctly because no length unit is present in the arbitrary value.calc()
,min()
,max()
andclamp()
function is used in the arbitrary value.mt-[…]
the arbitrary value can only be a length, so I don't check for it. A consequence of this is that if you use non-Tailwind classes likemt-[this-is-totally-not-tailwind]
, tailwind-merge will recognize it as a Tailwind class from now on. Please don't use classes that look like Tailwind classes with arbitrary value but aren't Tailwind classes with tailwind-merge (in default config) to prevent incorrect merging behavior.Bug Fixes
col-span-full
class missing in default config by @ dcastil in #267Documentation
Full Changelog: v1.13.2...v1.14.0
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: