kyechan99 / kyechan99.github.io

😀 Thank you for visiting.
https://kyechan99.github.io/
6 stars 1 forks source link

fix(deps): update dependency clsx to v2.1.0 #36

Closed renovate[bot] closed 8 months ago

renovate[bot] commented 8 months ago

Mend Renovate

This PR contains the following updates:

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

Release Notes

lukeed/clsx (clsx) ### [`v2.1.0`](https://togithub.com/lukeed/clsx/releases/tag/v2.1.0) [Compare Source](https://togithub.com/lukeed/clsx/compare/v2.0.1...v2.1.0) #### Features - Add new `clsx/lite` submodule for `string`-only usage: [`1a49142`](https://togithub.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://togithub.com/lukeed/clsx/releases/tag/v2.0.1) [Compare Source](https://togithub.com/lukeed/clsx/compare/v2.0.0...v2.0.1) #### Patches - (perf) Cache `arguments.length` & `array.length` for 6% performance gain ([#​26](https://togithub.com/lukeed/clsx/issues/26)): [`deff09b`](https://togithub.com/lukeed/clsx/commit/deff09b) *Adds 5 bytes (+2%) for ~3% avg performance gain* *Thank you [@​jalalazimi](https://togithub.com/jalalazimi)* #### Chores - Update module size: [`bf64e71`](https://togithub.com/lukeed/clsx/commit/bf64e71) - Update benchmark results: [`855eec2`](https://togithub.com/lukeed/clsx/commit/855eec2), [`6e3b2b9`](https://togithub.com/lukeed/clsx/commit/6e3b2b9), - Replace `nyc` with `c8` in CI: [`6e2468e`](https://togithub.com/lukeed/clsx/commit/6e2468e) - Update Node CI matrix: [`308a238`](https://togithub.com/lukeed/clsx/commit/308a238) - Fix readme typos ([#​76](https://togithub.com/lukeed/clsx/issues/76), [#​82](https://togithub.com/lukeed/clsx/issues/82)): [`42354d3`](https://togithub.com/lukeed/clsx/commit/42354d3), [`4c9a55d`](https://togithub.com/lukeed/clsx/commit/4c9a55d) *Thank you [@​andipaetzold](https://togithub.com/andipaetzold) and [@​acusti](https://togithub.com/acusti)* *** > **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.



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