This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade clsx from 2.1.0 to 2.1.1.
: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 **1 version** ahead of your current version.
- The recommended version was released **23 days ago**, on 2024-04-23.
Release notes Package name: clsx
(types) Include bigint in ClassValue type: (#96): 3d960ab Accommodates recent @ types/react changes to ReactNode. Thank you @ ViliamKopecky~!
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.
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{clsxaslite}from'clsx/lite';// strings-only usage is identicalclsx('foo',null,'bar',true&&'baz');//=> "foo bar baz"lite('foo',null,'bar',true&&'baz');//=> "foo bar baz"// clsx/lite ignores all non-stringsclsx('foo',{a: true,b: false,c: true});//=> "foo a c"lite('foo',{a: true,b: false,c: true});//=> "foo"
Compare
**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/origranot/project/f1a8fa02-02b0-4be1-bcc9-47683e972445?utm_source=github&utm_medium=referral&page=upgrade-pr)
🛠 [Adjust upgrade PR settings](https://app.snyk.io/org/origranot/project/f1a8fa02-02b0-4be1-bcc9-47683e972445/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/origranot/project/f1a8fa02-02b0-4be1-bcc9-47683e972445/settings/integration?pkg=clsx&utm_source=github&utm_medium=referral&page=upgrade-pr#auto-dep-upgrades)
This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade clsx from 2.1.0 to 2.1.1.
: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 **1 version** ahead of your current version. - The recommended version was released **23 days ago**, on 2024-04-23.
Release notes
Package name: clsx
Patches
bigint
inClassValue
type: (#96): 3d960abAccommodates recent
@ types/react
changes toReactNode
.Thank you @ ViliamKopecky~!
Chores
licenses.dev
badge: 684509cThis 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 largerastro
example.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: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/origranot/project/f1a8fa02-02b0-4be1-bcc9-47683e972445?utm_source=github&utm_medium=referral&page=upgrade-pr) 🛠 [Adjust upgrade PR settings](https://app.snyk.io/org/origranot/project/f1a8fa02-02b0-4be1-bcc9-47683e972445/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/origranot/project/f1a8fa02-02b0-4be1-bcc9-47683e972445/settings/integration?pkg=clsx&utm_source=github&utm_medium=referral&page=upgrade-pr#auto-dep-upgrades)