Speedtest-Tracker
Speedtest-Tracker copied to clipboard
Bump react-toastify from 7.0.3 to 9.1.1
Bumps react-toastify from 7.0.3 to 9.1.1.
Release notes
Sourced from react-toastify's releases.
v9.1.0
Release notes
🚀 Features
toast.promiselet you typedatafor each state. This is useful when rendering something based on the response.For example:
interface Success { username: string }interface Error { err: string }
toast.promise<Success,Error>(myPromise, { success: { render({ data }) { return data.username; } }, error: { render({ data }) { return data.err; } } })
toast.updateaccepts a generic as well to specify the data typeinterface TData { username: string }toast.update<TData>(id, { data: payload, render({ data }) { return
hello ${data.username}} })🕷 Bugfixes
... (truncated)
Commits
555963a9.1.180bf024fix style not applied properly #870e5074909.1.0e8cac35allow to specify TData for updatef33823dclean a bit80fab3cdeprecate onClick3afe7efremove isNil util54e397aremove excessive validation4952d94Revert "alias requestAnimationFrame"498c169shorten declaration- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)