Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Apr 24, 2024

This PR contains the following updates:

Package Change Age Confidence
clsx 2.1.0 -> 2.1.1 age confidence

Release Notes

lukeed/clsx (clsx)

v2.1.1

Compare Source

Patches

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: lukeed/clsx@v2.1.0...v2.1.1

v2.1.0

Compare Source

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: lukeed/clsx@v2.0.1...v2.1.0

v2.0.1

Compare Source

Patches

  • (perf) Cache arguments.length & array.length for 6% performance gain (#​26): deff09b
    Adds 5 bytes (+2%) for ~3% avg performance gain
    Thank you @​jalalazimi

Chores


Full Changelog: lukeed/clsx@v2.0.0...v2.0.1

v2.0.0

Compare Source

Breaking

  • Add "exports" map for native ESM support (#​57): 3ec8e9f, 0949868
    Also supports TypeScript's node16/nodenext module resolution
    Maintains CommonJS support (with fixed TS definitions)
    Thank you @​remcohaszing~!

Chores


Full Changelog: lukeed/clsx@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 becomes conflicted, 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.

@renovate renovate bot force-pushed the renovate/clsx-2.x branch 2 times, most recently from 0e4be3f to 2fb4f1e Compare April 30, 2024 02:25
@renovate
Copy link
Contributor Author

renovate bot commented Mar 26, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: web/package-lock.json
npm warn Unknown env config "store". This will stop working in the next major version of npm.
npm warn ERESOLVE overriding peer dependency
npm warn While resolving: client@2.2.0
npm warn Found: react@18.2.0
npm warn node_modules/react
npm warn   react@"18.3.1" from the root project
npm warn   9 more (react-dom, react-intersection-observer, react-router, ...)
npm warn
npm warn Could not resolve dependency:
npm warn peer react@"^16.8.0 || ^17.0.0" from @material-ui/core@4.12.4
npm warn node_modules/@material-ui/core
npm warn   peer @material-ui/core@"^4.0.0" from @material-ui/icons@4.11.3
npm warn   node_modules/@material-ui/icons
npm warn ERESOLVE overriding peer dependency
npm warn While resolving: client@2.2.0
npm warn Found: react@18.2.0
npm warn node_modules/react
npm warn   react@"18.3.1" from the root project
npm warn   9 more (react-dom, react-intersection-observer, react-router, ...)
npm warn
npm warn Could not resolve dependency:
npm warn peer react@"^16.8.0 || ^17.0.0" from @material-ui/icons@4.11.3
npm warn node_modules/@material-ui/icons
npm warn   @material-ui/icons@"4.11.3" from the root project
npm warn ERESOLVE overriding peer dependency
npm warn While resolving: client@2.2.0
npm warn Found: react-dom@18.2.0
npm warn node_modules/react-dom
npm warn   react-dom@"18.3.1" from the root project
npm warn   3 more (react-transition-group, @mui/material, @testing-library/react)
npm warn
npm warn Could not resolve dependency:
npm warn peer react-dom@"^16.8.0 || ^17.0.0" from @material-ui/core@4.12.4
npm warn node_modules/@material-ui/core
npm warn   peer @material-ui/core@"^4.0.0" from @material-ui/icons@4.11.3
npm warn   node_modules/@material-ui/icons
npm warn ERESOLVE overriding peer dependency
npm warn While resolving: client@2.2.0
npm warn Found: react-dom@18.2.0
npm warn node_modules/react-dom
npm warn   react-dom@"18.3.1" from the root project
npm warn   3 more (react-transition-group, @mui/material, @testing-library/react)
npm warn
npm warn Could not resolve dependency:
npm warn peer react-dom@"^16.8.0 || ^17.0.0" from @material-ui/icons@4.11.3
npm warn node_modules/@material-ui/icons
npm warn   @material-ui/icons@"4.11.3" from the root project
npm warn ERESOLVE overriding peer dependency
npm warn ERESOLVE overriding peer dependency
npm warn ERESOLVE overriding peer dependency
npm warn ERESOLVE overriding peer dependency
npm warn ERESOLVE overriding peer dependency
npm warn ERESOLVE overriding peer dependency
npm warn ERESOLVE overriding peer dependency
npm warn ERESOLVE overriding peer dependency
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @material-ui/core@4.12.4
npm error Found: @types/react@18.0.15
npm error node_modules/@types/react
npm error   peerOptional @types/react@"^16.8.6 || ^17.0.0" from @material-ui/styles@4.11.5
npm error   node_modules/@material-ui/core/node_modules/@material-ui/styles
npm error     @material-ui/styles@"^4.11.5" from @material-ui/core@4.12.4
npm error     node_modules/@material-ui/core
npm error       peer @material-ui/core@"^4.0.0" from @material-ui/icons@4.11.3
npm error       node_modules/@material-ui/icons
npm error         @material-ui/icons@"4.11.3" from the root project
npm error
npm error Could not resolve dependency:
npm error peerOptional @types/react@"^16.8.6 || ^17.0.0" from @material-ui/core@4.12.4
npm error node_modules/@material-ui/core
npm error   peer @material-ui/core@"^4.0.0" from @material-ui/icons@4.11.3
npm error   node_modules/@material-ui/icons
npm error     @material-ui/icons@"4.11.3" from the root project
npm error
npm error Conflicting peer dependency: @types/react@17.0.89
npm error node_modules/@types/react
npm error   peerOptional @types/react@"^16.8.6 || ^17.0.0" from @material-ui/core@4.12.4
npm error   node_modules/@material-ui/core
npm error     peer @material-ui/core@"^4.0.0" from @material-ui/icons@4.11.3
npm error     node_modules/@material-ui/icons
npm error       @material-ui/icons@"4.11.3" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /runner/cache/others/npm/_logs/2025-10-21T10_08_23_483Z-eresolve-report.txt
npm error A complete log of this run can be found in: /runner/cache/others/npm/_logs/2025-10-21T10_08_23_483Z-debug-0.log

@renovate renovate bot force-pushed the renovate/clsx-2.x branch from 2fb4f1e to 5d3d4c8 Compare March 26, 2025 15:04
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.

1 participant