Skip to content

Commit 81855db

Browse files
chore(auth-next,examples): upgrade to Next.js 15.2.6 (patches both CVEs)
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 106e791 commit 81855db

7 files changed

Lines changed: 1612 additions & 130 deletions

File tree

.syncpackrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"isIgnored": true
1616
},
1717
{
18-
"label": "Allow Next.js 14 in auth-next devDependencies for compatibility",
18+
"label": "Allow Next.js version flexibility in auth-next devDependencies",
1919
"dependencies": ["next"],
2020
"dependencyTypes": ["dev"],
2121
"packages": ["@imtbl/auth-next-server", "@imtbl/auth-next-client"],

examples/passport/wallets-connect-with-nextjs/lib/auth-next.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ import { createDefaultAuthConfig } from "@imtbl/auth-next-server";
55
* Default auth configuration for testing.
66
* This uses zero-config setup to demonstrate default auth functionality.
77
*/
8-
export const { handlers, auth, signIn, signOut } = NextAuth(createDefaultAuthConfig() as any);
8+
export const { handlers, auth, signIn, signOut } = NextAuth(createDefaultAuthConfig());

examples/passport/wallets-connect-with-nextjs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"@imtbl/wallet": "workspace:*",
1010
"@tanstack/react-query": "^5.51.11",
1111
"ethers": "^6.13.4",
12-
"next": "14.2.25",
12+
"next": "15.2.6",
1313
"next-auth": "^5.0.0-beta.30",
1414
"react": "^18.2.0",
1515
"react-dom": "^18.2.0",
@@ -21,7 +21,7 @@
2121
"@types/react": "^18.0.28",
2222
"@types/react-dom": "^18.0.11",
2323
"eslint": "^8",
24-
"eslint-config-next": "14.2.5",
24+
"eslint-config-next": "15.2.6",
2525
"postcss": "^8",
2626
"tailwindcss": "^3.4.1",
2727
"typescript": "^5.6.2"

examples/passport/wallets-connect-with-nextjs/tsconfig.json

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
{
22
"compilerOptions": {
3-
"lib": ["dom", "dom.iterable", "esnext"],
3+
"lib": [
4+
"dom",
5+
"dom.iterable",
6+
"esnext"
7+
],
48
"allowJs": true,
59
"skipLibCheck": true,
610
"strict": true,
@@ -18,9 +22,19 @@
1822
}
1923
],
2024
"paths": {
21-
"@/*": ["./*"]
22-
}
25+
"@/*": [
26+
"./*"
27+
]
28+
},
29+
"target": "ES2017"
2330
},
24-
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
25-
"exclude": ["node_modules"]
31+
"include": [
32+
"next-env.d.ts",
33+
"**/*.ts",
34+
"**/*.tsx",
35+
".next/types/**/*.ts"
36+
],
37+
"exclude": [
38+
"node_modules"
39+
]
2640
}

packages/auth-next-client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"@types/react": "^18.3.5",
6666
"eslint": "^8.56.0",
6767
"jest": "^29.7.0",
68-
"next": "^14.2.25",
68+
"next": "^15.2.6",
6969
"next-auth": "^5.0.0-beta.30",
7070
"react": "^18.2.0",
7171
"tsup": "^8.3.0",

packages/auth-next-server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"@types/node": "^22.10.7",
5555
"eslint": "^8.56.0",
5656
"jest": "^29.7.0",
57-
"next": "^14.2.25",
57+
"next": "^15.2.6",
5858
"next-auth": "^5.0.0-beta.30",
5959
"tsup": "^8.3.0",
6060
"typescript": "^5.6.2"

0 commit comments

Comments
 (0)