Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump swr from 2.2.4 to 2.3.0 in /frontend (#1065)
Bumps [swr](https://github.com/vercel/swr) from 2.2.4 to 2.3.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/vercel/swr/releases">swr's releases</a>.</em></p> <blockquote> <h2>v2.3.0</h2> <h3>Feature</h3> <ul> <li>Support promises as fallback data by <a href="https://github.com/shuding"><code>@shuding</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2891">vercel/swr#2891</a></li> <li>Allow to use with React 19 by <a href="https://github.com/vladshcherbin"><code>@vladshcherbin</code></a> and <a href="https://github.com/devjiwonchoi"><code>@devjiwonchoi</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/3047">vercel/swr#3047</a>, <a href="https://redirect.github.com/vercel/swr/pull/2963">vercel/swr#2963</a></li> </ul> <h3>Patches</h3> <ul> <li>fix <a href="https://redirect.github.com/vercel/swr/issues/3030">#3030</a> and run relateive test in edge-runtime by <a href="https://github.com/promer94"><code>@promer94</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/3036">vercel/swr#3036</a></li> <li>fix: Only suspend when using the <code>fallback</code> by <a href="https://github.com/shuding"><code>@shuding</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/3045">vercel/swr#3045</a></li> <li>fix type check in tests by <a href="https://github.com/huozhi"><code>@huozhi</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/3052">vercel/swr#3052</a></li> <li>fix: Replace the deprecated 'window' with 'globalThis' for Deno by <a href="https://github.com/saul-atomrigs"><code>@saul-atomrigs</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2915">vercel/swr#2915</a></li> <li>fix: check if config.fallback is undefined by <a href="https://github.com/taku-hatano"><code>@taku-hatano</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2913">vercel/swr#2913</a></li> <li>fix(infinte): export SWRInfiniteKeyedMutator type by <a href="https://github.com/LeoMcA"><code>@LeoMcA</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2900">vercel/swr#2900</a></li> <li>fix: Improve comparison performance by <a href="https://github.com/shuding"><code>@shuding</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2973">vercel/swr#2973</a></li> <li>Export ScopedMutator type by <a href="https://github.com/joshkel"><code>@joshkel</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2937">vercel/swr#2937</a></li> <li>Improve-Type-Safety-and-State-Access-in-useStateWithDeps-Hook by <a href="https://github.com/O-BERNARDOFOEGBU"><code>@O-BERNARDOFOEGBU</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/3027">vercel/swr#3027</a></li> </ul> <h3>Misc</h3> <ul> <li>chore: bump dev deps and change example react version to latest by <a href="https://github.com/huozhi"><code>@huozhi</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2894">vercel/swr#2894</a></li> <li>build: fix beta release job by <a href="https://github.com/huozhi"><code>@huozhi</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2895">vercel/swr#2895</a></li> <li>chore: Improve test coverage by <a href="https://github.com/shuding"><code>@shuding</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2903">vercel/swr#2903</a></li> <li>chore: simplify test coverage strategy by <a href="https://github.com/huozhi"><code>@huozhi</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2909">vercel/swr#2909</a></li> <li>build: simplify react-server export and update bundler by <a href="https://github.com/huozhi"><code>@huozhi</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2897">vercel/swr#2897</a></li> <li>examples: add RSC streaming pre-render with promise fallback example by <a href="https://github.com/promer94"><code>@promer94</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2905">vercel/swr#2905</a></li> <li>Drop client-only by <a href="https://github.com/huozhi"><code>@huozhi</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2910">vercel/swr#2910</a></li> <li>Mark package as side-effect free by <a href="https://github.com/htunnicliff"><code>@htunnicliff</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2904">vercel/swr#2904</a></li> <li>Drop exports module field by <a href="https://github.com/huozhi"><code>@huozhi</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2911">vercel/swr#2911</a></li> <li>chore: update pkg script watch by <a href="https://github.com/unliar"><code>@unliar</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2920">vercel/swr#2920</a></li> <li>test: remove console.error times check by <a href="https://github.com/promer94"><code>@promer94</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2918">vercel/swr#2918</a></li> <li>build: bump bundler for perf by <a href="https://github.com/huozhi"><code>@huozhi</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2929">vercel/swr#2929</a></li> <li>Fix bundling of client entry chunks by <a href="https://github.com/huozhi"><code>@huozhi</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2932">vercel/swr#2932</a></li> <li>ci: fix ci error and upgrade action version by <a href="https://github.com/promer94"><code>@promer94</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2952">vercel/swr#2952</a></li> <li>Add SWRInfiniteMutatorOptions type to export by <a href="https://github.com/ludwigbacklund"><code>@ludwigbacklund</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2954">vercel/swr#2954</a></li> <li>test: update the revalidate function test for useSWRInfinite by <a href="https://github.com/koba04"><code>@koba04</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2955">vercel/swr#2955</a></li> <li>chore: upgrade nextjs dev dep for e2e testing by <a href="https://github.com/huozhi"><code>@huozhi</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/3044">vercel/swr#3044</a></li> <li>ci: simplify ci config and bump some deps version by <a href="https://github.com/promer94"><code>@promer94</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2770">vercel/swr#2770</a></li> <li>chore: reorganize entries by <a href="https://github.com/huozhi"><code>@huozhi</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/3048">vercel/swr#3048</a></li> <li>Bump bundler and reorganize serialize exports by <a href="https://github.com/huozhi"><code>@huozhi</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/3049">vercel/swr#3049</a></li> <li>upgrade use-sync-external-store to support react 19 by <a href="https://github.com/huozhi"><code>@huozhi</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/3050">vercel/swr#3050</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/htunnicliff"><code>@htunnicliff</code></a> made their first contribution in <a href="https://redirect.github.com/vercel/swr/pull/2904">vercel/swr#2904</a></li> <li><a href="https://github.com/saul-atomrigs"><code>@saul-atomrigs</code></a> made their first contribution in <a href="https://redirect.github.com/vercel/swr/pull/2915">vercel/swr#2915</a></li> <li><a href="https://github.com/unliar"><code>@unliar</code></a> made their first contribution in <a href="https://redirect.github.com/vercel/swr/pull/2920">vercel/swr#2920</a></li> <li><a href="https://github.com/ludwigbacklund"><code>@ludwigbacklund</code></a> made their first contribution in <a href="https://redirect.github.com/vercel/swr/pull/2954">vercel/swr#2954</a></li> <li><a href="https://github.com/taku-hatano"><code>@taku-hatano</code></a> made their first contribution in <a href="https://redirect.github.com/vercel/swr/pull/2913">vercel/swr#2913</a></li> <li><a href="https://github.com/LeoMcA"><code>@LeoMcA</code></a> made their first contribution in <a href="https://redirect.github.com/vercel/swr/pull/2900">vercel/swr#2900</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/vercel/swr/commit/f22b2744566d46799f1274a4641cdb221e4871a3"><code>f22b274</code></a> 2.3.0</li> <li><a href="https://github.com/vercel/swr/commit/07d5178b726f506bdae126052aad0f7cde896b51"><code>07d5178</code></a> Improve-Type-Safety-and-State-Access-in-useStateWithDeps-Hook (<a href="https://redirect.github.com/vercel/swr/issues/3027">#3027</a>)</li> <li><a href="https://github.com/vercel/swr/commit/076a53818989af11b7e24b285e7b9538325bee73"><code>076a538</code></a> 2.2.6-beta.5</li> <li><a href="https://github.com/vercel/swr/commit/fbc5a5db3fad0a3b26552217833d4f404c08e4de"><code>fbc5a5d</code></a> ci: remove the duplicate checks-all script</li> <li><a href="https://github.com/vercel/swr/commit/68f401e2d741dad51caddac90485a7425e53a815"><code>68f401e</code></a> fix type check in tests (<a href="https://redirect.github.com/vercel/swr/issues/3052">#3052</a>)</li> <li><a href="https://github.com/vercel/swr/commit/77502441393b75776f00445835933770ebf7d8fc"><code>7750244</code></a> upgrade use-sync-external-store to support react 19 (<a href="https://redirect.github.com/vercel/swr/issues/3050">#3050</a>)</li> <li><a href="https://github.com/vercel/swr/commit/069191910165680072751d846fd00cecb1beb4c2"><code>0691919</code></a> Bump bundler and reorganize serialize exports (<a href="https://redirect.github.com/vercel/swr/issues/3049">#3049</a>)</li> <li><a href="https://github.com/vercel/swr/commit/92d97f034dce46140de56bbd2a4e3bb2854b85da"><code>92d97f0</code></a> chore: reorganize entries (<a href="https://redirect.github.com/vercel/swr/issues/3048">#3048</a>)</li> <li><a href="https://github.com/vercel/swr/commit/b375be7eef41e03566b4607f6264efd797bdbb1d"><code>b375be7</code></a> ci: simplify ci config and bump some deps version (<a href="https://redirect.github.com/vercel/swr/issues/2770">#2770</a>)</li> <li><a href="https://github.com/vercel/swr/commit/2160eca5df391f39a7398c94a8d1e136e13eb4f2"><code>2160eca</code></a> Update React 19 peer dependency version (<a href="https://redirect.github.com/vercel/swr/issues/3047">#3047</a>)</li> <li>Additional commits viewable in <a href="https://github.com/vercel/swr/compare/v2.2.4...v2.3.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=swr&package-manager=npm_and_yarn&previous-version=2.2.4&new-version=2.3.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@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) - `@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) - `@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) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information