[Snyk] Upgrade react-hot-toast from 2.0.0 to 2.4.1 #4
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 react-hot-toast from 2.0.0 to 2.4.1.
ℹ️ 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 9 versions ahead of your current version.
The recommended version was released on a year ago.
Release notes
Package name: react-hot-toast
Better RSC Support
"use client"
to build ouput 92aef53v2.4.0...v2.4.1
What's new
v2.3.0...v2.4.0-beta.0
2.4.0-beta.0
Better bundle setup
This release focuses on build and bundle improvements (faster, lighter & better).
react-hot-toast/headless
- for headless environments like react-nativeWhat's Changed
pnpm
, update deps) by @ timolins in #203react-hot-toast/headless
by @ timolins in #205New Contributors
Full Changelog: v2.2.0...v2.3.0
Update package setup to be ESM compliant
.mjs
extension for ESM module - Update package.json according to #204 ae4a1ebmain
in package.json de10f5cClean Up
index.tsx
toindex.ts
0749440v2.3.0-beta...v2.3.0-beta.1
This version is focus on improving the build & bundle setup. It's now using tsup (powered by esbuild) instead of unmaintained
tsdx
. Additionaly, npm v4 was replaced by pnpm.Those changes gives us a way faster and simpler builds + should allows usage in headless environments again (react-native).
tsdx
& addprettier
hook * No more linting from tsdx. Should be okay to use prettier * Lot less dependencies * Prettify files 28d83a9export type
for types 4f43ea3tsup
instead oftsdx
This gives us more control about the build process * Exposereact-hot-toast/headless
- Fixes #39 * Bundle size is even smaller now d58cb35v2.2.0...v2.3.0-beta
Changes
Docs
v2.1.1...v2.2.0
fix:
matchMedia is not defined
46cc577Make the page title match the component name e510767
Fix linting error b1d2382
Merge pull request #115 from BenJenkinson/patch-1 0027e31
Merge pull request #112 from Dev-CasperTheGhost/main ddc56b0
v2.1.0...v2.1.1
Changes
Toast
type - Closes #91 b9c2d93Docs
position
option to toast docs 9b481f0v2.0.0...v2.1.0
New
toast.custom()
- Render custom one-off toasts. No default styling will be applied.<Toaster gutter={20} />
duration: Infinity
Breaking Changes
top
,right
,bottom
,left
to incontainerStyle
to change the offset, instead of marginrole
&ariaLive
got moved intoariaProps
useToaster()
no longer exposesvisibleToasts
dispatch
Changes
gutter
prop 273e29eIndicator
toToastIcon
component - Also export resolveValue to render custom JSX content 25690e0toast.custom
- Render any JSX without additional styles b7509bdcontainerClassName
prop - Closes #43 2be3b23margin
togutter
345aac0renderToast
option to Toatser - Allows you to replace default toast with custom component (Closes #13) 207bf66sideEffects: false
in package.json 641369fdispatch
8f82feccsstype
as dev dependency Closes #44 d60adb6Infinity
instead of-1
for persistant toasts a214271-1
duration for persistent toasts 64b5568undefined
id e40ebbdv1.0.2...v2.0.0
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: