Skip to content

fix(deps): update dependency clsx to version 2.x 🌟#1504

Open
renovate[bot] wants to merge 1 commit intodevelopfrom
renovate/major-misc-fe-libs
Open

fix(deps): update dependency clsx to version 2.x 🌟#1504
renovate[bot] wants to merge 1 commit intodevelopfrom
renovate/major-misc-fe-libs

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Feb 4, 2024

This PR contains the following updates:

Package Change Age Confidence
clsx 1.2.12.1.1 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: Branch creation - "before 3am on the first day of the month" in timezone America/New_York, 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.


Note

Low Risk
Low-risk dependency bump limited to clsx, with potential minor build/runtime risk if any direct imports rely on v1 packaging/exports semantics.

Overview
Updates the clsx dependency from 1.2.1 to 2.1.1 in package.json and refreshes yarn.lock to resolve the new version (while retaining a v1 lock entry for other transitive ranges).

Written by Cursor Bugbot for commit 0e33e3c. This will update automatically on new commits. Configure here.

@cypress-app-bot
Copy link
Copy Markdown

See the guidelines for reviewing dependency updates for info on how to review dependency update PRs.

@cypress
Copy link
Copy Markdown

cypress bot commented Feb 4, 2024

cypress-realworld-app    Run #6765

Run Properties:  status check passed Passed #6765  •  git commit 0e33e3cea6: fix(deps): update clsx to 2.1.1 🌟
Project cypress-realworld-app
Branch Review renovate/major-misc-fe-libs
Run status status check passed Passed #6765
Run duration 09m 38s
Commit git commit 0e33e3cea6: fix(deps): update clsx to 2.1.1 🌟
Committer renovate[bot]
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 396
View all changes introduced in this branch ↗︎
UI Coverage  83.87%
  Untested elements 10  
  Tested elements 42  
Accessibility  91.64%
  Failed rules  4 critical   7 serious   2 moderate   1 minor
  Failed elements 225  

@renovate renovate bot force-pushed the renovate/major-misc-fe-libs branch from 9655801 to 03ec8d8 Compare June 1, 2024 05:04
@renovate renovate bot force-pushed the renovate/major-misc-fe-libs branch from 03ec8d8 to 5db3bb6 Compare July 1, 2024 04:40
@renovate renovate bot force-pushed the renovate/major-misc-fe-libs branch from 5db3bb6 to 6831c2f Compare August 1, 2024 06:49
@renovate renovate bot force-pushed the renovate/major-misc-fe-libs branch from 6831c2f to 5a03c65 Compare October 1, 2024 06:28
@renovate renovate bot force-pushed the renovate/major-misc-fe-libs branch from 5a03c65 to 14ac4f6 Compare December 1, 2024 06:42
@renovate renovate bot force-pushed the renovate/major-misc-fe-libs branch from 14ac4f6 to 468dd9a Compare March 1, 2025 06:16
@renovate renovate bot force-pushed the renovate/major-misc-fe-libs branch from 468dd9a to c612490 Compare April 1, 2025 06:57
@renovate renovate bot changed the title fix(deps): update dependency axios to version 1.x 🌟 (major) fix(deps): update dependency clsx to version 2.x 🌟 (major) Apr 1, 2025
@renovate renovate bot changed the title fix(deps): update dependency clsx to version 2.x 🌟 (major) fix(deps): update dependency clsx to version 2.x 🌟 Jun 1, 2025
@renovate renovate bot force-pushed the renovate/major-misc-fe-libs branch from c612490 to 14c92a2 Compare June 1, 2025 05:32
@renovate renovate bot force-pushed the renovate/major-misc-fe-libs branch from 14c92a2 to 6cbabec Compare August 1, 2025 04:52
@renovate renovate bot force-pushed the renovate/major-misc-fe-libs branch from 6cbabec to eeddda8 Compare November 1, 2025 04:57
@renovate renovate bot force-pushed the renovate/major-misc-fe-libs branch from eeddda8 to 911c7d2 Compare January 1, 2026 05:04
@renovate renovate bot force-pushed the renovate/major-misc-fe-libs branch from 911c7d2 to 0e33e3c Compare April 1, 2026 04:35
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