Skip to content

Update dependency clsx to v2#82

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/clsx-2.x
Open

Update dependency clsx to v2#82
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/clsx-2.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Nov 18, 2023

This PR contains the following updates:

Package Change Age Confidence
clsx ^1.2.1^2.0.0 age 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

v2.0.0

Compare Source

Breaking
  • Add "exports" map for native ESM support (#​57): 3ec8e9f, 0949868
    Also supports TypeScript's node16/nodenext module resolution
    Maintains CommonJS support (with fixed TS definitions)
    Thank you @​remcohaszing~!
Chores

Full Changelog: lukeed/clsx@v1.2.1...v2.0.0


Configuration

📅 Schedule: (UTC)

  • 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot force-pushed the renovate/clsx-2.x branch from 4ff3c70 to c0ff025 Compare December 17, 2023 11:48
@renovate renovate Bot mentioned this pull request Apr 11, 2024
1 task
@renovate renovate Bot changed the title Update dependency clsx to v2 Update dependency clsx to v2 - autoclosed Dec 8, 2024
@renovate renovate Bot closed this Dec 8, 2024
@renovate renovate Bot deleted the renovate/clsx-2.x branch December 8, 2024 18:37
@renovate renovate Bot changed the title Update dependency clsx to v2 - autoclosed Update dependency clsx to v2 Dec 9, 2024
@renovate renovate Bot reopened this Dec 9, 2024
@renovate renovate Bot force-pushed the renovate/clsx-2.x branch from 35d0748 to c0ff025 Compare December 9, 2024 13:10
@vercel
Copy link
Copy Markdown

vercel Bot commented Dec 9, 2024

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
homecooked Error Error Jan 19, 2026 6:04pm

@renovate renovate Bot changed the title Update dependency clsx to v2 fix(deps): update dependency clsx to v2 Jul 26, 2025
@renovate renovate Bot force-pushed the renovate/clsx-2.x branch from c0ff025 to c51ee71 Compare August 10, 2025 13:01
@renovate renovate Bot mentioned this pull request Oct 1, 2025
1 task
@renovate renovate Bot mentioned this pull request Dec 11, 2025
1 task
@renovate renovate Bot force-pushed the renovate/clsx-2.x branch from c51ee71 to 73d7f9f Compare January 19, 2026 18:04
@renovate renovate Bot changed the title fix(deps): update dependency clsx to v2 Update dependency clsx to v2 Apr 8, 2026
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.

0 participants