[Snyk] Upgrade: , class-variance-authority, next, next-themes, openai-edge #17
+5
−5
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade multiple dependencies.
👯 The following dependencies are linked and will therefore be updated together.ℹ️ 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.
@vercel/og
from 0.5.20 to 0.6.2 | 3 versions ahead of your current version | 8 months ago
on 2024-01-04
class-variance-authority
from 0.4.0 to 0.7.0 | 10 versions ahead of your current version | a year ago
on 2023-07-17
next
from 13.4.7-canary.1 to 13.5.6 | 179 versions ahead of your current version | a year ago
on 2023-10-18
next-themes
from 0.2.1 to 0.3.0 | 2 versions ahead of your current version | 6 months ago
on 2024-03-13
openai-edge
from 0.5.1 to 0.6.1 | 2 versions ahead of your current version | a year ago
on 2023-05-29
Issues fixed by the recommended upgrade:
SNYK-JS-NEXT-6828456
SNYK-JS-NEXT-7442548
SNYK-JS-ZOD-5925617
SNYK-JS-NEXT-6032387
SNYK-JS-POSTCSS-5926692
Release notes
Package name: class-variance-authority
What's Changed
clsx@2.0.0
by @ joe-bell in #185Full Changelog: v0.6.1...v0.7.0
What's Changed
license
key inpackage.json
typescript@5.1.3
by @ joe-bell in #175Full Changelog: v0.6.0...v0.6.1
What's Changed
cx
→clsx
by @ joe-bell in #152cva
now usesclsx
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 ofclsx
Bringing additional benefits of:
Provides additional support for booleans and variadic strings within
class
orclassName
props// => 'button-base'
const buttonConsumer = button({ class: [true && "extra-class"] });
// => 'button-base extra-class'
Provides support for object syntax within
class
orclassName
propsFull Changelog: v0.5.3...v0.6.0
What's Changed
fix: issue #147 where map files are not present for esm files by @ pfried in #148
fix: Added explicit undefined type to support exactOptionalPropertyTypes option by @ totto2727 in #149
New Contributors
Full Changelog: v0.5.2...v0.5.3
What's Changed
moduleResolution: bundler
(addtypes
toexports
field inpackage.json
) by @ msonnberger in #138New Contributors
Full Changelog: v0.5.1...v0.5.2
What's Changed
Full Changelog: v0.4.0...v0.5.0
Support the Project 🖤
cva is a labour of love – I don't get paid to work on this project
Contributions of any size are greatly appreciated 🙏🏼
Ethereum
class-variance-authority@0.5.0
What's Changed
Features
Target Multiple Variant Options within Compound Variants by @ joe-bell and @ JeroenReumkens in #76
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
Package name: next
Core Changes
@ mui/icons-material
to the defaultoptimizePackageImports
list: #56801Credits
Huge thanks to @ xiaolou86, @ ztanner, @ sokra, and @ shuding for helping!
No content.
Core Changes
Promise.withResolvers
polyfill withDetachedPromise
: #56954onLoadingComplete
as deprecated in favor ofonLoad
: #56944Misc Changes
fs-extra
usage inscripts/
: #56917COREPACK_ENABLE_STRICT: 0
for create-next-app tests: #56955Credits
Huge thanks to @ janicklas-ralph, @ wyattjoh, @ SukkaW, @ styfle, and @ balazsorban44 for helping!
Core Changes
Credits
Huge thanks to @ dpnolte and @ feedthejim for helping!
Core Changes
dotenv
: #38481swc_core
tov0.86.1
: #56770Credits
Huge thanks to @ JuanM04, @ Andarist, @ feedthejim, and @ kdy1 for helping!
Core Changes
Documentation Changes
Credits
Huge thanks to @ WhoAmIRUS and @ gnoff for helping!
Core Changes
Misc Changes
Credits
Huge thanks to @ ztanner, @ styfle, @ feedthejim, and @ balazsorban44 for helping!
Core Changes
fs.existsSync
to avoid race condition: #56387waitUntil
into the handler: #56404existSync
call: #56419isolateModules
totsconfig
when extending from tsconfig withverbatimModuleSyntax
: #54164verbatimModuleSyntax
to make type imports/exports explicit: #56551server-only
andclient-only
: #56760useParams
: #56771x-forwarded-*
headers: