[Snyk] Upgrade clsx from 2.1.0 to 2.1.1
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 22 days ago, on 2024-04-23.
Release notes
Package name: clsx
-
2.1.1 - 2024-04-23
Patches
- (types) Include
bigintinClassValuetype: (#96): 3d960ab
Accommodates recent@ types/reactchanges toReactNode.
Thank you @ ViliamKopecky~!
Chores
- Add
licenses.devbadge: 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 forpolka@nextand a largerastroexample.
Full Changelog: v2.1.0...v2.1.1
- (types) Include
-
2.1.0 - 2023-12-29
Features
-
Add new
clsx/litesubmodule forstring-only usage: 1a49142This is a 140b version of
clsxthat is ideal for Tailwind and/or React contexts, which typically follow thisclsxusage pattern:clsx('foo bar', props.maybe && 'conditional classes', props.className);
Important: This
clsx/litemodule ignores all non-string arguments and is therefore not a 1:1 replacement forclsxitself!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: v2.0.1...v2.1.0
-
Commit messages
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:
🔕 Ignore this dependency or unsubscribe from future upgrade PRs
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| node-file-router | ❌ Failed (Inspect) | May 15, 2024 4:39am |