258.md (6229B)
1 # PR #258 Bump react-toastify from 9.0.1 to 9.1.1 2 3 - **Status:** closed 4 - **Author:** @dependabot[bot] 5 - **Created:** 2023-01-03T16:44:13Z 6 - **Branch:** dependabot/npm_and_yarn/react-toastify-9.1.1 → main 7 - **Closed:** 2023-01-03T16:44:45Z 8 - **Labels:** dependencies, javascript 9 - **Assignees:** @MTRNord 10 - **Reviewers:** @MTRNord 11 - **Diff:** [258.diff](./258.diff) 12 13 --- 14 15 Bumps [react-toastify](https://github.com/fkhadra/react-toastify) from 9.0.1 to 9.1.1. 16 <details> 17 <summary>Release notes</summary> 18 <p><em>Sourced from <a href="https://github.com/fkhadra/react-toastify/releases">react-toastify's releases</a>.</em></p> 19 <blockquote> 20 <h2>v9.1.0</h2> 21 <h1>Release notes</h1> 22 <h2>🚀 Features</h2> 23 <ul> 24 <li><code>toast.promise</code> let you type <code>data</code> for each state. This is useful when rendering something based on the response.</li> 25 </ul> 26 <p>For example:</p> 27 <pre lang="tsx"><code>interface Success { 28 username: string 29 } 30 <p>interface Error { 31 err: string 32 }</p> 33 <p>toast.promise<Success,Error>(myPromise, { 34 success: { 35 render({ data }) { 36 return data.username; 37 } 38 }, 39 error: { 40 render({ data }) { 41 return data.err; 42 } 43 } 44 })</p> 45 <p></code></pre></p> 46 <ul> 47 <li><code>toast.update</code> accepts a generic as well to specify the data type</li> 48 </ul> 49 <pre lang="tsx"><code>interface TData { 50 username: string 51 } 52 <p>toast.update<TData>(id, { 53 data: payload, 54 render({ data }) { 55 return <code>hello ${data.username}</code> 56 } 57 }) 58 </code></pre></p> 59 <h2>🕷 Bugfixes</h2> 60 <ul> 61 <li>fix progress countdown stops on mobile <a href="https://github-redirect.dependabot.com/fkhadra/react-toastify/issues/580">#580</a></li> 62 <li>prevent clash with ios native gesture <a href="https://github-redirect.dependabot.com/fkhadra/react-toastify/issues/397">#397</a></li> 63 </ul> 64 <!-- raw HTML omitted --> 65 </blockquote> 66 <p>... (truncated)</p> 67 </details> 68 <details> 69 <summary>Commits</summary> 70 <ul> 71 <li><a href="https://github.com/fkhadra/react-toastify/commit/555963af91092a735441163589fa630d29a92817"><code>555963a</code></a> 9.1.1</li> 72 <li><a href="https://github.com/fkhadra/react-toastify/commit/80bf024d2f72fe6ac55a437ae334f3e8393ec59f"><code>80bf024</code></a> fix style not applied properly <a href="https://github-redirect.dependabot.com/fkhadra/react-toastify/issues/870">#870</a></li> 73 <li><a href="https://github.com/fkhadra/react-toastify/commit/e5074908afaafe78ce609562cfffbd5990897de6"><code>e507490</code></a> 9.1.0</li> 74 <li><a href="https://github.com/fkhadra/react-toastify/commit/e8cac357c0ceaf45436d10bc83c71a8ba6225410"><code>e8cac35</code></a> allow to specify TData for update</li> 75 <li><a href="https://github.com/fkhadra/react-toastify/commit/f33823df3342057b60b513aefa0473f07729de3f"><code>f33823d</code></a> clean a bit</li> 76 <li><a href="https://github.com/fkhadra/react-toastify/commit/80fab3c163a9140477d6c4452819da041f58c648"><code>80fab3c</code></a> deprecate onClick</li> 77 <li><a href="https://github.com/fkhadra/react-toastify/commit/3afe7efcb3c8bba8776934ee1ba193d4b1b1ce3b"><code>3afe7ef</code></a> remove isNil util</li> 78 <li><a href="https://github.com/fkhadra/react-toastify/commit/54e397af872ff69476098b4ddd17897c499b53d1"><code>54e397a</code></a> remove excessive validation</li> 79 <li><a href="https://github.com/fkhadra/react-toastify/commit/4952d948ec8647a705ec905074c51e2559f4f77f"><code>4952d94</code></a> Revert "alias requestAnimationFrame"</li> 80 <li><a href="https://github.com/fkhadra/react-toastify/commit/498c1694b9fb0fa74686cdd75f3c02e8b571b426"><code>498c169</code></a> shorten declaration</li> 81 <li>Additional commits viewable in <a href="https://github.com/fkhadra/react-toastify/compare/v9.0.1...v9.1.1">compare view</a></li> 82 </ul> 83 </details> 84 <br /> 85 86 87 [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 88 89 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`. 90 91 [//]: # (dependabot-automerge-start) 92 [//]: # (dependabot-automerge-end) 93 94 --- 95 96 <details> 97 <summary>Dependabot commands and options</summary> 98 <br /> 99 100 You can trigger Dependabot actions by commenting on this PR: 101 - `@dependabot rebase` will rebase this PR 102 - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it 103 - `@dependabot merge` will merge this PR after your CI passes on it 104 - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it 105 - `@dependabot cancel merge` will cancel a previously requested merge and block automerging 106 - `@dependabot reopen` will reopen this PR if it is closed 107 - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually 108 - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) 109 - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) 110 - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) 111 112 113 </details> 114 115 116 ## Comments 117 118 ### @dependabot[bot] — 2023-01-03T16:44:47Z 119 120 OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting `@dependabot ignore this major version` or `@dependabot ignore this minor version`. You can also ignore all major, minor, or patch releases for a dependency by adding an [`ignore` condition](https://docs.github.com/en/code-security/supply-chain-security/configuration-options-for-dependency-updates#ignore) with the desired `update_types` to your config file. 121 122 If you change your mind, just re-open this PR and I'll resolve any conflicts on it. 123