supabase-cache-helpers
supabase-cache-helpers copied to clipboard
chore(deps): update dependency clsx to v2
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| clsx | ^1.2.1 -> ^2.0.0 |
Release Notes
lukeed/clsx (clsx)
v2.1.1
Patches
- (types) Include
bigintinClassValuetype: (#96):3d960abAccommodates recent@types/reactchanges toReactNode. Thank you @ViliamKopecky~!
Chores
- Add
licenses.devbadge: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 forpolka@nextand a largerastroexample.
Full Changelog: https://github.com/lukeed/clsx/compare/v2.1.0...v2.1.1
v2.1.0
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: https://github.com/lukeed/clsx/compare/v2.0.1...v2.1.0
v2.0.1
Patches
- (perf) Cache
arguments.length&array.lengthfor 6% performance gain (#26):deff09bAdds 5 bytes (+2%) for ~3% avg performance gain Thank you @jalalazimi
Chores
- Update module size:
bf64e71 - Update benchmark results:
855eec2,6e3b2b9, - Replace
nycwithc8in CI:6e2468e - Update Node CI matrix:
308a238 - Fix readme typos (#76, #82):
42354d3,4c9a55dThank you @andipaetzold and @acusti
Full Changelog: https://github.com/lukeed/clsx/compare/v2.0.0...v2.0.1
v2.0.0
Breaking
- Add
"exports"map for native ESM support (#57):3ec8e9f,0949868Also supports TypeScript'snode16/nodenextmodule resolution Maintains CommonJS support (with fixed TS definitions) Thank you @remcohaszing~!
Chores
- Add Tailwind Support section to README (#65, #68):
496db1d,4a4eaddThank you @kevinlowe0x3F7 & @kevinlowe0x3F7 - Add tests for numbers & variadic number arguments:
c520353 - Update package module size:
03e1cf9
Full Changelog: https://github.com/lukeed/clsx/compare/v1.2.1...v2.0.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
The latest updates on your projects. Learn more about Vercel for GitHub.
| Project | Deployment | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| supabase-cache-helpers | Preview | Comment | Oct 21, 2025 6:14pm | |
| supabase-cache-helpers-react-query | Oct 21, 2025 6:14pm | |||
| supabase-cache-helpers-swr-demo | Oct 21, 2025 6:14pm |
⚠️ No Changeset found
Latest commit: 5daf7f6c686727dac163ec0cd3d542fe00643ad6
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
This PR includes no changesets
When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 91.28%. Comparing base (6f1fd45) to head (9903141).
Additional details and impacted files
@@ Coverage Diff @@
## main #638 +/- ##
=======================================
Coverage 91.28% 91.28%
=======================================
Files 144 144
Lines 2261 2261
Branches 738 739 +1
=======================================
Hits 2064 2064
Misses 162 162
Partials 35 35
| Flag | Coverage Δ | |
|---|---|---|
| postgrest-core | 91.28% <ø> (ø) |
|
| postgrest-react-query | 91.28% <ø> (ø) |
|
| postgrest-server | 91.28% <ø> (ø) |
|
| postgrest-swr | ? |
|
| storage-core | 91.28% <ø> (ø) |
|
| storage-react-query | 91.28% <ø> (ø) |
|
| storage-swr | 91.28% <ø> (ø) |
Flags with carried forward coverage won't be shown. Click here to find out more.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.