Skip to content

Commit

Permalink
Bump swr from 1.3.0 to 2.1.3 in /ui (#133)
Browse files Browse the repository at this point in the history
Bumps [swr](https://github.com/vercel/swr) from 1.3.0 to 2.1.3.
<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.1.3</h2>
<h2>What's Changed</h2>
<ul>
<li>Fix <a
href="https://redirect.github.com/vercel/swr/issues/2548">#2548</a>:
pass origin key to subcription callback by <a
href="https://github.com/Zheaoli"><code>@​Zheaoli</code></a> in <a
href="https://redirect.github.com/vercel/swr/pull/2550">vercel/swr#2550</a></li>
<li>Examples: fix type in axios-typescript example by <a
href="https://github.com/daochouwangu"><code>@​daochouwangu</code></a>
in <a
href="https://redirect.github.com/vercel/swr/pull/2552">vercel/swr#2552</a></li>
<li>Update Cache Interface types by <a
href="https://github.com/dmmulroy"><code>@​dmmulroy</code></a> in <a
href="https://redirect.github.com/vercel/swr/pull/2554">vercel/swr#2554</a></li>
<li>fix: data passed to refreshInterval function is not latest by <a
href="https://github.com/hong24"><code>@​hong24</code></a> in <a
href="https://redirect.github.com/vercel/swr/pull/2354">vercel/swr#2354</a></li>
<li>types: allow passing function as <code>Data</code> for
<code>useSWRSubscriptionOptions</code> by <a
href="https://github.com/promer94"><code>@​promer94</code></a> in <a
href="https://redirect.github.com/vercel/swr/pull/2551">vercel/swr#2551</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/Zheaoli"><code>@​Zheaoli</code></a> made
their first contribution in <a
href="https://redirect.github.com/vercel/swr/pull/2550">vercel/swr#2550</a></li>
<li><a
href="https://github.com/daochouwangu"><code>@​daochouwangu</code></a>
made their first contribution in <a
href="https://redirect.github.com/vercel/swr/pull/2552">vercel/swr#2552</a></li>
<li><a href="https://github.com/dmmulroy"><code>@​dmmulroy</code></a>
made their first contribution in <a
href="https://redirect.github.com/vercel/swr/pull/2554">vercel/swr#2554</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/vercel/swr/compare/v2.1.2...v2.1.3">https://github.com/vercel/swr/compare/v2.1.2...v2.1.3</a></p>
<h2>v2.1.2</h2>
<h3>Patches</h3>
<ul>
<li>Improved type inferring for <code>swr/subscription</code></li>
<li>Adding <code>SWRSubscriptionOptions</code> type for
<code>swr/subscription</code></li>
</ul>
<h2>Changes</h2>
<ul>
<li>test: add typing test for empty config by <a
href="https://github.com/koba04"><code>@​koba04</code></a> in <a
href="https://redirect.github.com/vercel/swr/pull/2521">vercel/swr#2521</a></li>
<li>test: fix syntax error in Equal type alias implementation by <a
href="https://github.com/SACHINnANYAKKARA"><code>@​SACHINnANYAKKARA</code></a>
in <a
href="https://redirect.github.com/vercel/swr/pull/2517">vercel/swr#2517</a></li>
<li>chore: remove engines by <a
href="https://github.com/promer94"><code>@​promer94</code></a> in <a
href="https://redirect.github.com/vercel/swr/pull/2536">vercel/swr#2536</a></li>
<li>types: improve <code>useSWRSubscription</code> types by <a
href="https://github.com/promer94"><code>@​promer94</code></a> in <a
href="https://redirect.github.com/vercel/swr/pull/2535">vercel/swr#2535</a></li>
<li>Rename subscription types by <a
href="https://github.com/huozhi"><code>@​huozhi</code></a> in <a
href="https://redirect.github.com/vercel/swr/pull/2537">vercel/swr#2537</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/SACHINnANYAKKARA"><code>@​SACHINnANYAKKARA</code></a>
made their first contribution in <a
href="https://redirect.github.com/vercel/swr/pull/2517">vercel/swr#2517</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/vercel/swr/compare/v2.1.1...v2.1.2">https://github.com/vercel/swr/compare/v2.1.1...v2.1.2</a></p>
<h2>v2.1.1</h2>
<h2>Patches</h2>
<ul>
<li>refactor: remove useless dataRef, always compare cached data by <a
href="https://github.com/promer94"><code>@​promer94</code></a> in <a
href="https://redirect.github.com/vercel/swr/pull/2431">vercel/swr#2431</a></li>
<li>fix: swr infers incorrect <code>data</code> type for default
<code>SWRConfig</code> generic type by <a
href="https://github.com/connorch"><code>@​connorch</code></a> in <a
href="https://redirect.github.com/vercel/swr/pull/2506">vercel/swr#2506</a></li>
</ul>
<h2>Documentation</h2>
<ul>
<li>docs: update subscription example by <a
href="https://github.com/huozhi"><code>@​huozhi</code></a> in <a
href="https://redirect.github.com/vercel/swr/pull/2499">vercel/swr#2499</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/connorch"><code>@​connorch</code></a>
made their first contribution in <a
href="https://redirect.github.com/vercel/swr/pull/2506">vercel/swr#2506</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/vercel/swr/compare/v2.1.0...v2.1.1">https://github.com/vercel/swr/compare/v2.1.0...v2.1.1</a></p>
<h2>v2.1.0</h2>
<h2>Feature</h2>
<ul>
<li>Subscription mode by <a
href="https://github.com/huozhi"><code>@​huozhi</code></a> in <a
href="https://redirect.github.com/vercel/swr/pull/1263">vercel/swr#1263</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/6aff5f3862ac52860c90f6719d45cbc11cd9de85"><code>6aff5f3</code></a>
2.1.3</li>
<li><a
href="https://github.com/vercel/swr/commit/1f71783091e0d1f43b1dd9b9715101b92ff6486f"><code>1f71783</code></a>
types: allow passing function as <code>Data</code> for
<code>useSWRSubscriptionOptions</code> (<a
href="https://redirect.github.com/vercel/swr/issues/2551">#2551</a>)</li>
<li><a
href="https://github.com/vercel/swr/commit/540a4492e4dbd1bcfc708469badf17ecb5ae9070"><code>540a449</code></a>
fix: data passed to refreshInterval function is not latest (<a
href="https://redirect.github.com/vercel/swr/issues/2354">#2354</a>)</li>
<li><a
href="https://github.com/vercel/swr/commit/bb55887fa44349951a2180df96048ea30374f514"><code>bb55887</code></a>
types: Update Cache Interface types (<a
href="https://redirect.github.com/vercel/swr/issues/2554">#2554</a>)</li>
<li><a
href="https://github.com/vercel/swr/commit/c09d200024133f814e974e9ad221ce2a26bcc0c9"><code>c09d200</code></a>
Examples: fix type in axios-typescript example (<a
href="https://redirect.github.com/vercel/swr/issues/2552">#2552</a>)</li>
<li><a
href="https://github.com/vercel/swr/commit/af90b110bd1d5cbf67b97091840e14925229a722"><code>af90b11</code></a>
Fix <a
href="https://redirect.github.com/vercel/swr/issues/2548">#2548</a>:
pass origin key to subcription callback (<a
href="https://redirect.github.com/vercel/swr/issues/2550">#2550</a>)</li>
<li><a
href="https://github.com/vercel/swr/commit/bad51f61bf54166abcb0f2a424eafda88157a6ab"><code>bad51f6</code></a>
2.1.2</li>
<li><a
href="https://github.com/vercel/swr/commit/71101c458152cc24eb8411c31b39db388745dbe8"><code>71101c4</code></a>
Rename subscription types (<a
href="https://redirect.github.com/vercel/swr/issues/2537">#2537</a>)</li>
<li><a
href="https://github.com/vercel/swr/commit/b108377b1b37e5cbca72362f885c7666ee79ad6b"><code>b108377</code></a>
types: improve <code>useSWRSubscription</code> types (<a
href="https://redirect.github.com/vercel/swr/issues/2535">#2535</a>)</li>
<li><a
href="https://github.com/vercel/swr/commit/c52e747cf53683966ddde0529435836562188e07"><code>c52e747</code></a>
chore: remove engines (<a
href="https://redirect.github.com/vercel/swr/issues/2536">#2536</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/vercel/swr/compare/1.3.0...v2.1.3">compare
view</a></li>
</ul>
</details>
<details>
<summary>Maintainer changes</summary>
<p>This version was pushed to npm by <a
href="https://www.npmjs.com/~vercel-release-bot">vercel-release-bot</a>,
a new releaser for swr since your current version.</p>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=swr&package-manager=npm_and_yarn&previous-version=1.3.0&new-version=2.1.3)](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 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>
Co-authored-by: Eden Federman <eden@keyval.dev>
  • Loading branch information
dependabot[bot] and edeNFed authored Apr 25, 2023
1 parent 5cd1e6e commit d5f904a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"next": "latest",
"react": "18.1.0",
"react-dom": "18.1.0",
"swr": "^1.3.0"
"swr": "^2.1.3"
},
"devDependencies": {
"@types/node": "17.0.35",
Expand Down
15 changes: 11 additions & 4 deletions ui/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3114,10 +3114,12 @@ svgo@^2.5.0:
picocolors "^1.0.0"
stable "^0.1.8"

swr@^1.3.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/swr/-/swr-1.3.0.tgz#c6531866a35b4db37b38b72c45a63171faf9f4e8"
integrity sha512-dkghQrOl2ORX9HYrMDtPa7LTVHJjCTeZoB1dqTbnnEDlSvN8JEKpYIYurDfvbQFUUS8Cg8PceFVZNkW0KNNYPw==
swr@^2.1.3:
version "2.1.3"
resolved "https://registry.yarnpkg.com/swr/-/swr-2.1.3.tgz#ae3608d4dc19f75121e0b51d1982735fbf02f52e"
integrity sha512-g3ApxIM4Fjbd6vvEAlW60hJlKcYxHb+wtehogTygrh6Jsw7wNagv9m4Oj5Gq6zvvZw0tcyhVGL9L0oISvl3sUw==
dependencies:
use-sync-external-store "^1.2.0"

tailwindcss@^3.0.24:
version "3.0.24"
Expand Down Expand Up @@ -3249,6 +3251,11 @@ uri-js@^4.2.2:
dependencies:
punycode "^2.1.0"

use-sync-external-store@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz#7dbefd6ef3fe4e767a0cf5d7287aacfb5846928a"
integrity sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==

util-deprecate@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"
Expand Down

0 comments on commit d5f904a

Please sign in to comment.