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

Expose low-level API to use tailwind-merge logic for custom use cases #385

Open
dcastil opened this issue Mar 3, 2024 · 2 comments
Open
Labels
context-v2 Related to tailwind-merge v2 feature Is new feature

Comments

@dcastil
Copy link
Owner

dcastil commented Mar 3, 2024

There are some uses cases that are too custom for tailwind-merge to handle but that would benefit from leveraging tailwind-merge's understanding of Tailwind CSS classes and conflicts between them.

Some example use cases:

tailwind-merge could expose a low-level API that makes it possible to use its internal logic for those use cases.

Some important aspects this feature must fulfill:

  • Should not increase bundle size for the vast majority of tailwind-merge users that won't use this code
  • Should be as powerful as possible to enable as many use cases as possible
  • Should not increase package maintenance complexity too much
@dcastil dcastil added feature request context-v2 Related to tailwind-merge v2 labels Mar 3, 2024
@dcastil
Copy link
Owner Author

dcastil commented Mar 3, 2024

So far I'm thinking of a new exported function like createTailwindMergeUtils or extendTailwindMergeUtils or so that exports a bunch of util functions to get all the information that tailwind-merge uses internally.

@dcastil
Copy link
Owner Author

dcastil commented Jul 1, 2024

One idea is to allow to replace the splitModifiers function call in https://github.com/dcastil/tailwind-merge/blob/v2.3.0/src/lib/merge-classlist.ts#L23-L28 (I'd rename it to something like splitClassName or getClassNameParts). That could unlock some powerful low-level functionality.

kodiakhq bot referenced this issue in technifit/tasker Jul 7, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [tailwind-merge](https://togithub.com/dcastil/tailwind-merge) | [`2.3.0` -> `2.4.0`](https://renovatebot.com/diffs/npm/tailwind-merge/2.3.0/2.4.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/tailwind-merge/2.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/tailwind-merge/2.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/tailwind-merge/2.3.0/2.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/tailwind-merge/2.3.0/2.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>dcastil/tailwind-merge (tailwind-merge)</summary>

### [`v2.4.0`](https://togithub.com/dcastil/tailwind-merge/releases/tag/v2.4.0)

[Compare Source](https://togithub.com/dcastil/tailwind-merge/compare/v2.3.0...v2.4.0)

##### New Features

-   Allow hooking into class parsing logic (experimental) by [@&#8203;dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/444](https://togithub.com/dcastil/tailwind-merge/pull/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](https://togithub.com/dcastil/tailwind-merge/pull/444/files#diff-b8b77f5be18cf56dca425b3a5b8e9d2e754dd37fe0e3612b95cd4e9bccda08a5) and subscribe to [https://github.com/dcastil/tailwind-merge/issues/385](https://togithub.com/dcastil/tailwind-merge/issues/385) for upcoming more powerful low-level functionality.
-   Create security policy by [@&#8203;dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/439](https://togithub.com/dcastil/tailwind-merge/pull/439)
    -   Added documentation on how to report potential vulnerabilities
-   Avoid `@babel/runtime` dependency by [@&#8203;dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/431](https://togithub.com/dcastil/tailwind-merge/pull/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

-   Comment/typo fixes by [@&#8203;barvian](https://togithub.com/barvian) in [https://github.com/dcastil/tailwind-merge/pull/443](https://togithub.com/dcastil/tailwind-merge/pull/443)
-   Fix typo in doc/recipes.md by [@&#8203;dsernst](https://togithub.com/dsernst) in [https://github.com/dcastil/tailwind-merge/pull/428](https://togithub.com/dcastil/tailwind-merge/pull/428)
-   docs: add tailwind-merge-dotnet to similar packages by [@&#8203;desmondinho](https://togithub.com/desmondinho) in [https://github.com/dcastil/tailwind-merge/pull/415](https://togithub.com/dcastil/tailwind-merge/pull/415)

##### Other

-   Added GitHub Action that adds context-v2 label to every issue, discussion and PR by [@&#8203;Pritam1211](https://togithub.com/Pritam1211) in [https://github.com/dcastil/tailwind-merge/pull/434](https://togithub.com/dcastil/tailwind-merge/pull/434)
-   Replace size-limit action with own metrics-report action by [@&#8203;dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/433](https://togithub.com/dcastil/tailwind-merge/pull/433)

**Full Changelog**: dcastil/tailwind-merge@v2.3.0...v2.4.0

Thanks to [@&#8203;brandonmcconnell](https://togithub.com/brandonmcconnell), [@&#8203;manavm1990](https://togithub.com/manavm1990), [@&#8203;langy](https://togithub.com/langy), [@&#8203;jamesreaco](https://togithub.com/jamesreaco) and [@&#8203;microsoft](https://togithub.com/microsoft) for sponsoring tailwind-merge! ❤️

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/technifit/tasker).
renovate bot referenced this issue in inabagumi/shinju-date Jul 7, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [tailwind-merge](https://togithub.com/dcastil/tailwind-merge) |
[`^2.3.0` ->
`^2.4.0`](https://renovatebot.com/diffs/npm/tailwind-merge/2.3.0/2.4.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/tailwind-merge/2.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/tailwind-merge/2.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/tailwind-merge/2.3.0/2.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/tailwind-merge/2.3.0/2.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>dcastil/tailwind-merge (tailwind-merge)</summary>

###
[`v2.4.0`](https://togithub.com/dcastil/tailwind-merge/releases/tag/v2.4.0)

[Compare
Source](https://togithub.com/dcastil/tailwind-merge/compare/v2.3.0...v2.4.0)

##### New Features

- Allow hooking into class parsing logic (experimental) by
[@&#8203;dcastil](https://togithub.com/dcastil) in
[https://github.com/dcastil/tailwind-merge/pull/444](https://togithub.com/dcastil/tailwind-merge/pull/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](https://togithub.com/dcastil/tailwind-merge/pull/444/files#diff-b8b77f5be18cf56dca425b3a5b8e9d2e754dd37fe0e3612b95cd4e9bccda08a5)
and subscribe to
[https://github.com/dcastil/tailwind-merge/issues/385](https://togithub.com/dcastil/tailwind-merge/issues/385)
for upcoming more powerful low-level functionality.
- Create security policy by
[@&#8203;dcastil](https://togithub.com/dcastil) in
[https://github.com/dcastil/tailwind-merge/pull/439](https://togithub.com/dcastil/tailwind-merge/pull/439)
    -   Added documentation on how to report potential vulnerabilities
- Avoid `@babel/runtime` dependency by
[@&#8203;dcastil](https://togithub.com/dcastil) in
[https://github.com/dcastil/tailwind-merge/pull/431](https://togithub.com/dcastil/tailwind-merge/pull/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

- Comment/typo fixes by [@&#8203;barvian](https://togithub.com/barvian)
in
[https://github.com/dcastil/tailwind-merge/pull/443](https://togithub.com/dcastil/tailwind-merge/pull/443)
- Fix typo in doc/recipes.md by
[@&#8203;dsernst](https://togithub.com/dsernst) in
[https://github.com/dcastil/tailwind-merge/pull/428](https://togithub.com/dcastil/tailwind-merge/pull/428)
- docs: add tailwind-merge-dotnet to similar packages by
[@&#8203;desmondinho](https://togithub.com/desmondinho) in
[https://github.com/dcastil/tailwind-merge/pull/415](https://togithub.com/dcastil/tailwind-merge/pull/415)

##### Other

- Added GitHub Action that adds context-v2 label to every issue,
discussion and PR by
[@&#8203;Pritam1211](https://togithub.com/Pritam1211) in
[https://github.com/dcastil/tailwind-merge/pull/434](https://togithub.com/dcastil/tailwind-merge/pull/434)
- Replace size-limit action with own metrics-report action by
[@&#8203;dcastil](https://togithub.com/dcastil) in
[https://github.com/dcastil/tailwind-merge/pull/433](https://togithub.com/dcastil/tailwind-merge/pull/433)

**Full Changelog**:
dcastil/tailwind-merge@v2.3.0...v2.4.0

Thanks to
[@&#8203;brandonmcconnell](https://togithub.com/brandonmcconnell),
[@&#8203;manavm1990](https://togithub.com/manavm1990),
[@&#8203;langy](https://togithub.com/langy),
[@&#8203;jamesreaco](https://togithub.com/jamesreaco) and
[@&#8203;microsoft](https://togithub.com/microsoft) for sponsoring
tailwind-merge! ❤️

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/inabagumi/shinju-date).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjEuOSIsInVwZGF0ZWRJblZlciI6IjM3LjQyMS45IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot referenced this issue in remcolakens/next-boilerplate Jul 7, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@playwright/test](https://playwright.dev)
([source](https://togithub.com/microsoft/playwright)) | [`^1.45.0` ->
`^1.45.1`](https://renovatebot.com/diffs/npm/@playwright%2ftest/1.45.0/1.45.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@playwright%2ftest/1.45.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@playwright%2ftest/1.45.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@playwright%2ftest/1.45.0/1.45.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@playwright%2ftest/1.45.0/1.45.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node))
| [`^20.14.9` ->
`^20.14.10`](https://renovatebot.com/diffs/npm/@types%2fnode/20.14.9/20.14.10)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.14.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.14.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.14.9/20.14.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.14.9/20.14.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@typescript-eslint/eslint-plugin](https://typescript-eslint.io/packages/eslint-plugin)
([source](https://togithub.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin))
| [`^7.14.1` ->
`^7.15.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/7.14.1/7.15.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@typescript-eslint%2feslint-plugin/7.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@typescript-eslint%2feslint-plugin/7.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@typescript-eslint%2feslint-plugin/7.14.1/7.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@typescript-eslint%2feslint-plugin/7.14.1/7.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@typescript-eslint/parser](https://typescript-eslint.io/packages/parser)
([source](https://togithub.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser))
| [`^7.14.1` ->
`^7.15.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2fparser/7.14.1/7.15.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@typescript-eslint%2fparser/7.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@typescript-eslint%2fparser/7.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@typescript-eslint%2fparser/7.14.1/7.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@typescript-eslint%2fparser/7.14.1/7.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[inquirer](https://togithub.com/SBoudrias/Inquirer.js/blob/master/packages/inquirer/README.md)
([source](https://togithub.com/SBoudrias/Inquirer.js)) | [`9.3.2` ->
`9.3.5`](https://renovatebot.com/diffs/npm/inquirer/9.3.2/9.3.5) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/inquirer/9.3.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/inquirer/9.3.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/inquirer/9.3.2/9.3.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/inquirer/9.3.2/9.3.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [lucide-react](https://lucide.dev)
([source](https://togithub.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react))
| [`^0.399.0` ->
`^0.401.0`](https://renovatebot.com/diffs/npm/lucide-react/0.399.0/0.401.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/lucide-react/0.401.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/lucide-react/0.401.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/lucide-react/0.399.0/0.401.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/lucide-react/0.399.0/0.401.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [pnpm](https://pnpm.io) ([source](https://togithub.com/pnpm/pnpm)) |
[`9.4.0` -> `9.5.0`](https://renovatebot.com/diffs/npm/pnpm/9.4.0/9.5.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/pnpm/9.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/pnpm/9.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/pnpm/9.4.0/9.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/pnpm/9.4.0/9.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [rimraf](https://togithub.com/isaacs/rimraf) | [`^5.0.7` ->
`^5.0.8`](https://renovatebot.com/diffs/npm/rimraf/5.0.7/5.0.8) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/rimraf/5.0.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/rimraf/5.0.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/rimraf/5.0.7/5.0.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/rimraf/5.0.7/5.0.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [tailwind-merge](https://togithub.com/dcastil/tailwind-merge) |
[`^2.3.0` ->
`^2.4.0`](https://renovatebot.com/diffs/npm/tailwind-merge/2.3.0/2.4.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/tailwind-merge/2.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/tailwind-merge/2.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/tailwind-merge/2.3.0/2.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/tailwind-merge/2.3.0/2.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [typescript](https://www.typescriptlang.org/)
([source](https://togithub.com/Microsoft/TypeScript)) | [`^5.5.2` ->
`^5.5.3`](https://renovatebot.com/diffs/npm/typescript/5.5.2/5.5.3) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/typescript/5.5.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/typescript/5.5.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/typescript/5.5.2/5.5.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/typescript/5.5.2/5.5.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>microsoft/playwright (@&#8203;playwright/test)</summary>

###
[`v1.45.1`](https://togithub.com/microsoft/playwright/compare/v1.45.0...e8989f83d9801cdaadc3803b5341c601c9593947)

[Compare
Source](https://togithub.com/microsoft/playwright/compare/v1.45.0...v1.45.1)

</details>

<details>
<summary>typescript-eslint/typescript-eslint
(@&#8203;typescript-eslint/eslint-plugin)</summary>

###
[`v7.15.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#7150-2024-07-01)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.14.1...v7.15.0)

##### 🚀 Features

-   **eslint-plugin:** \[array-type] detect `Readonly<string[]>` case

- **eslint-plugin:** back-port new rules around empty object types from
v8

##### 🩹 Fixes

- disable `EXPERIMENTAL_useProjectService` in `disabled-type-checked`
shared config

- **eslint-plugin:** \[no-unsafe-return] differentiate a types-error any
from a true any

- **eslint-plugin:** \[no-unsafe-call] differentiate a types-error any
from a true any

##### ❤️  Thank You

-   auvred
-   Kim Sang Du
-   rgehbt
-   Vinccool96

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

</details>

<details>
<summary>typescript-eslint/typescript-eslint
(@&#8203;typescript-eslint/parser)</summary>

###
[`v7.15.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#7150-2024-07-01)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.14.1...v7.15.0)

This was a version bump only for parser to align it with other projects,
there were no code changes.

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

</details>

<details>
<summary>SBoudrias/Inquirer.js (inquirer)</summary>

###
[`v9.3.5`](https://togithub.com/SBoudrias/Inquirer.js/releases/tag/inquirer%409.3.5)

[Compare
Source](https://togithub.com/SBoudrias/Inquirer.js/compare/inquirer@9.3.4...inquirer@9.3.5)

- Fix issue with plugins relying on internal `inquirer` packages file
structure.

###
[`v9.3.4`](https://togithub.com/SBoudrias/Inquirer.js/compare/inquirer@9.3.3...95d2d65d3aca2c0fab66c7fd40b5dc413dfc894f)

[Compare
Source](https://togithub.com/SBoudrias/Inquirer.js/compare/inquirer@9.3.3...inquirer@9.3.4)

###
[`v9.3.3`](https://togithub.com/SBoudrias/Inquirer.js/compare/inquirer@9.3.2...2285f2c043448ff4317635cf6481df7ffda2d3bd)

[Compare
Source](https://togithub.com/SBoudrias/Inquirer.js/compare/inquirer@9.3.2...inquirer@9.3.3)

</details>

<details>
<summary>lucide-icons/lucide (lucide-react)</summary>

###
[`v0.401.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.401.0):
New icons 0.401.0

[Compare
Source](https://togithub.com/lucide-icons/lucide/compare/0.400.0...0.401.0)

#### New icons 🎨

- `scan-qr-code`
([#&#8203;2247](https://togithub.com/lucide-icons/lucide/issues/2247))
by [@&#8203;vexkiddy](https://togithub.com/vexkiddy)

#### Modified Icons 🔨

- `book-a`
([#&#8203;2274](https://togithub.com/lucide-icons/lucide/issues/2274))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `book-audio`
([#&#8203;2274](https://togithub.com/lucide-icons/lucide/issues/2274))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `book-check`
([#&#8203;2274](https://togithub.com/lucide-icons/lucide/issues/2274))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `book-copy`
([#&#8203;2274](https://togithub.com/lucide-icons/lucide/issues/2274))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `book-dashed`
([#&#8203;2274](https://togithub.com/lucide-icons/lucide/issues/2274))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `book-down`
([#&#8203;2274](https://togithub.com/lucide-icons/lucide/issues/2274))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `book-headphones`
([#&#8203;2274](https://togithub.com/lucide-icons/lucide/issues/2274))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `book-heart`
([#&#8203;2274](https://togithub.com/lucide-icons/lucide/issues/2274))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `book-image`
([#&#8203;2274](https://togithub.com/lucide-icons/lucide/issues/2274))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `book-key`
([#&#8203;2274](https://togithub.com/lucide-icons/lucide/issues/2274))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `book-lock`
([#&#8203;2274](https://togithub.com/lucide-icons/lucide/issues/2274))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `book-marked`
([#&#8203;2274](https://togithub.com/lucide-icons/lucide/issues/2274))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `book-minus`
([#&#8203;2274](https://togithub.com/lucide-icons/lucide/issues/2274))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `book-plus`
([#&#8203;2274](https://togithub.com/lucide-icons/lucide/issues/2274))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `book-text`
([#&#8203;2274](https://togithub.com/lucide-icons/lucide/issues/2274))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `book-type`
([#&#8203;2274](https://togithub.com/lucide-icons/lucide/issues/2274))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `book-up-2`
([#&#8203;2274](https://togithub.com/lucide-icons/lucide/issues/2274))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `book-up`
([#&#8203;2274](https://togithub.com/lucide-icons/lucide/issues/2274))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `book-user`
([#&#8203;2274](https://togithub.com/lucide-icons/lucide/issues/2274))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `book-x`
([#&#8203;2274](https://togithub.com/lucide-icons/lucide/issues/2274))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `book`
([#&#8203;2274](https://togithub.com/lucide-icons/lucide/issues/2274))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `circle-power`
([#&#8203;2285](https://togithub.com/lucide-icons/lucide/issues/2285))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `key-round`
([#&#8203;2278](https://togithub.com/lucide-icons/lucide/issues/2278))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `octagon-alert`
([#&#8203;2280](https://togithub.com/lucide-icons/lucide/issues/2280))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `octagon-pause`
([#&#8203;2280](https://togithub.com/lucide-icons/lucide/issues/2280))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `octagon-x`
([#&#8203;2280](https://togithub.com/lucide-icons/lucide/issues/2280))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `octagon`
([#&#8203;2280](https://togithub.com/lucide-icons/lucide/issues/2280))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `signature`
([#&#8203;2293](https://togithub.com/lucide-icons/lucide/issues/2293))
by [@&#8203;karsa-mistmere](https://togithub.com/karsa-mistmere)
- `square-power`
([#&#8203;2285](https://togithub.com/lucide-icons/lucide/issues/2285))
by [@&#8203;jguddas](https://togithub.com/jguddas)

###
[`v0.400.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.400.0):
New icons 0.400.0

[Compare
Source](https://togithub.com/lucide-icons/lucide/compare/0.399.0...0.400.0)

#### New icons 🎨

- `printer-check`
([#&#8203;2258](https://togithub.com/lucide-icons/lucide/issues/2258))
by [@&#8203;jguddas](https://togithub.com/jguddas)

</details>

<details>
<summary>pnpm/pnpm (pnpm)</summary>

###
[`v9.5.0`](https://togithub.com/pnpm/pnpm/compare/v9.5.0-beta.3...v9.5.0)

[Compare Source](https://togithub.com/pnpm/pnpm/compare/v9.4.0...v9.5.0)

</details>

<details>
<summary>isaacs/rimraf (rimraf)</summary>

###
[`v5.0.8`](https://togithub.com/isaacs/rimraf/compare/v5.0.7...v5.0.8)

[Compare
Source](https://togithub.com/isaacs/rimraf/compare/v5.0.7...v5.0.8)

</details>

<details>
<summary>dcastil/tailwind-merge (tailwind-merge)</summary>

###
[`v2.4.0`](https://togithub.com/dcastil/tailwind-merge/releases/tag/v2.4.0)

[Compare
Source](https://togithub.com/dcastil/tailwind-merge/compare/v2.3.0...v2.4.0)

##### New Features

- Allow hooking into class parsing logic (experimental) by
[@&#8203;dcastil](https://togithub.com/dcastil) in
[https://github.com/dcastil/tailwind-merge/pull/444](https://togithub.com/dcastil/tailwind-merge/pull/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](https://togithub.com/dcastil/tailwind-merge/pull/444/files#diff-b8b77f5be18cf56dca425b3a5b8e9d2e754dd37fe0e3612b95cd4e9bccda08a5)
and subscribe to
[https://github.com/dcastil/tailwind-merge/issues/385](https://togithub.com/dcastil/tailwind-merge/issues/385)
for upcoming more powerful low-level functionality.
- Create security policy by
[@&#8203;dcastil](https://togithub.com/dcastil) in
[https://github.com/dcastil/tailwind-merge/pull/439](https://togithub.com/dcastil/tailwind-merge/pull/439)
    -   Added documentation on how to report potential vulnerabilities
- Avoid `@babel/runtime` dependency by
[@&#8203;dcastil](https://togithub.com/dcastil) in
[https://github.com/dcastil/tailwind-merge/pull/431](https://togithub.com/dcastil/tailwind-merge/pull/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

- Comment/typo fixes by [@&#8203;barvian](https://togithub.com/barvian)
in
[https://github.com/dcastil/tailwind-merge/pull/443](https://togithub.com/dcastil/tailwind-merge/pull/443)
- Fix typo in doc/recipes.md by
[@&#8203;dsernst](https://togithub.com/dsernst) in
[https://github.com/dcastil/tailwind-merge/pull/428](https://togithub.com/dcastil/tailwind-merge/pull/428)
- docs: add tailwind-merge-dotnet to similar packages by
[@&#8203;desmondinho](https://togithub.com/desmondinho) in
[https://github.com/dcastil/tailwind-merge/pull/415](https://togithub.com/dcastil/tailwind-merge/pull/415)

##### Other

- Added GitHub Action that adds context-v2 label to every issue,
discussion and PR by
[@&#8203;Pritam1211](https://togithub.com/Pritam1211) in
[https://github.com/dcastil/tailwind-merge/pull/434](https://togithub.com/dcastil/tailwind-merge/pull/434)
- Replace size-limit action with own metrics-report action by
[@&#8203;dcastil](https://togithub.com/dcastil) in
[https://github.com/dcastil/tailwind-merge/pull/433](https://togithub.com/dcastil/tailwind-merge/pull/433)

**Full Changelog**:
dcastil/tailwind-merge@v2.3.0...v2.4.0

Thanks to
[@&#8203;brandonmcconnell](https://togithub.com/brandonmcconnell),
[@&#8203;manavm1990](https://togithub.com/manavm1990),
[@&#8203;langy](https://togithub.com/langy),
[@&#8203;jamesreaco](https://togithub.com/jamesreaco) and
[@&#8203;microsoft](https://togithub.com/microsoft) for sponsoring
tailwind-merge! ❤️

</details>

<details>
<summary>Microsoft/TypeScript (typescript)</summary>

###
[`v5.5.3`](https://togithub.com/Microsoft/TypeScript/compare/v5.5.2...f0e992167440686f948965e5441a918b34251886)

[Compare
Source](https://togithub.com/Microsoft/TypeScript/compare/v5.5.2...v5.5.3)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone
Europe/Amsterdam, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/remcolakens/next-boilerplate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjEuOSIsInVwZGF0ZWRJblZlciI6IjM3LjQyMS45IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
kkrishguptaa referenced this issue in kkrishguptaa/study-web3 Jul 8, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [lucide-react](https://lucide.dev)
([source](https://togithub.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react))
| [`^0.400.0` ->
`^0.401.0`](https://renovatebot.com/diffs/npm/lucide-react/0.400.0/0.401.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/lucide-react/0.401.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/lucide-react/0.401.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/lucide-react/0.400.0/0.401.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/lucide-react/0.400.0/0.401.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [tailwind-merge](https://togithub.com/dcastil/tailwind-merge) |
[`2.3.0` ->
`2.4.0`](https://renovatebot.com/diffs/npm/tailwind-merge/2.3.0/2.4.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/tailwind-merge/2.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/tailwind-merge/2.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/tailwind-merge/2.3.0/2.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/tailwind-merge/2.3.0/2.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>lucide-icons/lucide (lucide-react)</summary>

###
[`v0.401.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.401.0):
New icons 0.401.0

[Compare
Source](https://togithub.com/lucide-icons/lucide/compare/0.400.0...0.401.0)

#### New icons 🎨

- `scan-qr-code`
([#&#8203;2247](https://togithub.com/lucide-icons/lucide/issues/2247))
by [@&#8203;vexkiddy](https://togithub.com/vexkiddy)

#### Modified Icons 🔨

- `book-a`
([#&#8203;2274](https://togithub.com/lucide-icons/lucide/issues/2274))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `book-audio`
([#&#8203;2274](https://togithub.com/lucide-icons/lucide/issues/2274))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `book-check`
([#&#8203;2274](https://togithub.com/lucide-icons/lucide/issues/2274))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `book-copy`
([#&#8203;2274](https://togithub.com/lucide-icons/lucide/issues/2274))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `book-dashed`
([#&#8203;2274](https://togithub.com/lucide-icons/lucide/issues/2274))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `book-down`
([#&#8203;2274](https://togithub.com/lucide-icons/lucide/issues/2274))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `book-headphones`
([#&#8203;2274](https://togithub.com/lucide-icons/lucide/issues/2274))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `book-heart`
([#&#8203;2274](https://togithub.com/lucide-icons/lucide/issues/2274))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `book-image`
([#&#8203;2274](https://togithub.com/lucide-icons/lucide/issues/2274))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `book-key`
([#&#8203;2274](https://togithub.com/lucide-icons/lucide/issues/2274))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `book-lock`
([#&#8203;2274](https://togithub.com/lucide-icons/lucide/issues/2274))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `book-marked`
([#&#8203;2274](https://togithub.com/lucide-icons/lucide/issues/2274))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `book-minus`
([#&#8203;2274](https://togithub.com/lucide-icons/lucide/issues/2274))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `book-plus`
([#&#8203;2274](https://togithub.com/lucide-icons/lucide/issues/2274))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `book-text`
([#&#8203;2274](https://togithub.com/lucide-icons/lucide/issues/2274))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `book-type`
([#&#8203;2274](https://togithub.com/lucide-icons/lucide/issues/2274))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `book-up-2`
([#&#8203;2274](https://togithub.com/lucide-icons/lucide/issues/2274))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `book-up`
([#&#8203;2274](https://togithub.com/lucide-icons/lucide/issues/2274))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `book-user`
([#&#8203;2274](https://togithub.com/lucide-icons/lucide/issues/2274))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `book-x`
([#&#8203;2274](https://togithub.com/lucide-icons/lucide/issues/2274))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `book`
([#&#8203;2274](https://togithub.com/lucide-icons/lucide/issues/2274))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `circle-power`
([#&#8203;2285](https://togithub.com/lucide-icons/lucide/issues/2285))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `key-round`
([#&#8203;2278](https://togithub.com/lucide-icons/lucide/issues/2278))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `octagon-alert`
([#&#8203;2280](https://togithub.com/lucide-icons/lucide/issues/2280))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `octagon-pause`
([#&#8203;2280](https://togithub.com/lucide-icons/lucide/issues/2280))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `octagon-x`
([#&#8203;2280](https://togithub.com/lucide-icons/lucide/issues/2280))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `octagon`
([#&#8203;2280](https://togithub.com/lucide-icons/lucide/issues/2280))
by [@&#8203;jguddas](https://togithub.com/jguddas)
- `signature`
([#&#8203;2293](https://togithub.com/lucide-icons/lucide/issues/2293))
by [@&#8203;karsa-mistmere](https://togithub.com/karsa-mistmere)
- `square-power`
([#&#8203;2285](https://togithub.com/lucide-icons/lucide/issues/2285))
by [@&#8203;jguddas](https://togithub.com/jguddas)

</details>

<details>
<summary>dcastil/tailwind-merge (tailwind-merge)</summary>

###
[`v2.4.0`](https://togithub.com/dcastil/tailwind-merge/releases/tag/v2.4.0)

[Compare
Source](https://togithub.com/dcastil/tailwind-merge/compare/v2.3.0...v2.4.0)

##### New Features

- Allow hooking into class parsing logic (experimental) by
[@&#8203;dcastil](https://togithub.com/dcastil) in
[https://github.com/dcastil/tailwind-merge/pull/444](https://togithub.com/dcastil/tailwind-merge/pull/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](https://togithub.com/dcastil/tailwind-merge/pull/444/files#diff-b8b77f5be18cf56dca425b3a5b8e9d2e754dd37fe0e3612b95cd4e9bccda08a5)
and subscribe to
[https://github.com/dcastil/tailwind-merge/issues/385](https://togithub.com/dcastil/tailwind-merge/issues/385)
for upcoming more powerful low-level functionality.
- Create security policy by
[@&#8203;dcastil](https://togithub.com/dcastil) in
[https://github.com/dcastil/tailwind-merge/pull/439](https://togithub.com/dcastil/tailwind-merge/pull/439)
    -   Added documentation on how to report potential vulnerabilities
- Avoid `@babel/runtime` dependency by
[@&#8203;dcastil](https://togithub.com/dcastil) in
[https://github.com/dcastil/tailwind-merge/pull/431](https://togithub.com/dcastil/tailwind-merge/pull/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

- Comment/typo fixes by [@&#8203;barvian](https://togithub.com/barvian)
in
[https://github.com/dcastil/tailwind-merge/pull/443](https://togithub.com/dcastil/tailwind-merge/pull/443)
- Fix typo in doc/recipes.md by
[@&#8203;dsernst](https://togithub.com/dsernst) in
[https://github.com/dcastil/tailwind-merge/pull/428](https://togithub.com/dcastil/tailwind-merge/pull/428)
- docs: add tailwind-merge-dotnet to similar packages by
[@&#8203;desmondinho](https://togithub.com/desmondinho) in
[https://github.com/dcastil/tailwind-merge/pull/415](https://togithub.com/dcastil/tailwind-merge/pull/415)

##### Other

- Added GitHub Action that adds context-v2 label to every issue,
discussion and PR by
[@&#8203;Pritam1211](https://togithub.com/Pritam1211) in
[https://github.com/dcastil/tailwind-merge/pull/434](https://togithub.com/dcastil/tailwind-merge/pull/434)
- Replace size-limit action with own metrics-report action by
[@&#8203;dcastil](https://togithub.com/dcastil) in
[https://github.com/dcastil/tailwind-merge/pull/433](https://togithub.com/dcastil/tailwind-merge/pull/433)

**Full Changelog**:
dcastil/tailwind-merge@v2.3.0...v2.4.0

Thanks to
[@&#8203;brandonmcconnell](https://togithub.com/brandonmcconnell),
[@&#8203;manavm1990](https://togithub.com/manavm1990),
[@&#8203;langy](https://togithub.com/langy),
[@&#8203;jamesreaco](https://togithub.com/jamesreaco) and
[@&#8203;microsoft](https://togithub.com/microsoft) for sponsoring
tailwind-merge! ❤️

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/fi-krish/study-web3).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjEuOSIsInVwZGF0ZWRJblZlciI6IjM3LjQyMS45IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
diegohaz referenced this issue in ariakit/ariakit Jul 17, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [tailwind-merge](https://togithub.com/dcastil/tailwind-merge) |
[`2.3.0` ->
`2.4.0`](https://renovatebot.com/diffs/npm/tailwind-merge/2.3.0/2.4.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/tailwind-merge/2.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/tailwind-merge/2.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/tailwind-merge/2.3.0/2.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/tailwind-merge/2.3.0/2.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>dcastil/tailwind-merge (tailwind-merge)</summary>

###
[`v2.4.0`](https://togithub.com/dcastil/tailwind-merge/releases/tag/v2.4.0)

[Compare
Source](https://togithub.com/dcastil/tailwind-merge/compare/v2.3.0...v2.4.0)

##### New Features

- Allow hooking into class parsing logic (experimental) by
[@&#8203;dcastil](https://togithub.com/dcastil) in
[https://github.com/dcastil/tailwind-merge/pull/444](https://togithub.com/dcastil/tailwind-merge/pull/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](https://togithub.com/dcastil/tailwind-merge/pull/444/files#diff-b8b77f5be18cf56dca425b3a5b8e9d2e754dd37fe0e3612b95cd4e9bccda08a5)
and subscribe to
[https://github.com/dcastil/tailwind-merge/issues/385](https://togithub.com/dcastil/tailwind-merge/issues/385)
for upcoming more powerful low-level functionality.
- Create security policy by
[@&#8203;dcastil](https://togithub.com/dcastil) in
[https://github.com/dcastil/tailwind-merge/pull/439](https://togithub.com/dcastil/tailwind-merge/pull/439)
    -   Added documentation on how to report potential vulnerabilities
- Avoid `@babel/runtime` dependency by
[@&#8203;dcastil](https://togithub.com/dcastil) in
[https://github.com/dcastil/tailwind-merge/pull/431](https://togithub.com/dcastil/tailwind-merge/pull/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

- Comment/typo fixes by [@&#8203;barvian](https://togithub.com/barvian)
in
[https://github.com/dcastil/tailwind-merge/pull/443](https://togithub.com/dcastil/tailwind-merge/pull/443)
- Fix typo in doc/recipes.md by
[@&#8203;dsernst](https://togithub.com/dsernst) in
[https://github.com/dcastil/tailwind-merge/pull/428](https://togithub.com/dcastil/tailwind-merge/pull/428)
- docs: add tailwind-merge-dotnet to similar packages by
[@&#8203;desmondinho](https://togithub.com/desmondinho) in
[https://github.com/dcastil/tailwind-merge/pull/415](https://togithub.com/dcastil/tailwind-merge/pull/415)

##### Other

- Added GitHub Action that adds context-v2 label to every issue,
discussion and PR by
[@&#8203;Pritam1211](https://togithub.com/Pritam1211) in
[https://github.com/dcastil/tailwind-merge/pull/434](https://togithub.com/dcastil/tailwind-merge/pull/434)
- Replace size-limit action with own metrics-report action by
[@&#8203;dcastil](https://togithub.com/dcastil) in
[https://github.com/dcastil/tailwind-merge/pull/433](https://togithub.com/dcastil/tailwind-merge/pull/433)

**Full Changelog**:
dcastil/tailwind-merge@v2.3.0...v2.4.0

Thanks to
[@&#8203;brandonmcconnell](https://togithub.com/brandonmcconnell),
[@&#8203;manavm1990](https://togithub.com/manavm1990),
[@&#8203;langy](https://togithub.com/langy),
[@&#8203;jamesreaco](https://togithub.com/jamesreaco) and
[@&#8203;microsoft](https://togithub.com/microsoft) for sponsoring
tailwind-merge! ❤️

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/ariakit/ariakit).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjEuOSIsInVwZGF0ZWRJblZlciI6IjM3LjQyMS45IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@dcastil dcastil added feature Is new feature and removed feature request labels Oct 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
context-v2 Related to tailwind-merge v2 feature Is new feature
Projects
None yet
Development

No branches or pull requests

1 participant