From 87e7e6ef822991aabd0d5cf621efdc7eb7e6a71a Mon Sep 17 00:00:00 2001 From: Lacy Morrow Date: Mon, 14 Sep 2026 11:34:04 -0400 Subject: [PATCH] chore(deps): jotai 2 -> 3 (major) jotai 3.0.0 is ESM-only, requires Node >= 22.12, React 18+, TS 5.5+, moves atomFamily to jotai-family and removes loadable and jotai/babel. Nothing in src/, scripts/ or tests/ imports jotai and no other dependency depends on it, so no code changes; consider removing the dependency instead. Claude-Session: https://claude.ai/code/session_01KLWmWU1KLE2diUH14ryqv1 --- package.json | 2 +- pnpm-lock.yaml | 22 +++++++--------------- 2 files changed, 8 insertions(+), 16 deletions(-) diff --git a/package.json b/package.json index 89baeec..68f0795 100644 --- a/package.json +++ b/package.json @@ -125,7 +125,7 @@ "geist": "1.7.2", "holy-loader": "2.3.14", "input-otp": "^1.5.0", - "jotai": "2.17.1", + "jotai": "3.0.0", "lucide-react": "0.564.0", "motion": "^12.34.0", "next": "16.3.5", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 40fdf78..ff27d40 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -230,8 +230,8 @@ importers: specifier: ^1.5.0 version: 1.5.0(react-dom@19.2.4(react@19.2.4))(react@19.2.4) jotai: - specifier: 2.17.1 - version: 2.17.1(@babel/core@7.28.5)(@babel/template@7.27.2)(@types/react@19.2.18)(react@19.2.4) + specifier: 3.0.0 + version: 3.0.0(@types/react@19.2.18)(react@19.2.4) lucide-react: specifier: 0.564.0 version: 0.564.0(react@19.2.4) @@ -6182,19 +6182,13 @@ packages: jose@6.1.3: resolution: {integrity: sha512-0TpaTfihd4QMNwrz/ob2Bp7X04yuxJkjRGi4aKmOqwhov54i6u79oCv7T+C7lo70MKH6BesI3vscD1yb/yzKXQ==} - jotai@2.17.1: - resolution: {integrity: sha512-TFNZZDa/0ewCLQyRC/Sq9crtixNj/Xdf/wmj9631xxMuKToVJZDbqcHIYN0OboH+7kh6P6tpIK7uKWClj86PKw==} - engines: {node: '>=12.20.0'} + jotai@3.0.0: + resolution: {integrity: sha512-KxhbmsJUp/tmrv6aZgO+nzB3H9K8C0xmk5i3aGkwy/EANg73DVBkggv3zVHaAi5PlNlQgTgP4uiVepo+JC+wSA==} + engines: {node: '>=22.12.0'} peerDependencies: - '@babel/core': '>=7.0.0' - '@babel/template': '>=7.0.0' - '@types/react': '>=17.0.0' + '@types/react': '>=18.0.0' react: 19.2.4 peerDependenciesMeta: - '@babel/core': - optional: true - '@babel/template': - optional: true '@types/react': optional: true react: @@ -14797,10 +14791,8 @@ snapshots: jose@6.1.3: {} - jotai@2.17.1(@babel/core@7.28.5)(@babel/template@7.27.2)(@types/react@19.2.18)(react@19.2.4): + jotai@3.0.0(@types/react@19.2.18)(react@19.2.4): optionalDependencies: - '@babel/core': 7.28.5 - '@babel/template': 7.27.2 '@types/react': 19.2.18 react: 19.2.4