Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade tailwind-merge from 2.0.0 to 2.4.0 #4

Closed

Conversation

ZeroXClem
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade tailwind-merge from 2.0.0 to 2.4.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 60 versions ahead of your current version.

  • The recommended version was released on a month ago.

Release notes
Package name: tailwind-merge
  • 2.4.0 - 2024-07-07

    New Features

    • Allow hooking into class parsing logic (experimental) by @ dcastil in #444
      • 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 by @ dcastil in #439
      • Added documentation on how to report potential vulnerabilities
    • Avoid @ babel/runtime dependency by @ dcastil in #431
      • 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.

    Documentation

    Other

    • Added GitHub Action that adds context-v2 label to every issue, discussion and PR by @ Pritam1211 in #434
    • Replace size-limit action with own metrics-report action by @ dcastil in #433

    Full Changelog: v2.3.0...v2.4.0

    Thanks to @ brandonmcconnell, @ manavm1990, @ langy, @ jamesreaco and @ microsoft for sponsoring tailwind-merge! ❤️

  • 2.4.0-dev.f745ace15e9a8cdf7815d9972858e5940c8db8b7 - 2024-07-07
  • 2.4.0-dev.f3b5d4a2acc36bef2a58f30c9808f3874fafc76d - 2024-07-29
  • 2.4.0-dev.4e3c37aebdee0d2619aed25af271f7f1482ce5c2 - 2024-07-07
  • 2.4.0-dev.488f9130f2ccc3696d37060104f967401b56da74 - 2024-07-29
  • 2.4.0-dev.38db48d362b45aab9ba7e2e05aef4c36abab6edb - 2024-07-24
  • 2.4.0-dev.31722ed18ba0f6f2edfe65a469664adb8ef2a77a - 2024-07-29
  • 2.4.0-dev.29b7592b391e73a0bd3bac75fc68b2ce12f65fef - 2024-08-11
  • 2.4.0-dev.1d82a24b93b50392a3a3ed22281d5b18130b5fab - 2024-07-29
  • 2.4.0-dev.0a332483114bb4ab4ec002262968ced86200ae23 - 2024-08-01
  • 2.3.0 - 2024-04-19

    New Features

    Documentation

    • Add tailwind-merge-go to similar packages in docs by @ Oudwins in #396

    Full Changelog: v2.2.2...v2.3.0

    Thanks to @ brandonmcconnell, @ manavm1990, @ langy and @ jamesreaco for sponsoring tailwind-merge! ❤️

  • 2.3.0-dev.f35c825ecd0e652f3418c6b65899dfe82a3e0ac0 - 2024-06-01
  • 2.3.0-dev.d11d60461ca0f8532b6ac8e9acdb16fd8eedaa2a - 2024-06-13
  • 2.3.0-dev.bf46250424b21493981fb971c2abf59748289ee1 - 2024-06-24
  • 2.3.0-dev.b75666919682b49c8555159b3c7bce0e4e7fc319 - 2024-06-21
  • 2.3.0-dev.a51bec8ca2b6d9972bd1401c5a5cc49f84defb75 - 2024-07-02
  • 2.3.0-dev.a0bdc1182119cfd7b7b1a9a7ad04cdd975a0f8b3 - 2024-06-23
  • 2.3.0-dev.93a2b780925361ae02001c8b7578bf02d320bc54 - 2024-06-27
  • 2.3.0-dev.7777ceb96a28c636d9ceb514569e2d05d8c6df08 - 2024-05-13
  • 2.3.0-dev.7044f930d58878c566e4738ed72d83a3683af799 - 2024-05-01
  • 2.3.0-dev.6c517f60c9af1dcfdc2f665036d4ea7df17fb504 - 2024-05-01
  • 2.3.0-dev.69baa12170e9b648be67269647b931de2b5d2633 - 2024-04-19
  • 2.3.0-dev.5ff654d45ee41119fadfb6fc43d6d3671e08a419 - 2024-06-23
  • 2.3.0-dev.394c5ba6d17ce754c55cf1bc3e6d3adff599cfd8 - 2024-06-21
  • 2.3.0-dev.3847cc038dfb23ea77fb3002bfe6a990d0b9e25a - 2024-07-07
  • 2.3.0-dev.2bb632f9e3b85b0f18b141a592586806911be275 - 2024-06-17
  • 2.3.0-dev.1ab7486bf907f84dc885882396026f39b7bae254 - 2024-05-01
  • 2.3.0-dev.04bc23cf158da75b1a98e5f882bb97233928933d - 2024-07-01
  • 2.2.2 - 2024-03-16

    Bug Fixes

    • Fix arbitrary shadow with inset not recognized by @ dcastil in #392

    Documentation

    Full Changelog: v2.2.1...v2.2.2

    Thanks to @ brandonmcconnell, @ manavm1990, @ langy, a private sponsor and @ jamesreaco for sponsoring tailwind-merge! ❤️

  • 2.2.2-dev.e96959a28d610e91628f22730ed24a34c3ebcfcc - 2024-03-24
  • 2.2.2-dev.dac08e4973b881d2f36a840ebf787ad4a4548562 - 2024-03-16
  • 2.2.2-dev.ad9ebca8376bc21adee6408b225351ac337282a3 - 2024-03-24
  • 2.2.2-dev.aae31bb8c707c0a9c025635d673272e2680a40b5 - 2024-04-19
  • 2.2.2-dev.428f6813ca4bd0030b497ef6748da82f03f89776 - 2024-04-19
  • 2.2.2-dev.361cf8c63c83993691571b078950461db883ca3a - 2024-04-02
  • 2.2.2-dev.2111ae2bcce162b38f843b46ff444ff78ba95b5b - 2024-03-16
  • 2.2.2-dev.103b94930110a3e1cddff53196eac2f6dd095d29 - 2024-04-19
  • 2.2.1 - 2024-01-22

    Bug Fixes

    • Fix stroke-color being incorrectly detected as stroke-width by @ dcastil in #371

    Full Changelog: v2.2.0...v2.2.1

    Thanks to @ brandonmcconnell, @ manavm1990 and @ langy for sponsoring tailwind-merge! ❤️

  • 2.2.1-dev.f1d7ac635dc6deb05a60dba84204fe2d0730d805 - 2024-02-01
  • 2.2.1-dev.d88bf4992cf7debf4d6b640460f67748e1e7f825 - 2024-03-03
  • 2.2.1-dev.873193791b32cc521137cda3b91fcbc34770af7e - 2024-03-03
  • 2.2.1-dev.7a76ee89e63e8acd0491c535606a4e9258771480 - 2024-03-03
  • 2.2.1-dev.742a07a1ae9fdbea9e775a9aea14dfa23e273648 - 2024-03-16
  • 2.2.1-dev.5f0f217e23db882e97a6d67407eb5ba5e79a2b43 - 2024-01-24
  • 2.2.1-dev.41117c80c51a6ed6859834f5f963147b163a6ec5 - 2024-03-03
  • 2.2.1-dev.2f939b28b03b1e0477e0fa9f1208b0b65d615fbe - 2024-01-22
  • 2.2.1-dev.2a60d7f6851efb174b3e45827565437a6d2e1eff - 2024-03-16
  • 2.2.1-dev.22dc7bba345f7149c92abf7fada4f442010790ff - 2024-01-22
  • 2.2.1-dev.13ac24e43e28d17ef8ecfacf4c953e651f093f61 - 2024-03-03
  • 2.2.0 - 2023-12-21

    New Features

    Full Changelog: v2.1.0...v2.2.0

    Thanks to @ brandonmcconnell, @ manavm1990, @ ErwinAI and @ langy for sponsoring tailwind-merge! ❤️

  • 2.2.0-dev.f9e4aa070e5b7eb66cf697cddc878196ff66619d - 2024-01-01
  • 2.2.0-dev.f015c8110f6e743e6da0c1a878aff3a24a4eae1c - 2024-01-22
  • 2.2.0-dev.ee02ebe9cf5e99fc01996052fb8c7977ef96555d - 2024-01-01
  • 2.2.0-dev.e874a79ba2e037c3f87d8f00b7b5929a53f330c2 - 2023-12-21
  • 2.2.0-dev.c4adf5dfaabc5ae436270dc8b6c45d679bfc0a9b - 2024-01-22
  • 2.2.0-dev.627d46673846683b8f25e5743a5a15932b780415 - 2023-12-26
  • 2.2.0-dev.602ce0219124998610ba7b9ddc000efcd1ba0585 - 2024-01-01
  • 2.1.0 - 2023-12-02

    New Features

    • Add ClassValidator type to package exports by @ dcastil in #348

    Bug Fixes

    • Fix display class not removed when it precedes line-clamp class by @ dcastil in #347

    Documentation

    Full Changelog: v2.0.0...v2.1.0

    Thanks to @ brandonmcconnell, @ manavm1990, @ ErwinAI and @ langy for sponsoring tailwind-merge! ❤️

  • 2.1.0-dev.a7e26a8ffd57062c065cad432dafa7b65be30515 - 2023-12-21
  • 2.1.0-dev.381f1179250196e8f7df5b5c814b42c353cd0e51 - 2023-12-02
  • 2.0.0 - 2023-10-29

    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

    • Fix background-image and background-position being merged incorrectly by @ dcastil in #300
      • Values for background-position and background-size can look very similar and Tailwind CSS uses the same bg- 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.
    • Make types of available keys more strict and configurable through generics by @ kachkaev in #279
    • Make it possible to override elements with extendTailwindMerge by @ dcastil in #294
    • Separate validators better by @ dcastil in #292
    • Make conflictingClassGroupModifiers in config non-optional by @ dcastil in #291
    • Move separator to config by @ dcastil in #290
    • Remove module field from package.json by @ dcastil in #289
    • Remove deprecated exports by @ dcastil in #288
    • Transpile lib to more modern JS by @ dcastil in #287

    New Features

    Bug Fixes

    • Fix touch action classes overriding each other incorrectly by @ dcastil in #313
    • Fix background-image and background-position being merged incorrectly by @ dcastil in #300
    • Fix number validators accidentally returning true for empty strings by @ dcastil in #295
    • Rename lazy-initializaton.test.ts to lazy-initialization.test.ts by @ CrutchTheClutch in #284

    Documentation

    • Explain limitations of arbitrary values in bg-size and bg-position class groups in docs by @ dcastil in #328

    Full Changelog: v1.14.0...v2.0.0

    Thanks to @ quezlatch, @ brandonmcconnell, @ manavm1990 and @ ErwinAI for sponsoring tailwind-merge! ❤️

from tailwind-merge GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

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:

Snyk has created this PR to upgrade tailwind-merge from 2.0.0 to 2.4.0.

See this package in npm:
tailwind-merge

See this project in Snyk:
https://app.snyk.io/org/zeroxclem/project/94aec84f-7eb2-4669-9b17-03360674967a?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

coderabbitai bot commented Aug 12, 2024

Important

Review skipped

Ignore keyword(s) in the title.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@ZeroXClem ZeroXClem closed this Aug 12, 2024
@ZeroXClem ZeroXClem deleted the snyk-upgrade-ee6b14e9361e60f87dcb62fab77723f9 branch August 12, 2024 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants