chore: bump up jotai-effect version to ^0.5.0 (#5781)

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [jotai-effect](https://togithub.com/jotaijs/jotai-effect) | [`^0.4.0` -> `^0.5.0`](https://renovatebot.com/diffs/npm/jotai-effect/0.4.0/0.5.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/jotai-effect/0.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/jotai-effect/0.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/jotai-effect/0.4.0/0.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/jotai-effect/0.4.0/0.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>jotaijs/jotai-effect (jotai-effect)</summary>

### [`v0.5.0`](https://togithub.com/jotaijs/jotai-effect/releases/tag/v0.5.0)

[Compare Source](https://togithub.com/jotaijs/jotai-effect/compare/v0.4.0...v0.5.0)

Adds support for reading an atom's value without subscribing to it.

Read atom data without subscribing to changes with `get.peek`.

```ts
const countAtom = atom(0)
atomEffect((get, set) => {
  // will not rerun when countAtom changes
  const count = get.peek(countAtom)
})
```

#### What's Changed

-   feat: get.peek reads atom value without subscribing to updates by [@&#8203;dmaskasky](https://togithub.com/dmaskasky) in [https://github.com/jotaijs/jotai-effect/pull/30](https://togithub.com/jotaijs/jotai-effect/pull/30)

**Full Changelog**: https://github.com/jotaijs/jotai-effect/compare/v0.4.0...v0.5.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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE1My4yIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5In0=-->
This commit is contained in:
LongYinan
2024-02-02 07:16:11 +00:00
parent 4b3808faf9
commit ee3d195811
4 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -22,7 +22,7 @@
"@blocksuite/store": "0.12.0-canary-202402010557-e8d6e1d",
"foxact": "^0.2.20",
"jotai": "^2.5.1",
"jotai-effect": "^0.4.0",
"jotai-effect": "^0.5.0",
"lodash-es": "^4.17.21",
"nanoid": "^5.0.3",
"react": "18.2.0",
+1 -1
View File
@@ -51,7 +51,7 @@
"dayjs": "^1.11.10",
"foxact": "^0.2.20",
"jotai": "^2.5.1",
"jotai-effect": "^0.4.0",
"jotai-effect": "^0.5.0",
"jotai-scope": "^0.5.0",
"lit": "^3.0.2",
"lodash-es": "^4.17.21",
+1 -1
View File
@@ -66,7 +66,7 @@
"intl-segmenter-polyfill-rs": "^0.1.6",
"jotai": "^2.5.1",
"jotai-devtools": "^0.7.0",
"jotai-effect": "^0.4.0",
"jotai-effect": "^0.5.0",
"jotai-scope": "^0.5.0",
"lit": "^3.0.2",
"lodash-es": "^4.17.21",
+7 -7
View File
@@ -249,7 +249,7 @@ __metadata:
fake-indexeddb: "npm:^5.0.0"
foxact: "npm:^0.2.20"
jotai: "npm:^2.5.1"
jotai-effect: "npm:^0.4.0"
jotai-effect: "npm:^0.5.0"
jotai-scope: "npm:^0.5.0"
lit: "npm:^3.0.2"
lodash-es: "npm:^4.17.21"
@@ -355,7 +355,7 @@ __metadata:
intl-segmenter-polyfill-rs: "npm:^0.1.6"
jotai: "npm:^2.5.1"
jotai-devtools: "npm:^0.7.0"
jotai-effect: "npm:^0.4.0"
jotai-effect: "npm:^0.5.0"
jotai-scope: "npm:^0.5.0"
lit: "npm:^3.0.2"
lodash-es: "npm:^4.17.21"
@@ -13077,7 +13077,7 @@ __metadata:
async-call-rpc: "npm:^6.3.1"
foxact: "npm:^0.2.20"
jotai: "npm:^2.5.1"
jotai-effect: "npm:^0.4.0"
jotai-effect: "npm:^0.5.0"
lodash-es: "npm:^4.17.21"
nanoid: "npm:^5.0.3"
react: "npm:^18.2.0"
@@ -24513,12 +24513,12 @@ __metadata:
languageName: node
linkType: hard
"jotai-effect@npm:^0.4.0":
version: 0.4.0
resolution: "jotai-effect@npm:0.4.0"
"jotai-effect@npm:^0.5.0":
version: 0.5.0
resolution: "jotai-effect@npm:0.5.0"
peerDependencies:
jotai: ">=2.5.0"
checksum: 10/d2c0d29239dd07361d9398c7da73843ea1190fb3321765ee681132fdf4e285ce44d0008572c5638965cdff07f3941d4fc0582b425b9728ace7e24453e4a5bf3b
checksum: 10/8aad4a968e479ae96141f504afa3156e924d154690e2e874d02c6aa42cbd2a78eed80717d6b31d1263a503c3416ecc582301ff689f2097790eb70bf4cef6c280
languageName: node
linkType: hard