[Snyk] Upgrade flowbite-react from 0.4.4 to 0.9.0 #43
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-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
Snyk has created this PR to upgrade flowbite-react from 0.4.4 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 36 versions ahead of your current version.
The recommended version was released on a month ago.
Release notes
Package name: flowbite-react
Introducing 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
bf1bdb0
Thanks @ SutuSebastian! - Rework build process usingrollup
andtsc
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 thantsc
, which is very slow.After evaluating various tools including
tsup
,tshy
, andbun build
, we choserollup
with theesbuild
plugin for transpiling due to its performance and flexibility. We continue to usetsc
solely for generating*.d.ts
declaration files.Changes
rollup
+esbuild
for transpiling filescjs
directory now have.cjs
extensionesm
directory now have.mjs
extension*.d.ts
) have been moved fromdist/esm
todist/types
lib
todist
content
path as well as theplugin
apps/web
to properly pipe and require the build output ofpackages/ui
in certain script steps such asbuild
anddev
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
After
/** @ type {import('tailwindcss').Config} */
module.exports = {
content: [
// ...
flowbite.content(),
],
plugins: [
// ...
flowbite.plugin(),
],
};
Addresses Issues
#1326, #1329, #1343
Patch Changes
8430004
Thanks @ SutuSebastian! - fix package.json types pathPatch Changes
b6ebb31
Thanks @ SutuSebastian! - fix build step, export types and improve DXWhat's Changed
bun
) by @ SutuSebastian in #1264release
workflow by @ SutuSebastian in #1324createTheme
API by @ SutuSebastian in 7a8933dNew Contributors
Full Changelog: https://github.com/themesberg/flowbite-react/compare/[email protected]
What's Changed
New Contributors
Full Changelog: v0.7.3...v0.7.5
No content.
What's Changed
type="text"
on<TextInput>
by @ tulup-conner in #1206as
prop by @ nigellima in #1244argTypes.weekStart.mapping
onDatepicker.stories.tsx
by @ ktanoooo in #1254New Contributors
Full Changelog: v0.7.2...v0.7.3
Important
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: