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 class-variance-authority from 0.4.0 to 0.7.0 #11

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Ankitpa2927
Copy link
Owner

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to upgrade class-variance-authority from 0.4.0 to 0.7.0.

ℹ️ 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 10 versions ahead of your current version.
  • The recommended version was released 9 months ago, on 2023-07-17.
Release notes
Package name: class-variance-authority
  • 0.7.0 - 2023-07-17

    What's Changed

    Full Changelog: v0.6.1...v0.7.0

  • 0.6.1 - 2023-06-26

    What's Changed

    Full Changelog: v0.6.0...v0.6.1

  • 0.6.0 - 2023-04-27

    What's Changed

    • cxclsx by @ joe-bell in #152

      cva now uses clsx under-the-hood to concatenate classes with no breaking changes to the current experience and no increase to bundle-size.

      The existing cx export still exists, but as an alias of clsx

      Bringing additional benefits of:

      1. Provides additional support for booleans and variadic strings within class or className props

        const button = cva([true && "button-base", false && "not-rendered"]);
        // => 'button-base'

        const buttonConsumer = button({ class: [true && "extra-class"] });
        // => 'button-base extra-class'

      2. Provides support for object syntax within class or className props

        const button = cva({ foo: true, bar: false });
        // => 'foo baz'

    Full Changelog: v0.5.3...v0.6.0

  • 0.6.0-canary.0 - 2023-04-27
  • 0.5.3 - 2023-04-26

    What's Changed

    • fix: issue #147 where map files are not present for esm files by @ pfried in #148

      Thank you @ pfried!

    • fix: Added explicit undefined type to support exactOptionalPropertyTypes option by @ totto2727 in #149

      This has been a long standing issue for me and I'm so grateful to @ totto2727 for making the fix

    New Contributors

    Full Changelog: v0.5.2...v0.5.3

  • 0.5.3-canary.0 - 2023-04-26
  • 0.5.2 - 2023-04-11

    What's Changed

    • Support for moduleResolution: bundler (add types to exports field in package.json) by @ msonnberger in #138

    New Contributors

    Full Changelog: v0.5.1...v0.5.2

  • 0.5.1 - 2023-04-02

    What's Changed

    Warning
    v0.5.0 is broken, please skip straight to v0.5.1

    Full Changelog: v0.4.0...v0.5.0

    Support the Project 🖤

    Note
    I'm actually supposed to be on vacation right now, but it seems like people are desperate for TypeScript 5 support

    cva is a labour of love – I don't get paid to work on this project

    Contributions of any size are greatly appreciated 🙏🏼

    Ethereum
    0xC756F748ff6A499f3C826529A0Da30FF1A3ac28c
    

    image

  • 0.5.1-canary.0 - 2023-04-02
  • 0.5.0 - 2023-04-02

    [email protected]

  • 0.4.0 - 2022-12-05

    What's Changed

    Features

    • Target Multiple Variant Options within Compound Variants by @ joe-bell and @ JeroenReumkens in #76

      // components/button.ts
      import { cva } from "class-variance-authority";

      const button = cva("…", {
      variants: {
      intent: { primary: "…", secondary: "…" },
      size: { small: "…", medium: "…" },
      },
      compoundVariants: [
      // Applied via:
      // button({ intent: "primary", size: "medium" })
      // or
      // button({ intent: "secondary", size: "medium" })
      {
      intent: ["primary", "secondary"],
      size: "medium",
      class: "…",
      },
      ],
      });

    Chores

    New Contributors

    Full Changelog: v0.3.0...v0.4.0

from class-variance-authority GitHub release notes
Commit messages
Package name: class-variance-authority

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

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