From 69892655a185f830e0e44d176c946a70572097bd Mon Sep 17 00:00:00 2001 From: renovate <29139614+renovate@users.noreply.github.com> Date: Fri, 30 Aug 2024 04:34:04 +0000 Subject: [PATCH] chore: bump up valtio version to v2 (#8025) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [valtio](https://togithub.com/pmndrs/valtio) | [`^1.13.2` -> `^2.0.0`](https://renovatebot.com/diffs/npm/valtio/1.13.2/2.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/valtio/2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/valtio/2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/valtio/1.13.2/2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/valtio/1.13.2/2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
pmndrs/valtio (valtio) ### [`v2.0.0`](https://togithub.com/pmndrs/valtio/releases/tag/v2.0.0) [Compare Source](https://togithub.com/pmndrs/valtio/compare/v1.13.2...v2.0.0) ### πŸŽ‰πŸŽ‰πŸŽ‰ Valtio v2 is Here! 🍾🍾🍾 #### Small Breaking Changes Most users won't even notice the differences, but we recommend checking out the [migration guide](https://togithub.com/pmndrs/valtio/blob/main/docs/guides/migrating-to-v2.mdx) to ensure a smooth transition. #### New Emoji πŸ’Š -> πŸ§™ Say hello to our new emoji! This change symbolizes the magic of Valtio. #### Let’s Grow the Ecosystem Together! We are entering a new era of Valtio development, and we need your help to grow the ecosystem. Whether you are an experienced contributor or just getting started, now is the perfect time to join us! #### What's Changed - v2 by [@​dai-shi](https://togithub.com/dai-shi) in [https://github.com/pmndrs/valtio/pull/810](https://togithub.com/pmndrs/valtio/pull/810) - feat(core): expose internal states and functions by [@​dai-shi](https://togithub.com/dai-shi) in [https://github.com/pmndrs/valtio/pull/931](https://togithub.com/pmndrs/valtio/pull/931) - breaking(vanilla): do not handle promises by [@​dai-shi](https://togithub.com/dai-shi) in [https://github.com/pmndrs/valtio/pull/934](https://togithub.com/pmndrs/valtio/pull/934) #### New Contributors - [@​AmirSa12](https://togithub.com/AmirSa12) made their first contribution in [https://github.com/pmndrs/valtio/pull/898](https://togithub.com/pmndrs/valtio/pull/898) - [@​TotallyBiased](https://togithub.com/TotallyBiased) made their first contribution in [https://github.com/pmndrs/valtio/pull/901](https://togithub.com/pmndrs/valtio/pull/901) - [@​L-Qun](https://togithub.com/L-Qun) made their first contribution in [https://github.com/pmndrs/valtio/pull/908](https://togithub.com/pmndrs/valtio/pull/908) - [@​himself65](https://togithub.com/himself65) made their first contribution in [https://github.com/pmndrs/valtio/pull/920](https://togithub.com/pmndrs/valtio/pull/920) - [@​kciter](https://togithub.com/kciter) made their first contribution in [https://github.com/pmndrs/valtio/pull/922](https://togithub.com/pmndrs/valtio/pull/922) **Full Changelog**: https://github.com/pmndrs/valtio/compare/v1.13.2...v2.0.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 was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE). --- packages/frontend/core/package.json | 2 +- yarn.lock | 44 ++++++++--------------------- 2 files changed, 13 insertions(+), 33 deletions(-) diff --git a/packages/frontend/core/package.json b/packages/frontend/core/package.json index a3a4ff2efb..3dfa227f83 100644 --- a/packages/frontend/core/package.json +++ b/packages/frontend/core/package.json @@ -91,7 +91,7 @@ "swr": "2.2.5", "tinykeys": "patch:tinykeys@npm%3A2.1.0#~/.yarn/patches/tinykeys-npm-2.1.0-819feeaed0.patch", "uuid": "^10.0.0", - "valtio": "^1.13.2", + "valtio": "^2.0.0", "y-protocols": "^1.0.6", "yjs": "patch:yjs@npm%3A13.6.18#~/.yarn/patches/yjs-npm-13.6.18-ad0d5f7c43.patch", "zod": "^3.22.4" diff --git a/yarn.lock b/yarn.lock index cd08a5e8b4..f8a0fd10d6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -495,7 +495,7 @@ __metadata: swr: "npm:2.2.5" tinykeys: "patch:tinykeys@npm%3A2.1.0#~/.yarn/patches/tinykeys-npm-2.1.0-819feeaed0.patch" uuid: "npm:^10.0.0" - valtio: "npm:^1.13.2" + valtio: "npm:^2.0.0" vitest: "npm:1.6.0" y-protocols: "npm:^1.0.6" yjs: "patch:yjs@npm%3A13.6.18#~/.yarn/patches/yjs-npm-13.6.18-ad0d5f7c43.patch" @@ -19737,15 +19737,6 @@ __metadata: languageName: node linkType: hard -"derive-valtio@npm:0.1.0": - version: 0.1.0 - resolution: "derive-valtio@npm:0.1.0" - peerDependencies: - valtio: "*" - checksum: 10/3fec351a46cbe2aa37099059e4fc8f518bc4c2c9e9f29cc3e55811fb9ce61f3fc49302196c620705fc5584e5a8e1be629a4269f9903899450099a487ceea8e3b - languageName: node - linkType: hard - "destr@npm:^2.0.3": version: 2.0.3 resolution: "destr@npm:2.0.3" @@ -30259,10 +30250,10 @@ __metadata: languageName: node linkType: hard -"proxy-compare@npm:2.6.0": - version: 2.6.0 - resolution: "proxy-compare@npm:2.6.0" - checksum: 10/c7fc9e50873f01bd79bf68ed861f740891d6c590332954b9522479a5c7d598a62225fdfa8a42460d9be5bc7a78c28377839d9d06fbced26cae62332c4410b81a +"proxy-compare@npm:^3.0.0": + version: 3.0.0 + resolution: "proxy-compare@npm:3.0.0" + checksum: 10/072b654e303ac6c7a9ac94648614b84388bd8b25828bd4971123dfe5a843e0848e5bf17d0ce546e9878395f356e695109b234c97183614469ff757e68ed39904 languageName: node linkType: hard @@ -35037,15 +35028,6 @@ __metadata: languageName: node linkType: hard -"use-sync-external-store@npm:1.2.0": - version: 1.2.0 - resolution: "use-sync-external-store@npm:1.2.0" - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: 10/a676216affc203876bd47981103f201f28c2731361bb186367e12d287a7566763213a8816910c6eb88265eccd4c230426eb783d64c373c4a180905be8820ed8e - languageName: node - linkType: hard - "use-sync-external-store@npm:^1.2.0": version: 1.2.2 resolution: "use-sync-external-store@npm:1.2.2" @@ -35191,22 +35173,20 @@ __metadata: languageName: node linkType: hard -"valtio@npm:^1.13.2": - version: 1.13.2 - resolution: "valtio@npm:1.13.2" +"valtio@npm:^2.0.0": + version: 2.0.0 + resolution: "valtio@npm:2.0.0" dependencies: - derive-valtio: "npm:0.1.0" - proxy-compare: "npm:2.6.0" - use-sync-external-store: "npm:1.2.0" + proxy-compare: "npm:^3.0.0" peerDependencies: - "@types/react": ">=16.8" - react: ">=16.8" + "@types/react": ">=18.0.0" + react: ">=18.0.0" peerDependenciesMeta: "@types/react": optional: true react: optional: true - checksum: 10/0e638f23314fc61a31571cd27bfc2169330d2488cf6d2bd1526535aca67e633734707a1e787ab475151dbca277754db7da08c5cf0372ea2a48a563f33a25ade0 + checksum: 10/8730918b7ac4e36e99500c90c7d945a35f519281d4b24ed21324dcd89a7ec9da86fb7a92270bdc11bddd7126172abec3a0d2887f32beef5c1fab9fd5eda4eae3 languageName: node linkType: hard