258.json (6583B)
1 { 2 "number": 258, 3 "title": "Bump react-toastify from 9.0.1 to 9.1.1", 4 "state": "closed", 5 "diff_file": "258.diff", 6 "author": "dependabot[bot]", 7 "created_at": "2023-01-03T16:44:13Z", 8 "closed_at": "2023-01-03T16:44:45Z", 9 "merged_at": null, 10 "base_ref": "main", 11 "head_ref": "dependabot/npm_and_yarn/react-toastify-9.1.1", 12 "labels": [ 13 "dependencies", 14 "javascript" 15 ], 16 "assignees": [ 17 "MTRNord" 18 ], 19 "requested_reviewers": [ 20 "MTRNord" 21 ], 22 "body": "Bumps [react-toastify](https://github.com/fkhadra/react-toastify) from 9.0.1 to 9.1.1.\n<details>\n<summary>Release notes</summary>\n<p><em>Sourced from <a href=\"https://github.com/fkhadra/react-toastify/releases\">react-toastify's releases</a>.</em></p>\n<blockquote>\n<h2>v9.1.0</h2>\n<h1>Release notes</h1>\n<h2>\ud83d\ude80 Features</h2>\n<ul>\n<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>\n</ul>\n<p>For example:</p>\n<pre lang=\"tsx\"><code>interface Success {\n username: string\n}\n<p>interface Error {\nerr: string\n}</p>\n<p>toast.promise<Success,Error>(myPromise, {\nsuccess: {\nrender({ data }) {\nreturn data.username;\n}\n},\nerror: {\nrender({ data }) {\nreturn data.err;\n}\n}\n})</p>\n<p></code></pre></p>\n<ul>\n<li><code>toast.update</code> accepts a generic as well to specify the data type</li>\n</ul>\n<pre lang=\"tsx\"><code>interface TData {\n username: string\n}\n<p>toast.update<TData>(id, {\ndata: payload,\nrender({ data }) {\nreturn <code>hello ${data.username}</code>\n}\n})\n</code></pre></p>\n<h2>\ud83d\udd77 Bugfixes</h2>\n<ul>\n<li>fix progress countdown stops on mobile <a href=\"https://github-redirect.dependabot.com/fkhadra/react-toastify/issues/580\">#580</a></li>\n<li>prevent clash with ios native gesture <a href=\"https://github-redirect.dependabot.com/fkhadra/react-toastify/issues/397\">#397</a></li>\n</ul>\n<!-- raw HTML omitted -->\n</blockquote>\n<p>... (truncated)</p>\n</details>\n<details>\n<summary>Commits</summary>\n<ul>\n<li><a href=\"https://github.com/fkhadra/react-toastify/commit/555963af91092a735441163589fa630d29a92817\"><code>555963a</code></a> 9.1.1</li>\n<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>\n<li><a href=\"https://github.com/fkhadra/react-toastify/commit/e5074908afaafe78ce609562cfffbd5990897de6\"><code>e507490</code></a> 9.1.0</li>\n<li><a href=\"https://github.com/fkhadra/react-toastify/commit/e8cac357c0ceaf45436d10bc83c71a8ba6225410\"><code>e8cac35</code></a> allow to specify TData for update</li>\n<li><a href=\"https://github.com/fkhadra/react-toastify/commit/f33823df3342057b60b513aefa0473f07729de3f\"><code>f33823d</code></a> clean a bit</li>\n<li><a href=\"https://github.com/fkhadra/react-toastify/commit/80fab3c163a9140477d6c4452819da041f58c648\"><code>80fab3c</code></a> deprecate onClick</li>\n<li><a href=\"https://github.com/fkhadra/react-toastify/commit/3afe7efcb3c8bba8776934ee1ba193d4b1b1ce3b\"><code>3afe7ef</code></a> remove isNil util</li>\n<li><a href=\"https://github.com/fkhadra/react-toastify/commit/54e397af872ff69476098b4ddd17897c499b53d1\"><code>54e397a</code></a> remove excessive validation</li>\n<li><a href=\"https://github.com/fkhadra/react-toastify/commit/4952d948ec8647a705ec905074c51e2559f4f77f\"><code>4952d94</code></a> Revert "alias requestAnimationFrame"</li>\n<li><a href=\"https://github.com/fkhadra/react-toastify/commit/498c1694b9fb0fa74686cdd75f3c02e8b571b426\"><code>498c169</code></a> shorten declaration</li>\n<li>Additional commits viewable in <a href=\"https://github.com/fkhadra/react-toastify/compare/v9.0.1...v9.1.1\">compare view</a></li>\n</ul>\n</details>\n<br />\n\n\n[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)\n\nDependabot 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`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n<details>\n<summary>Dependabot commands and options</summary>\n<br />\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@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)\n- `@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)\n- `@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)\n\n\n</details>", 23 "comments": [ 24 { 25 "author": "dependabot[bot]", 26 "created_at": "2023-01-03T16:44:47Z", 27 "body": "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.\n\nIf you change your mind, just re-open this PR and I'll resolve any conflicts on it." 28 } 29 ], 30 "review_comments": [] 31 }