fix: update react

This commit is contained in:
Carl-Gerhard Lindesvärd
2025-12-15 11:26:11 +01:00
parent c46cda12eb
commit 0f9ac4508a
4 changed files with 1193 additions and 1461 deletions

View File

@@ -1,10 +0,0 @@
import { unstable_cache } from 'next/cache';
import { cookies } from 'next/headers';
import { validateSessionToken } from './src/session';
export const auth = async () => {
const token = (await cookies().get('session')?.value) ?? null;
return cachedAuth(token);
};
export const cachedAuth = unstable_cache(validateSessionToken);

View File

@@ -22,7 +22,6 @@
"typescript": "catalog:" "typescript": "catalog:"
}, },
"peerDependencies": { "peerDependencies": {
"next": "14.2.1",
"react": "catalog:" "react": "catalog:"
} }
} }

2633
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -7,10 +7,10 @@ packages:
# Define a catalog of version ranges. # Define a catalog of version ranges.
catalog: catalog:
zod: ^3.24.2 zod: ^3.24.2
react: ^19.0.0 react: ^19.2.3
"@types/react": ^19.0.0 "@types/react": ^19.2.3
"react-dom": ^19.0.0 "react-dom": ^19.2.3
"@types/react-dom": ^19.0.0 "@types/react-dom": ^19.2.3
"@types/node": ^24.7.1 "@types/node": ^24.7.1
typescript: ^5.9.3 typescript: ^5.9.3
groupmq: 1.1.1-next.2 groupmq: 1.1.1-next.2