themesberg / themesberg/flowbite-react

flowbite-react@0.12.17 still references tailwind-merge-v2 and tailwind-merge-v3 alias packages

Open
#1,672 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
2.1k
Forks
506
PR merge metrics
No merged PRs in 30d

Description

  • I have searched the Issues to see if this bug has already been reported
  • I have tested the latest version

Steps to reproduce

  1. Install flowbite-react@0.12.17 in a React app
  2. Run npm install
  3. Inspect node_modules/flowbite-react/package.json or the generated lockfile

Current behavior

flowbite-react still brings in these alias dependencies:

  • tailwind-merge-v2: npm:tailwind-merge@2.6.1
  • tailwind-merge-v3: npm:tailwind-merge@3.4.0

Both of these aliases are being flagged by GitHub Advanced Security as well as npmjs as having contained malware: https://github.com/advisories/GHSA-53q4-wj32-3vv9 and https://github.com/advisories/GHSA-3679-84c2-v5xm

Because the aliases are referenced directly in the published package code it causes dependency review tooling to flag them in downstream projects and mark the project as insecure. Another issue on this topic is #1665 user closed it.

Expected behavior

I’d expect the published package to avoid installing the aliased tailwind-merge-v2 / tailwind-merge-v3 packages, or at least provide a path for downstream consumers to avoid them.

Context

We use flowbite-react in a corporate GitHub environment with dependency review on PRs. These alias packages are being flagged by security policy, which blocks merges for downstream consumers even though we do not reference them directly in our app.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect the published flowbite-react@0.12.17 package.json and the generated lockfile to trace where tailwind-merge-v2 and tailwind-merge-v3 are referenced. Done means the published package no longer installs those aliases, or provides a documented way for downstream consumers to avoid them, with the reported dependency warnings resolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, tailwindcss, typescript
Domain
frontend, security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.