Update dependency clsx to v2.1.1 #59

Offen
renovate-bot möchte 1 Commit von renovate/clsx-2.x-lockfile nach main zusammengeführen
Mitglied

This PR contains the following updates:

Package Type Update Change
clsx dependencies minor 2.0.0 -> 2.1.1

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: https://github.com/lukeed/clsx/compare/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: https://github.com/lukeed/clsx/compare/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: https://github.com/lukeed/clsx/compare/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 Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [clsx](https://github.com/lukeed/clsx) | dependencies | minor | [`2.0.0` -> `2.1.1`](https://renovatebot.com/diffs/npm/clsx/2.0.0/2.1.1) | --- ### Release Notes <details> <summary>lukeed/clsx (clsx)</summary> ### [`v2.1.1`](https://github.com/lukeed/clsx/releases/tag/v2.1.1) [Compare Source](https://github.com/lukeed/clsx/compare/v2.1.0...v2.1.1) #### Patches - (types) Include `bigint` in `ClassValue` type: ([#&#8203;96](https://github.com/lukeed/clsx/issues/96)): [`3d960ab`](https://github.com/lukeed/clsx/commit/3d960ab) *Accommodates recent `@types/react` changes to `ReactNode`.* *Thank you [@&#8203;ViliamKopecky](https://github.com/ViliamKopecky)~!* #### Chores - Add [`licenses.dev`](https://licenses.dev) badge: [`684509c`](https://github.com/lukeed/clsx/commit/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`](https://licenses.dev/npm/polka/1.0.0-next.24) and a larger [`astro`](https://licenses.dev/npm/astro) example.* *** > **Full Changelog**: https://github.com/lukeed/clsx/compare/v2.1.0...v2.1.1 ### [`v2.1.0`](https://github.com/lukeed/clsx/releases/tag/v2.1.0) [Compare Source](https://github.com/lukeed/clsx/compare/v2.0.1...v2.1.0) #### Features - Add new `clsx/lite` submodule for `string`-only usage: [`1a49142`](https://github.com/lukeed/clsx/commit/1a49142) *This is a **140b** version of `clsx` that is ideal for Tailwind and/or React contexts, which typically follow this `clsx` usage pattern:* ```js 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! ```js 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**: https://github.com/lukeed/clsx/compare/v2.0.1...v2.1.0 ### [`v2.0.1`](https://github.com/lukeed/clsx/releases/tag/v2.0.1) [Compare Source](https://github.com/lukeed/clsx/compare/v2.0.0...v2.0.1) #### Patches - (perf) Cache `arguments.length` & `array.length` for 6% performance gain ([#&#8203;26](https://github.com/lukeed/clsx/issues/26)): [`deff09b`](https://github.com/lukeed/clsx/commit/deff09b) *Adds 5 bytes (+2%) for ~3% avg performance gain* *Thank you [@&#8203;jalalazimi](https://github.com/jalalazimi)* #### Chores - Update module size: [`bf64e71`](https://github.com/lukeed/clsx/commit/bf64e71) - Update benchmark results: [`855eec2`](https://github.com/lukeed/clsx/commit/855eec2), [`6e3b2b9`](https://github.com/lukeed/clsx/commit/6e3b2b9), - Replace `nyc` with `c8` in CI: [`6e2468e`](https://github.com/lukeed/clsx/commit/6e2468e) - Update Node CI matrix: [`308a238`](https://github.com/lukeed/clsx/commit/308a238) - Fix readme typos ([#&#8203;76](https://github.com/lukeed/clsx/issues/76), [#&#8203;82](https://github.com/lukeed/clsx/issues/82)): [`42354d3`](https://github.com/lukeed/clsx/commit/42354d3), [`4c9a55d`](https://github.com/lukeed/clsx/commit/4c9a55d) *Thank you [@&#8203;andipaetzold](https://github.com/andipaetzold) and [@&#8203;acusti](https://github.com/acusti)* *** > **Full Changelog**: https://github.com/lukeed/clsx/compare/v2.0.0...v2.0.1 </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 has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMTEuMSIsInVwZGF0ZWRJblZlciI6IjM3LjMxOS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
renovate-bot hat 1 Commit 2023-12-29 20:51:42 +01:00 hinzugefügt
Alle Prüfungen waren erfolgreich
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
a421ccce0d
Update dependency clsx to v2.0.1
renovate-bot hat 2023-12-29 21:51:49 +01:00 renovate/clsx-2.x-lockfile von a421ccce0d zu cced2a6df0 force-gepusht Vergleichen
renovate-bot hat den Titel von Update dependency clsx to v2.0.1 zu Update dependency clsx to v2.1.0 2023-12-29 21:51:49 +01:00 geändert
renovate-bot hat 2024-01-08 07:26:47 +01:00 renovate/clsx-2.x-lockfile von cced2a6df0 zu 3e9d199dbc force-gepusht Vergleichen
renovate-bot hat 2024-01-08 07:50:58 +01:00 renovate/clsx-2.x-lockfile von 3e9d199dbc zu e1d0b43ed2 force-gepusht Vergleichen
renovate-bot hat 2024-01-26 15:50:44 +01:00 renovate/clsx-2.x-lockfile von e1d0b43ed2 zu f183a2ad68 force-gepusht Vergleichen
renovate-bot hat 2024-03-30 21:51:06 +01:00 renovate/clsx-2.x-lockfile von f183a2ad68 zu 1464670d5f force-gepusht Vergleichen
renovate-bot hat 2024-04-23 07:50:54 +02:00 renovate/clsx-2.x-lockfile von 1464670d5f zu c11c428387 force-gepusht Vergleichen
renovate-bot hat den Titel von Update dependency clsx to v2.1.0 zu Update dependency clsx to v2.1.1 2024-04-23 07:50:54 +02:00 geändert
Dieser Pull-Request kann automatisch zusammengeführt werden.
Du bist nicht berechtigt, diesen Pull-Request zusammenzuführen.

Auschecken

Checke einen neuen Branch aus deinem Projekt-Repository aus und teste die Änderungen.
git fetch -u origin renovate/clsx-2.x-lockfile:renovate/clsx-2.x-lockfile
git checkout renovate/clsx-2.x-lockfile

Zusammenführen

Die Änderungen zusammenführen und auf Forgejo aktualisieren.
git checkout main
git merge --no-ff renovate/clsx-2.x-lockfile
git checkout main
git merge --ff-only renovate/clsx-2.x-lockfile
git checkout renovate/clsx-2.x-lockfile
git rebase main
git checkout main
git merge --no-ff renovate/clsx-2.x-lockfile
git checkout main
git merge --squash renovate/clsx-2.x-lockfile
git checkout main
git merge --ff-only renovate/clsx-2.x-lockfile
git checkout main
git merge renovate/clsx-2.x-lockfile
git push origin main
Anmelden, um an der Diskussion teilzunehmen.
Keine Reviewer
Kein Meilenstein
Kein Projekt
Niemand zuständig
1 Beteiligter
Nachrichten
Fällig am
Das Fälligkeitsdatum ist ungültig oder außerhalb des zulässigen Bereichs. Bitte verwende das Format „jjjj-mm-tt“.

Kein Fälligkeitsdatum gesetzt.

Abhängigkeiten

Keine Abhängigkeiten gesetzt.

Referenz: nick-slowinski.de/docs#59
Keine Beschreibung angegeben.