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 flowbite-react from 0.4.4 to 0.8.0 #38

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

Conversation

Abellache-Rabah
Copy link
Owner

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


Snyk has created this PR to upgrade flowbite-react from 0.4.4 to 0.8.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 35 versions ahead of your current version.
  • The recommended version was released a month ago, on 2024-04-04.
Release notes
Package name: flowbite-react
  • 0.8.0 - 2024-04-04

    Minor Changes

    • #1344 bf1bdb0 Thanks @ SutuSebastian! - Rework build process using rollup and tsc

      Summary

      In order to bring more performance to the build process of flowbite-react package, we have to consider transpiling the files using other tools rather than tsc, which is very slow.

      After evaluating various tools including tsup, tshy, and bun build, we chose rollup with the esbuild plugin for transpiling due to its performance and flexibility. We continue to use tsc solely for generating *.d.ts declaration files.

      Changes

      • added rollup + esbuild for transpiling files
        • all files in the cjs directory now have .cjs extension
        • all files in the esm directory now have .mjs extension
        • declaration file types (*.d.ts) have been moved from dist/esm to dist/types
      • changed the build output dir from lib to dist
      • created a facade layer for easier management of the content path as well as the plugin
      • fixed turbo repo dependency tree configs in order for apps/web to properly pipe and require the build output of packages/ui in certain script steps such as build and dev

      Breaking changes

      tailwind.config.js content path:

      old: "node_modules/flowbite-react/lib/esm/**/*.js"

      new: "node_modules/flowbite-react/dist/esm/**/*.mjs" - (flowbite.content() returns it)

      Before

      /** @ type {import('tailwindcss').Config} */
      module.exports = {
        content: [
          // ...
          "node_modules/flowbite-react/lib/esm/**/*.js",
        ],
        plugins: [
          // ...
          require("flowbite/plugin"),
        ],
      };

      After

      const flowbite = require("flowbite-react/tailwind");

      /** @ type {import('tailwindcss').Config} */
      module.exports = {
      content: [
      // ...
      flowbite.content(),
      ],
      plugins: [
      // ...
      flowbite.plugin(),
      ],
      };

      Addresses Issues

      #1326, #1329, #1343

  • 0.7.8 - 2024-04-01

    Patch Changes

  • 0.7.7 - 2024-04-01

    Patch Changes

  • 0.7.6 - 2024-03-29

    What's Changed

    New Contributors

    Full Changelog: https://github.com/themesberg/flowbite-react/compare/v0.7.5...flowbite-react@0.7.6

  • 0.7.5 - 2024-03-20

    What's Changed

    New Contributors

    Full Changelog: v0.7.3...v0.7.5

  • 0.7.4 - 2024-03-20
    No content.
  • 0.7.3 - 2024-03-12
    Read more
  • 0.7.2 - 2023-12-12
  • 0.7.1 - 2023-12-12
  • 0.7.1-beta - 2023-09-11
  • 0.7.0 - 2023-11-24
  • 0.7.0-beta.6 - 2023-11-26
  • 0.7.0-beta.5 - 2023-11-07
  • 0.7.0-beta.4 - 2023-10-20
  • 0.7.0-beta.3 - 2023-10-11
  • 0.7.0-beta.2 - 2023-10-10
  • 0.7.0-beta.1 - 2023-09-28
  • 0.7.0-beta - 2023-09-11
  • 0.6.4 - 2023-10-03
  • 0.6.3 - 2023-09-30
  • 0.6.2 - 2023-09-29
  • 0.6.1 - 2023-09-23
  • 0.6.1-beta - 2023-09-09
  • 0.6.0 - 2023-09-09
  • 0.6.0-beta - 2023-09-09
  • 0.5.0 - 2023-07-21
  • 0.4.11 - 2023-07-10
  • 0.4.10 - 2023-07-03
  • 0.4.9 - 2023-06-22
  • 0.4.8 - 2023-06-22
  • 0.4.7 - 2023-06-01
  • 0.4.6 - 2023-05-26
  • 0.4.6-beta.1 - 2023-05-26
  • 0.4.6-beta.0 - 2023-05-26
  • 0.4.5 - 2023-05-26
  • 0.4.4 - 2023-04-24
from flowbite-react GitHub release notes
Commit messages
Package name: flowbite-react
  • a3d282b Version Packages (#1349)
  • bf1bdb0 packages(ui): build step using rollup + tsc (#1344)
  • 65e7c89 Version Packages (#1340)
  • 8430004 fix: packages(ui) package.json types path (#1339)
  • 19da9c3 Version Packages (#1338)
  • b6ebb31 fix(ui): build step + improve DX (#1336)
  • 45930ef feat(web) add new example of advanced list component (#1337)
  • cccda3e fix: align config files extentions (js/cjs/mjs) + remove `"type": "module"` from `package.json` [ui, storybook]
  • 40e4e87 ci(release, action): remove redundant changes
  • fe68502 ci(release): add `registry-url` to common setup action
  • ac3bad4 ci(release): add `NODE_AUTH_TOKEN` env
  • 54556f2 Version Packages (#1325)
  • aa7db68 chore: undo test patch commit
  • a57f351 chore: test patch commit
  • 53bfb24 ci(release): remove build step
  • 7a8933d chore(ui): add changeset for release
  • e33c469 ci: add `release` workflow (#1324)
  • c2fb19a Fix broken contributing link in UI README (#1322)
  • 29b8290 feat(ui): add With Icon storybook (#1316)
  • c4317a5 fix: edit on github button issue resolved (#1317)
  • 8c1e992 fix(global): package.json scripts format check command
  • 3d546f7 chore(ui): format `CHANGELOG.md`
  • 3b34dc3 chore(web): update `redwoodjs` tailwind config code example
  • eed9d1e redwood-js.mdx update command to add flowbite-react into web workspace (#1313)

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

Copy link

vercel bot commented Apr 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
students-attendance-sx2b ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 30, 2024 4:07pm

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