reactjs / react-tabs

An accessible and easy tab component for ReactJS.
https://reactcommunity.org/react-tabs/
MIT License
3.1k stars 447 forks source link

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

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

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

Release Notes

lukeed/clsx (clsx) ### [`v2.0.0`](https://togithub.com/lukeed/clsx/releases/tag/v2.0.0) [Compare Source](https://togithub.com/lukeed/clsx/compare/v1.2.1...v2.0.0) #### Breaking - Add `"exports"` map for native ESM support ([#​57](https://togithub.com/lukeed/clsx/issues/57)): [`3ec8e9f`](https://togithub.com/lukeed/clsx/commit/3ec8e9f), [`0949868`](https://togithub.com/lukeed/clsx/commit/0949868) *Also supports TypeScript's `node16`/`nodenext` module resolution* *Maintains CommonJS support (with fixed TS definitions)* *Thank you [@​remcohaszing](https://togithub.com/remcohaszing)~!* #### Chores - Add [Tailwind Support](https://togithub.com/lukeed/clsx#tailwind-support) section to README ([#​65](https://togithub.com/lukeed/clsx/issues/65), [#​68](https://togithub.com/lukeed/clsx/issues/68)): [`496db1d`](https://togithub.com/lukeed/clsx/commit/496db1d), [`4a4eadd`](https://togithub.com/lukeed/clsx/commit/4a4eadd) *Thank you [@​kevinlowe0x3F7](https://togithub.com/kevinlowe0x3F7) & [@​kevinlowe0x3F7](https://togithub.com/kevinlowe0x3F7)* - Add tests for numbers & variadic number arguments: [`c520353`](https://togithub.com/lukeed/clsx/commit/c520353) - Update package module size: [`03e1cf9`](https://togithub.com/lukeed/clsx/commit/03e1cf9) *** > **Full Changelog**: https://github.com/lukeed/clsx/compare/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.



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

github-actions[bot] commented 1 year ago

📊 Package size report   No changes

File Before (Size / Gzip) After (Size / Gzip)
Total (Includes all files) 59.7 kB / 20.8 kB 59.7 kB / -0%↓20.8 kB
Tarball size 12.6 kB -0.03%↓12.6 kB
Unchanged files | File | Size (Size / Gzip) | | ------------------------------------------------------------------------------------------------------------- | -------------------: | | `esm/components/Tab.js` | `1.5 kB` / `629 B` | | `esm/components/TabList.js` | `658 B` / `333 B` | | `esm/components/TabPanel.js` | `975 B` / `456 B` | | `esm/components/Tabs.js` | `2.9 kB` / `1.1 kB` | | `esm/components/UncontrolledTabs.js` | `6.2 kB` / `1.8 kB` | | `esm/helpers/childrenDeepMap.js` | `846 B` / `299 B` | | `esm/helpers/count.js` | `205 B` / `158 B` | | `esm/helpers/elementTypes.js` | `244 B` / `142 B` | | `esm/helpers/propTypes.js` | `2.6 kB` / `927 B` | | `esm/index.js` | `200 B` / `94 B` | | [`index.d.ts`](https://github.com/reactjs/react-tabs/blob/renovate/clsx-2.x/index.d.ts) | `2.0 kB` / `540 B` | | `lib/components/Tab.js` | `2.9 kB` / `1.0 kB` | | `lib/components/TabList.js` | `993 B` / `427 B` | | `lib/components/TabPanel.js` | `1.3 kB` / `553 B` | | `lib/components/Tabs.js` | `4.3 kB` / `1.5 kB` | | `lib/components/UncontrolledTabs.js` | `7.7 kB` / `2.2 kB` | | `lib/helpers/childrenDeepMap.js` | `1.0 kB` / `344 B` | | `lib/helpers/count.js` | `325 B` / `194 B` | | `lib/helpers/elementTypes.js` | `396 B` / `195 B` | | `lib/helpers/propTypes.js` | `2.8 kB` / `980 B` | | `lib/index.js` | `568 B` / `216 B` | | [`LICENSE`](https://github.com/reactjs/react-tabs/blob/renovate/clsx-2.x/LICENSE) | `1.1 kB` / `646 B` | | [`package.json`](https://github.com/reactjs/react-tabs/blob/renovate/clsx-2.x/package.json) | `3.3 kB` / `1.2 kB` | | [`README.md`](https://github.com/reactjs/react-tabs/blob/renovate/clsx-2.x/README.md) | `12.1 kB` / `3.6 kB` | | [`style/react-tabs.css`](https://github.com/reactjs/react-tabs/blob/renovate/clsx-2.x/style/react-tabs.css) | `842 B` / `369 B` | | [`style/react-tabs.less`](https://github.com/reactjs/react-tabs/blob/renovate/clsx-2.x/style/react-tabs.less) | `879 B` / `393 B` | | [`style/react-tabs.scss`](https://github.com/reactjs/react-tabs/blob/renovate/clsx-2.x/style/react-tabs.scss) | `879 B` / `393 B` |

🤖 This report was automatically generated by pkg-size-action

codecov-commenter commented 1 year ago

Codecov Report

Merging #524 (7fb79f2) into main (cedae1f) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #524   +/-   ##
=======================================
  Coverage   99.07%   99.07%           
=======================================
  Files           9        9           
  Lines         323      323           
  Branches      104      104           
=======================================
  Hits          320      320           
  Misses          3        3           
github-actions[bot] commented 1 year ago

:tada: This PR is included in version 6.0.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: