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

fix(deps): update dependency clsx to v2 #171

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 20, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
clsx 1.2.1 -> 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

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 - 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.

Copy link

codecov bot commented Nov 20, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.13%. Comparing base (9c1d51e) to head (1db0e68).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #171      +/-   ##
===========================================
- Coverage    80.14%   80.13%   -0.01%     
===========================================
  Files          109      109              
  Lines        14835    14835              
  Branches      2360     2361       +1     
===========================================
- Hits         11889    11888       -1     
  Misses         635      635              
- Partials      2311     2312       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot force-pushed the renovate/clsx-2.x-lockfile branch from 31a651b to 73f9f2f Compare November 20, 2023 12:52
@renovate renovate bot force-pushed the renovate/clsx-2.x-lockfile branch from 73f9f2f to 17e4908 Compare December 3, 2023 12:07
@renovate renovate bot force-pushed the renovate/clsx-2.x-lockfile branch 2 times, most recently from aef8ec8 to c405ddc Compare December 29, 2023 20:00
@renovate renovate bot force-pushed the renovate/clsx-2.x-lockfile branch from c405ddc to dc34fe0 Compare January 15, 2024 14:22
@renovate renovate bot force-pushed the renovate/clsx-2.x-lockfile branch 2 times, most recently from b6a4668 to af7a20e Compare February 4, 2024 09:54
@renovate renovate bot force-pushed the renovate/clsx-2.x-lockfile branch from af7a20e to 21c9bd2 Compare March 12, 2024 12:12
@renovate renovate bot force-pushed the renovate/clsx-2.x-lockfile branch from 21c9bd2 to 30e619b Compare March 20, 2024 14:27
@renovate renovate bot force-pushed the renovate/clsx-2.x-lockfile branch from 30e619b to 1c30788 Compare April 14, 2024 11:32
@renovate renovate bot force-pushed the renovate/clsx-2.x-lockfile branch 2 times, most recently from 64a300a to 200eb3c Compare April 25, 2024 08:17
@renovate renovate bot force-pushed the renovate/clsx-2.x-lockfile branch 3 times, most recently from 5085bde to 17ea14b Compare May 4, 2024 09:04
@renovate renovate bot force-pushed the renovate/clsx-2.x-lockfile branch from 17ea14b to 1db0e68 Compare June 4, 2024 11:01
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.

None yet

0 participants