From 3698cbdb32641620b1d882f1bb4a63690b3dfcd6 Mon Sep 17 00:00:00 2001 From: renovate Date: Mon, 23 Dec 2024 21:55:39 +0000 Subject: [PATCH] fix(deps): update dependency swr to v2.3.0 (#413) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [swr](https://swr.vercel.app) ([source](https://github.com/vercel/swr)) | dependencies | minor | [`2.2.5` -> `2.3.0`](https://renovatebot.com/diffs/npm/swr/2.2.5/2.3.0) | --- ### Release Notes
vercel/swr (swr) ### [`v2.3.0`](https://github.com/vercel/swr/releases/tag/v2.3.0) [Compare Source](https://github.com/vercel/swr/compare/v2.2.5...v2.3.0) ##### Feature - Support promises as fallback data by [@​shuding](https://github.com/shuding) in https://github.com/vercel/swr/pull/2891 - Allow to use with React 19 by [@​vladshcherbin](https://github.com/vladshcherbin) and [@​devjiwonchoi](https://github.com/devjiwonchoi) in https://github.com/vercel/swr/pull/3047, https://github.com/vercel/swr/pull/2963 ##### Patches - fix [#​3030](https://github.com/vercel/swr/issues/3030) and run relateive test in edge-runtime by [@​promer94](https://github.com/promer94) in https://github.com/vercel/swr/pull/3036 - fix: Only suspend when using the `fallback` by [@​shuding](https://github.com/shuding) in https://github.com/vercel/swr/pull/3045 - fix type check in tests by [@​huozhi](https://github.com/huozhi) in https://github.com/vercel/swr/pull/3052 - fix: Replace the deprecated 'window' with 'globalThis' for Deno by [@​saul-atomrigs](https://github.com/saul-atomrigs) in https://github.com/vercel/swr/pull/2915 - fix: check if config.fallback is undefined by [@​taku-hatano](https://github.com/taku-hatano) in https://github.com/vercel/swr/pull/2913 - fix(infinte): export SWRInfiniteKeyedMutator type by [@​LeoMcA](https://github.com/LeoMcA) in https://github.com/vercel/swr/pull/2900 - fix: Improve comparison performance by [@​shuding](https://github.com/shuding) in https://github.com/vercel/swr/pull/2973 - Export ScopedMutator type by [@​joshkel](https://github.com/joshkel) in https://github.com/vercel/swr/pull/2937 - Improve-Type-Safety-and-State-Access-in-useStateWithDeps-Hook by [@​O-BERNARDOFOEGBU](https://github.com/O-BERNARDOFOEGBU) in https://github.com/vercel/swr/pull/3027 ##### Misc - chore: bump dev deps and change example react version to latest by [@​huozhi](https://github.com/huozhi) in https://github.com/vercel/swr/pull/2894 - build: fix beta release job by [@​huozhi](https://github.com/huozhi) in https://github.com/vercel/swr/pull/2895 - chore: Improve test coverage by [@​shuding](https://github.com/shuding) in https://github.com/vercel/swr/pull/2903 - chore: simplify test coverage strategy by [@​huozhi](https://github.com/huozhi) in https://github.com/vercel/swr/pull/2909 - build: simplify react-server export and update bundler by [@​huozhi](https://github.com/huozhi) in https://github.com/vercel/swr/pull/2897 - examples: add RSC streaming pre-render with promise fallback example by [@​promer94](https://github.com/promer94) in https://github.com/vercel/swr/pull/2905 - Drop client-only by [@​huozhi](https://github.com/huozhi) in https://github.com/vercel/swr/pull/2910 - Mark package as side-effect free by [@​htunnicliff](https://github.com/htunnicliff) in https://github.com/vercel/swr/pull/2904 - Drop exports module field by [@​huozhi](https://github.com/huozhi) in https://github.com/vercel/swr/pull/2911 - chore: update pkg script watch by [@​unliar](https://github.com/unliar) in https://github.com/vercel/swr/pull/2920 - test: remove console.error times check by [@​promer94](https://github.com/promer94) in https://github.com/vercel/swr/pull/2918 - build: bump bundler for perf by [@​huozhi](https://github.com/huozhi) in https://github.com/vercel/swr/pull/2929 - Fix bundling of client entry chunks by [@​huozhi](https://github.com/huozhi) in https://github.com/vercel/swr/pull/2932 - ci: fix ci error and upgrade action version by [@​promer94](https://github.com/promer94) in https://github.com/vercel/swr/pull/2952 - Add SWRInfiniteMutatorOptions type to export by [@​ludwigbacklund](https://github.com/ludwigbacklund) in https://github.com/vercel/swr/pull/2954 - test: update the revalidate function test for useSWRInfinite by [@​koba04](https://github.com/koba04) in https://github.com/vercel/swr/pull/2955 - chore: upgrade nextjs dev dep for e2e testing by [@​huozhi](https://github.com/huozhi) in https://github.com/vercel/swr/pull/3044 - ci: simplify ci config and bump some deps version by [@​promer94](https://github.com/promer94) in https://github.com/vercel/swr/pull/2770 - chore: reorganize entries by [@​huozhi](https://github.com/huozhi) in https://github.com/vercel/swr/pull/3048 - Bump bundler and reorganize serialize exports by [@​huozhi](https://github.com/huozhi) in https://github.com/vercel/swr/pull/3049 - upgrade use-sync-external-store to support react 19 by [@​huozhi](https://github.com/huozhi) in https://github.com/vercel/swr/pull/3050 #### New Contributors - [@​htunnicliff](https://github.com/htunnicliff) made their first contribution in https://github.com/vercel/swr/pull/2904 - [@​saul-atomrigs](https://github.com/saul-atomrigs) made their first contribution in https://github.com/vercel/swr/pull/2915 - [@​unliar](https://github.com/unliar) made their first contribution in https://github.com/vercel/swr/pull/2920 - [@​ludwigbacklund](https://github.com/ludwigbacklund) made their first contribution in https://github.com/vercel/swr/pull/2954 - [@​taku-hatano](https://github.com/taku-hatano) made their first contribution in https://github.com/vercel/swr/pull/2913 - [@​LeoMcA](https://github.com/LeoMcA) made their first contribution in https://github.com/vercel/swr/pull/2900 - [@​devjiwonchoi](https://github.com/devjiwonchoi) made their first contribution in https://github.com/vercel/swr/pull/2963 - [@​vladshcherbin](https://github.com/vladshcherbin) made their first contribution in https://github.com/vercel/swr/pull/3047 - [@​O-BERNARDOFOEGBU](https://github.com/O-BERNARDOFOEGBU) made their first contribution in https://github.com/vercel/swr/pull/3027 **Full Changelog**: https://github.com/vercel/swr/compare/v2.2.5...v2.3.0
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). Reviewed-on: https://git.tristess.app/alexandresoro/ouca/pulls/413 Reviewed-by: Alexandre Soro Co-authored-by: renovate Co-committed-by: renovate --- packages/frontend/package.json | 2 +- pnpm-lock.yaml | 19 +++++++------------ 2 files changed, 8 insertions(+), 13 deletions(-) diff --git a/packages/frontend/package.json b/packages/frontend/package.json index 40bf57fa0..971bfc506 100644 --- a/packages/frontend/package.json +++ b/packages/frontend/package.json @@ -52,7 +52,7 @@ "react-map-gl": "7.1.8", "react-oidc-context": "3.2.0", "react-router-dom": "6.28.1", - "swr": "2.2.5", + "swr": "2.3.0", "unique-names-generator": "4.7.1", "use-deep-compare-effect": "1.8.1", "zod": "3.24.1" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9315ddcb0..760f66890 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -263,8 +263,8 @@ importers: specifier: 6.28.1 version: 6.28.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) swr: - specifier: 2.2.5 - version: 2.2.5(react@18.3.1) + specifier: 2.3.0 + version: 2.3.0(react@18.3.1) unique-names-generator: specifier: 4.7.1 version: 4.7.1 @@ -1865,9 +1865,6 @@ packages: cjs-module-lexer@1.4.1: resolution: {integrity: sha512-cuSVIHi9/9E/+821Qjdvngor+xpnlwnuwIyZOaLmHBVdXL+gP+I6QQB9VkO7RI77YIcTV+S1W9AreJ5eN63JBA==} - client-only@0.0.1: - resolution: {integrity: sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==} - clsx@2.1.1: resolution: {integrity: sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==} engines: {node: '>=6'} @@ -3416,10 +3413,10 @@ packages: sweepline-intersections@1.5.0: resolution: {integrity: sha512-AoVmx72QHpKtItPu72TzFL+kcYjd67BPLDoR0LarIk+xyaRg+pDTMFXndIEvZf9xEKnJv6JdhgRMnocoG0D3AQ==} - swr@2.2.5: - resolution: {integrity: sha512-QtxqyclFeAsxEUeZIYmsaQ0UjimSq1RZ9Un7I68/0ClKK/U3LoyQunwkQfJZr2fc22DfIXLNDc2wFyTEikCUpg==} + swr@2.3.0: + resolution: {integrity: sha512-NyZ76wA4yElZWBHzSgEJc28a0u6QZvhb6w0azeL2k7+Q1gAzVK+IqQYXhVOC/mzi+HZIozrZvBVeSeOZNR2bqA==} peerDependencies: - react: ^16.11.0 || ^17.0.0 || ^18.0.0 + react: ^16.11.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 tabbable@6.2.0: resolution: {integrity: sha512-Cat63mxsVJlzYvN51JmVXIgNoUokrIaT2zLclCXjRd8boZ0004U4KCs/sToJ75C6sdlByWxpYnb5Boif1VSFew==} @@ -5338,8 +5335,6 @@ snapshots: cjs-module-lexer@1.4.1: {} - client-only@0.0.1: {} - clsx@2.1.1: {} cluster-key-slot@1.1.2: {} @@ -6866,9 +6861,9 @@ snapshots: dependencies: tinyqueue: 2.0.3 - swr@2.2.5(react@18.3.1): + swr@2.3.0(react@18.3.1): dependencies: - client-only: 0.0.1 + dequal: 2.0.3 react: 18.3.1 use-sync-external-store: 1.4.0(react@18.3.1)