diff options
| -rw-r--r-- | package.json | 1 | ||||
| -rw-r--r-- | pnpm-lock.yaml | 14 | ||||
| -rw-r--r-- | src/client/atoms/cards.ts | 2 | ||||
| -rw-r--r-- | src/client/atoms/decks.ts | 2 | ||||
| -rw-r--r-- | src/client/atoms/study.ts | 2 |
5 files changed, 18 insertions, 3 deletions
diff --git a/package.json b/package.json index bf7a1de..c000333 100644 --- a/package.json +++ b/package.json @@ -45,6 +45,7 @@ "hono": "^4.11.3", "hono-rate-limiter": "^0.5.3", "jotai": "^2.16.1", + "jotai-family": "^1.0.1", "jotai-tanstack-query": "^0.11.0", "pg": "^8.16.3", "react": "^19.2.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ddba5a4..2e5b4be 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -56,6 +56,9 @@ importers: jotai: specifier: ^2.16.1 version: 2.16.1(@babel/core@7.28.5)(@babel/template@7.27.2)(@types/react@19.2.7)(react@19.2.3) + jotai-family: + specifier: ^1.0.1 + version: 1.0.1(jotai@2.16.1(@babel/core@7.28.5)(@babel/template@7.27.2)(@types/react@19.2.7)(react@19.2.3)) jotai-tanstack-query: specifier: ^0.11.0 version: 0.11.0(@tanstack/query-core@5.90.20)(jotai@2.16.1(@babel/core@7.28.5)(@babel/template@7.27.2)(@types/react@19.2.7)(react@19.2.3))(react@19.2.3) @@ -2314,6 +2317,7 @@ packages: glob@11.1.0: resolution: {integrity: sha512-vuNwKSaKiqm7g0THUBu2x7ckSs3XJLXE+2ssL7/MfTGPLLcrJQ/4Uq1CjPTtO5cCIiRxqvN6Twy1qOwhL0Xjcw==} engines: {node: 20 || >=22} + deprecated: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me hasBin: true globalthis@1.0.4: @@ -2511,6 +2515,12 @@ packages: resolution: {integrity: sha512-ekilCSN1jwRvIbgeg/57YFh8qQDNbwDb9xT/qu2DAHbFFZUicIl4ygVaAvzveMhMVr3LnpSKTNnwt8PoOfmKhQ==} hasBin: true + jotai-family@1.0.1: + resolution: {integrity: sha512-Zb/79GNDhC/z82R+6qTTpeKW4l4H6ZCApfF5W8G4SH37E4mhbysU7r8DkP0KX94hWvjB/6lt/97nSr3wB+64Zg==} + engines: {node: '>=12.20.0'} + peerDependencies: + jotai: '>=2.9.0' + jotai-tanstack-query@0.11.0: resolution: {integrity: sha512-Ys0u0IuuS6/okUJOulFTdCVfVaeKbm1+lKVSN9zHhIxtrAXl9FM4yu7fNvxM6fSz/NCE9tZOKR0MQ3hvplaH8A==} peerDependencies: @@ -5705,6 +5715,10 @@ snapshots: jiti@2.6.1: {} + jotai-family@1.0.1(jotai@2.16.1(@babel/core@7.28.5)(@babel/template@7.27.2)(@types/react@19.2.7)(react@19.2.3)): + dependencies: + jotai: 2.16.1(@babel/core@7.28.5)(@babel/template@7.27.2)(@types/react@19.2.7)(react@19.2.3) + jotai-tanstack-query@0.11.0(@tanstack/query-core@5.90.20)(jotai@2.16.1(@babel/core@7.28.5)(@babel/template@7.27.2)(@types/react@19.2.7)(react@19.2.3))(react@19.2.3): dependencies: '@tanstack/query-core': 5.90.20 diff --git a/src/client/atoms/cards.ts b/src/client/atoms/cards.ts index c0275b0..225d78c 100644 --- a/src/client/atoms/cards.ts +++ b/src/client/atoms/cards.ts @@ -1,4 +1,4 @@ -import { atomFamily } from "jotai/utils"; +import { atomFamily } from "jotai-family"; import { atomWithSuspenseQuery } from "jotai-tanstack-query"; import { apiClient } from "../api/client"; diff --git a/src/client/atoms/decks.ts b/src/client/atoms/decks.ts index fc68727..5a624cf 100644 --- a/src/client/atoms/decks.ts +++ b/src/client/atoms/decks.ts @@ -1,4 +1,4 @@ -import { atomFamily } from "jotai/utils"; +import { atomFamily } from "jotai-family"; import { atomWithSuspenseQuery } from "jotai-tanstack-query"; import { apiClient } from "../api/client"; diff --git a/src/client/atoms/study.ts b/src/client/atoms/study.ts index 1911737..324f92e 100644 --- a/src/client/atoms/study.ts +++ b/src/client/atoms/study.ts @@ -1,4 +1,4 @@ -import { atomFamily } from "jotai/utils"; +import { atomFamily } from "jotai-family"; import { atomWithSuspenseQuery } from "jotai-tanstack-query"; import { apiClient } from "../api/client"; import { shuffle } from "../utils/shuffle"; |
