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

chore(deps): update dependency clsx to v2.1.1 #1509

Merged
merged 1 commit into from
May 22, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 12, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
clsx 2.0.0 -> 2.1.1 age adoption passing confidence

Release Notes

lukeed/clsx (clsx)

v2.1.1

Compare Source

Patches

Chores

  • Add licenses.dev badge: 684509c
    This service recursively analyzes entire dependency graphs to ensure that a package (or your project) is using permissive licenses. For example, here's a results table for polka@next and a larger astro example.

Full Changelog: lukeed/clsx@v2.1.0...v2.1.1

v2.1.0

Compare Source

Features

  • Add new clsx/lite submodule for string-only usage: 1a49142

    This is a 140b version of clsx that is ideal for Tailwind and/or React contexts, which typically follow this clsx usage pattern:

    clsx('foo bar', props.maybe && 'conditional classes', props.className);

    Important: This clsx/lite module ignores all non-string arguments and is therefore not a 1:1 replacement for clsx itself!

    import { clsx } from 'clsx';
    import { clsx as lite } from 'clsx/lite';
    
    // strings-only usage is identical
    clsx('foo', null, 'bar', true && 'baz'); //=> "foo bar baz"
    lite('foo', null, 'bar', true && 'baz'); //=> "foo bar baz"
    
    // clsx/lite ignores all non-strings
    clsx('foo', { a: true, b: false, c: true }); //=> "foo a c"
    lite('foo', { a: true, b: false, c: true }); //=> "foo"

Full Changelog: lukeed/clsx@v2.0.1...v2.1.0

v2.0.1

Compare Source

Patches

  • (perf) Cache arguments.length & array.length for 6% performance gain (#​26): deff09b
    Adds 5 bytes (+2%) for ~3% avg performance gain
    Thank you @​jalalazimi

Chores


Full Changelog: lukeed/clsx@v2.0.0...v2.0.1


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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate-clsx-2.x branch 5 times, most recently from 8d0dbe8 to 59904c1 Compare March 19, 2024 14:37
@renovate renovate bot force-pushed the renovate-clsx-2.x branch 7 times, most recently from 9d9adbf to e7d293e Compare April 5, 2024 11:17
@renovate renovate bot force-pushed the renovate-clsx-2.x branch 8 times, most recently from f717d75 to 5bd34b1 Compare April 12, 2024 12:40
@renovate renovate bot force-pushed the renovate-clsx-2.x branch 2 times, most recently from 23ff21a to 4a8aca0 Compare April 19, 2024 11:12
@renovate renovate bot changed the title chore(deps): update dependency clsx to v2.1.0 chore(deps): update dependency clsx to v2.1.1 Apr 23, 2024
@renovate renovate bot force-pushed the renovate-clsx-2.x branch 4 times, most recently from 540652e to 64f3c5d Compare April 25, 2024 12:15
@renovate renovate bot force-pushed the renovate-clsx-2.x branch 3 times, most recently from a98f00b to 5cfe96b Compare May 1, 2024 21:04
@renovate renovate bot force-pushed the renovate-clsx-2.x branch 3 times, most recently from 5da4f1d to 3f5e118 Compare May 15, 2024 15:12
@renovate renovate bot force-pushed the renovate-clsx-2.x branch 5 times, most recently from c22fca0 to 31d54a2 Compare May 22, 2024 10:35
@nikitayutanov nikitayutanov merged commit 48c5397 into main May 22, 2024
5 checks passed
@nikitayutanov nikitayutanov deleted the renovate-clsx-2.x branch May 22, 2024 13:17
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.

1 participant