[Snyk] Upgrade: , flowbite, flowbite-react, next #1
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.
Snyk has created this PR to upgrade multiple dependencies.
👯 The following dependencies are linked and will therefore be updated together.ℹ️ 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.
@reduxjs/toolkit
from 2.2.3 to 2.2.7 | 4 versions ahead of your current version | 2 months ago
on 2024-07-27
flowbite
from 2.3.0 to 2.5.1 | 4 versions ahead of your current version | a month ago
on 2024-08-05
flowbite-react
from 0.7.8 to 0.10.1 | 4 versions ahead of your current version | 3 months ago
on 2024-06-21
next
from 14.2.3 to 14.2.7 | 4 versions ahead of your current version | 22 days ago
on 2024-08-27
Release notes
Package name: @reduxjs/toolkit
This bugfix release fixes issues with "TS type portability" errors, improves build artifact tree shaking behavior, and exports some additional TS types.
Changelog
TS Type Portability
We've had a slew of issues reported around "TS type portability" errors, such as:
The error messages are typically along the lines of:
@ aryaemami59 did some deep investigation and concluded these were due to a mixture of using
interface
instead oftype
in most places, not pre-bundling our TS typedefs, and not exporting some of the unique symbols we use internally.Arya put together a highly detailed writeup and set of fixes in #4467: Fix: TypeScript Type Portability Issues, and that appears to resolve all of those issues we've seen. Thank you!
Other Changes
Arya also did significant work to improve RTK's treeshaking, tweaking internal definitions to let bundlers better separate out unused code.
We've exported additional types like
UpdateDefinitions
andRetryOptions
, per request.listenerMiddleware.withTypes()
methods now allow passing in anExtraArgument
generic.What's Changed
Full Changelog: v2.2.6...v2.2.7
This bugfix release:
useIsomorphicLayoutEffect
usage in line with React Redux in React Native environmentsFetchBaseQueryArgs
typecreateEntityAdapter
sorting perf improvements that could (in specific cases) cause Immer to throw an errorWhat's Changed
useIsomorphicLayoutEffect
usage in React Native environments by @ aryaemami59 in #4436Full Changelog: v2.2.5...v2.2.6
Package name: flowbite
Package name: flowbite-react
Patch Changes
a5d008e
Thanks @ SutuSebastian! - addAdonisJS
integration guideMinor Changes
26401bc
Thanks @ dhavalveera! - feat(components): add "Clipboard"Patch Changes
#1405
c8dba76
Thanks @ dhavalveera! - Renamed theTabs
attribute fromstyle
tovariant
to allow the use of thestyle
attribute, which was previously blocked.#1430
83a055a
Thanks @ SutuSebastian! - fix(ui): timeline - content - separateTimelineContent
base styles from horizontal/vertical styles#1428
b963b2c
Thanks @ SutuSebastian! - fix(ui): Toggle Switch - styles#1371
92cec6f
Thanks @ SutuSebastian! - Mega Menu - export all entities#1423
4350ffb
Thanks @ SutuSebastian! - update packages#1346
92f41fe
Thanks @ dhavalveera! - feat: addHR
componentWhat's Changed
examples
page by @ SutuSebastian in #1376HR
component by @ dhavalveera in #1346New Contributors
Full Changelog: https://github.com/themesberg/flowbite-react/compare/[email protected]@0.10.0
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 pathPackage name: next
Note
This release is backporting bug fixes. It does not include all pending features/changes on canary.
Core Changes
Credits
Huge thanks to @ kjugi, @ huozhi, @ ztanner, @ SukkaW, @ marlier, @ Kikobeats, @ syi0808, @ ijjk, and @ samcx for helping!
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: