Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade clsx from 2.1.0 to 2.1.1 #11

Closed
wants to merge 1 commit into from

Conversation

wanjas
Copy link
Owner

@wanjas wanjas commented May 14, 2024

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.

ℹ️ 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 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.

    Full Changelog: v2.1.0...v2.1.1

  • 2.1.0 - 2023-12-29

    Features

    • Add new clsx/lite submodule for string-only usage: 1a49142

      This is a 140b version of clsx that is ideal for Tailwind and/or React contexts, which typically follow this clsx usage pattern:

      clsx('foo bar', props.maybe && 'conditional classes', props.className);

      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 { 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

from clsx GitHub release notes
Commit messages
Package name: clsx
  • 925494c 2.1.1
  • 3d960ab fix(types): include `bigint` in `ClassValue` type (#96)
  • 684509c chore: add licenses badge

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

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Copy link

vercel bot commented May 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-use-url-state ❌ Failed (Inspect) May 14, 2024 7:26pm

@wanjas wanjas closed this May 17, 2024
@wanjas wanjas deleted the snyk-upgrade-bcb47cf16ad4a0e4ce9bd2c7d19ecfc7 branch May 17, 2024 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants