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
### [`v1.2.1`](https://togithub.com/lukeed/clsx/releases/tag/v1.2.1)
[Compare Source](https://togithub.com/lukeed/clsx/compare/v1.2.0...v1.2.1)
##### Patches
- Ensure CommonJS and UMD entrypoints have the named `clsx` export too
##### Chores
- Build CJS & UMD files manually ([#50](https://togithub.com/lukeed/clsx/issues/50)): [`3712966`](https://togithub.com/lukeed/clsx/commit/3712966), [`2114f5b`](https://togithub.com/lukeed/clsx/commit/2114f5b)
***
> **Full Changelog**: https://github.com/lukeed/clsx/compare/v1.2.0...v1.2.1
### [`v1.2.0`](https://togithub.com/lukeed/clsx/releases/tag/v1.2.0)
[Compare Source](https://togithub.com/lukeed/clsx/compare/v1.1.1...v1.2.0)
#### Features
- Add named `clsx` export alias ([#43](https://togithub.com/lukeed/clsx/issues/43), [#44](https://togithub.com/lukeed/clsx/issues/44)): [`56ab81f`](https://togithub.com/lukeed/clsx/commit/56ab81f)
*Thank you [@danikaze](https://togithub.com/danikaze)~!*
This is purely an alias for the default export so that TypeScript users can avoid the `esModuleInterop` setting. In other words, the follow `import` statements are effectively identical, but the latter is preferred by TypeScript:
```js
import clsx from 'clsx';
// or
import { clsx } from 'clsx';
```
> **Important:** Just to reiterate, both still work!
#### Chores
- Migrate from `tape` to [`uvu`](https://togithub.com/lukeed/uvu) for tests: [`1c36d10`](https://togithub.com/lukeed/clsx/commit/1c36d10)
- Add Node 14 and Node 16 to CI test matrix: [`bc4f827`](https://togithub.com/lukeed/clsx/commit/bc4f827)
- Update "string variadic" tests ([#30](https://togithub.com/lukeed/clsx/issues/30)): [`74cefa6`](https://togithub.com/lukeed/clsx/commit/74cefa6)
*Thank you [@gingerrific](https://togithub.com/gingerrific)~!*
- Enable [GitHub Sponsors](https://togithub.com/sponsors/lukeed) button: [`400b848`](https://togithub.com/lukeed/clsx/commit/400b848)
***
> **Full Changelog**: https://github.com/lukeed/clsx/compare/v1.1.1...v1.2.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.
This PR contains the following updates:
^1.1.1
->^2.0.0
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 ### [`v1.2.1`](https://togithub.com/lukeed/clsx/releases/tag/v1.2.1) [Compare Source](https://togithub.com/lukeed/clsx/compare/v1.2.0...v1.2.1) ##### Patches - Ensure CommonJS and UMD entrypoints have the named `clsx` export too ##### Chores - Build CJS & UMD files manually ([#50](https://togithub.com/lukeed/clsx/issues/50)): [`3712966`](https://togithub.com/lukeed/clsx/commit/3712966), [`2114f5b`](https://togithub.com/lukeed/clsx/commit/2114f5b) *** > **Full Changelog**: https://github.com/lukeed/clsx/compare/v1.2.0...v1.2.1 ### [`v1.2.0`](https://togithub.com/lukeed/clsx/releases/tag/v1.2.0) [Compare Source](https://togithub.com/lukeed/clsx/compare/v1.1.1...v1.2.0) #### Features - Add named `clsx` export alias ([#43](https://togithub.com/lukeed/clsx/issues/43), [#44](https://togithub.com/lukeed/clsx/issues/44)): [`56ab81f`](https://togithub.com/lukeed/clsx/commit/56ab81f) *Thank you [@danikaze](https://togithub.com/danikaze)~!*This is purely an alias for the default export so that TypeScript users can avoid the `esModuleInterop` setting. In other words, the follow `import` statements are effectively identical, but the latter is preferred by TypeScript: ```js import clsx from 'clsx'; // or import { clsx } from 'clsx'; ``` > **Important:** Just to reiterate, both still work! #### Chores - Migrate from `tape` to [`uvu`](https://togithub.com/lukeed/uvu) for tests: [`1c36d10`](https://togithub.com/lukeed/clsx/commit/1c36d10) - Add Node 14 and Node 16 to CI test matrix: [`bc4f827`](https://togithub.com/lukeed/clsx/commit/bc4f827) - Update "string variadic" tests ([#30](https://togithub.com/lukeed/clsx/issues/30)): [`74cefa6`](https://togithub.com/lukeed/clsx/commit/74cefa6) *Thank you [@gingerrific](https://togithub.com/gingerrific)~!* - Enable [GitHub Sponsors](https://togithub.com/sponsors/lukeed) button: [`400b848`](https://togithub.com/lukeed/clsx/commit/400b848) *** > **Full Changelog**: https://github.com/lukeed/clsx/compare/v1.1.1...v1.2.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.