[Snyk] Upgrade flowbite-react from 0.7.8 to 0.9.0 #42
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.
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.7.8 to 0.9.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 2 versions ahead of your current version.
The recommended version was released on 2 months ago.
Release notes
Package name: flowbite-react
-
0.9.0 - 2024-04-16
- added Drawer component
- added Mega menu component
-
0.8.0 - 2024-04-04
-
- added
- all files in the
- all files in the
- declaration file types (
- changed the build output dir from
- created a facade layer for easier management of the
- fixed turbo repo dependency tree configs in order for
const flowbite = require("flowbite-react/tailwind");
-
0.7.8 - 2024-04-01
- #1339
from flowbite-react GitHub release notesIntroducing Drawer and Mega menu
Summary
Say hello to Drawer and Mega menu!
These long-awaited components from the vanilla Flowbite library have finally made their way to Flowbite React. Everything you need to get started - including full theme support, and the full set of examples to match the main Flowbite library - are ready at your fingertips.
Special thank you to @ dhavalveera for your work on Drawer!
Changes
Minor Changes
#1344
bf1bdb0Thanks @ SutuSebastian! - Rework build process usingrollupandtscSummary
In order to bring more performance to the build process of
flowbite-reactpackage, we have to consider transpiling the files using other tools rather thantsc, which is very slow.After evaluating various tools including
tsup,tshy, andbun build, we choserollupwith theesbuildplugin for transpiling due to its performance and flexibility. We continue to usetscsolely for generating*.d.tsdeclaration files.Changes
rollup+esbuildfor transpiling filescjsdirectory now have.cjsextensionesmdirectory now have.mjsextension*.d.ts) have been moved fromdist/esmtodist/typeslibtodistcontentpath as well as thepluginapps/webto properly pipe and require the build output ofpackages/uiin certain script steps such asbuildanddevBreaking changes
tailwind.config.jscontentpath:old:
"node_modules/flowbite-react/lib/esm/**/*.js"new:
"node_modules/flowbite-react/dist/esm/**/*.mjs"- (flowbite.content()returns it)Before
After
/** @ type {import('tailwindcss').Config} */
module.exports = {
content: [
// ...
flowbite.content(),
],
plugins: [
// ...
flowbite.plugin(),
],
};
Addresses Issues
#1326, #1329, #1343
Patch Changes
8430004Thanks @ SutuSebastian! - fix package.json types pathImportant
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: