chore: bump up sonner version to v2 (#10535)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [sonner](https://sonner.emilkowal.ski/) ([source](https://redirect.github.com/emilkowalski/sonner)) | [`^1.7.1` -> `^2.0.0`](https://renovatebot.com/diffs/npm/sonner/1.7.4/2.0.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/sonner/2.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/sonner/2.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/sonner/1.7.4/2.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/sonner/1.7.4/2.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>emilkowalski/sonner (sonner)</summary>

### [`v2.0.1`](https://redirect.github.com/emilkowalski/sonner/releases/tag/v2.0.1)

[Compare Source](https://redirect.github.com/emilkowalski/sonner/compare/v2.0.0...v2.0.1)

##### What's Changed

-   fix: flush sync error by [@&#8203;emilkowalski](https://redirect.github.com/emilkowalski) in [https://github.com/emilkowalski/sonner/pull/586](https://redirect.github.com/emilkowalski/sonner/pull/586)
-   fix: allow users to select text after swipe gesture by [@&#8203;emilkowalski](https://redirect.github.com/emilkowalski) in [https://github.com/emilkowalski/sonner/pull/587](https://redirect.github.com/emilkowalski/sonner/pull/587)

**Full Changelog**: https://github.com/emilkowalski/sonner/compare/v2.0.0...v2.0.1

### [`v2.0.0`](https://redirect.github.com/emilkowalski/sonner/releases/tag/v2.0.0)

[Compare Source](8665072d34...v2.0.0)

Mostly bug fixes, see more at https://sonner.emilkowal.ski/getting-started.

##### What's Changed

-   sonner v2.0 by [@&#8203;emilkowalski](https://redirect.github.com/emilkowalski) in [https://github.com/emilkowalski/sonner/pull/558](https://redirect.github.com/emilkowalski/sonner/pull/558)

**Full Changelog**: https://github.com/emilkowalski/sonner/compare/v.2.0.0-beta.1...v2.0.0

</details>

---

### 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.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNzYuMiIsInVwZGF0ZWRJblZlciI6IjM5LjE3Ni4yIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
This commit is contained in:
renovate
2025-03-01 03:28:11 +00:00
parent b05315c6fa
commit 2b0c91b58b
3 changed files with 8 additions and 8 deletions

View File

@@ -47,7 +47,7 @@
"react-hook-form": "^7.54.1", "react-hook-form": "^7.54.1",
"react-resizable-panels": "^2.1.7", "react-resizable-panels": "^2.1.7",
"react-router-dom": "^6.28.0", "react-router-dom": "^6.28.0",
"sonner": "^1.7.1", "sonner": "^2.0.0",
"swr": "^2.2.5", "swr": "^2.2.5",
"vaul": "^1.1.1", "vaul": "^1.1.1",
"zod": "^3.24.1" "zod": "^3.24.1"

View File

@@ -60,7 +60,7 @@
"react-paginate": "^8.2.0", "react-paginate": "^8.2.0",
"react-router-dom": "^6.28.0", "react-router-dom": "^6.28.0",
"react-transition-state": "^2.2.0", "react-transition-state": "^2.2.0",
"sonner": "^1.7.1", "sonner": "^2.0.0",
"swr": "^2.2.5", "swr": "^2.2.5",
"zod": "^3.24.1" "zod": "^3.24.1"
}, },

View File

@@ -206,7 +206,7 @@ __metadata:
react-resizable-panels: "npm:^2.1.7" react-resizable-panels: "npm:^2.1.7"
react-router-dom: "npm:^6.28.0" react-router-dom: "npm:^6.28.0"
shadcn-ui: "npm:^0.9.4" shadcn-ui: "npm:^0.9.4"
sonner: "npm:^1.7.1" sonner: "npm:^2.0.0"
swr: "npm:^2.2.5" swr: "npm:^2.2.5"
tailwind-merge: "npm:^3.0.0" tailwind-merge: "npm:^3.0.0"
tailwindcss: "npm:^4.0.0" tailwindcss: "npm:^4.0.0"
@@ -328,7 +328,7 @@ __metadata:
react-paginate: "npm:^8.2.0" react-paginate: "npm:^8.2.0"
react-router-dom: "npm:^6.28.0" react-router-dom: "npm:^6.28.0"
react-transition-state: "npm:^2.2.0" react-transition-state: "npm:^2.2.0"
sonner: "npm:^1.7.1" sonner: "npm:^2.0.0"
storybook: "npm:^8.4.7" storybook: "npm:^8.4.7"
swr: "npm:^2.2.5" swr: "npm:^2.2.5"
typescript: "npm:^5.7.2" typescript: "npm:^5.7.2"
@@ -30424,13 +30424,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"sonner@npm:^1.7.1": "sonner@npm:^2.0.0":
version: 1.7.4 version: 2.0.1
resolution: "sonner@npm:1.7.4" resolution: "sonner@npm:2.0.1"
peerDependencies: peerDependencies:
react: ^18.0.0 || ^19.0.0 || ^19.0.0-rc react: ^18.0.0 || ^19.0.0 || ^19.0.0-rc
react-dom: ^18.0.0 || ^19.0.0 || ^19.0.0-rc react-dom: ^18.0.0 || ^19.0.0 || ^19.0.0-rc
checksum: 10/454dfedb9e91276dda38455fced43d66d84875048d5bf5e223c4d95167ca6fefb4d868ecec1c3bf5c9e91896dc6407adbde92eabb37a97126af4fb0856f96e61 checksum: 10/9213bc2d3da62075a4b8e7d20f56c8fd8d2d36ee793e68f3eba7c49c084755b61a158a4fb028a27c7e9c8ad54e584c77c22a3b3dfd6ea40798c1a703c6eb6506
languageName: node languageName: node
linkType: hard linkType: hard