Open johnrk opened 10 months ago
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.
This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade clsx from 2.0.0 to 2.1.0.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.- The recommended version is **2 versions** ahead of your current version. - The recommended version was released **21 days ago**, on 2023-12-29.
Release notes
Package name: clsx
Features
Add new
clsx/lite
submodule forstring
-only usage: 1a49142This is a 140b version of
clsx
that is ideal for Tailwind and/or React contexts, which typically follow thisclsx
usage pattern:Patches
arguments.length
&array.length
for 6% performance gain (#26): deff09bAdds 5 bytes (+2%) for ~3% avg performance gain
Thank you @ jalalazimi
Chores
nyc
withc8
in CI: 6e2468eThank you @ andipaetzold and @ acusti
Breaking
"exports"
map for native ESM support (#57): 3ec8e9f, 0949868Also supports TypeScript's
node16
/nodenext
module resolutionMaintains CommonJS support (with fixed TS definitions)
Thank you @ remcohaszing~!
Chores
Thank you @ kevinlowe0x3F7 & @ kevinlowe0x3F7
Commit messages
Package name: clsx
**Note:** *You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.* For more information: đ§ [View latest project report](https://app.snyk.io/org/snyk-apprisk-essentials-closed-beta-demo-group/project/29692ddc-aaab-4a75-a770-4df841cc1185?utm_source=github&utm_medium=referral&page=upgrade-pr) đ [Adjust upgrade PR settings](https://app.snyk.io/org/snyk-apprisk-essentials-closed-beta-demo-group/project/29692ddc-aaab-4a75-a770-4df841cc1185/settings/integration?utm_source=github&utm_medium=referral&page=upgrade-pr) đ [Ignore this dependency or unsubscribe from future upgrade PRs](https://app.snyk.io/org/snyk-apprisk-essentials-closed-beta-demo-group/project/29692ddc-aaab-4a75-a770-4df841cc1185/settings/integration?pkg=clsx&utm_source=github&utm_medium=referral&page=upgrade-pr#auto-dep-upgrades)