Skip to content

Commit 5ca5d62

Browse files
author
Fernando Campione
committed
security update
1 parent 64a75d2 commit 5ca5d62

File tree

3 files changed

+129
-123
lines changed

3 files changed

+129
-123
lines changed

package.json

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
"cronstrue": "^3.2.0",
3737
"fflate": "^0.8.2",
3838
"jose": "^6.1.1",
39-
"minimatch": "^10.0.3",
40-
"next": "16.1.6",
39+
"minimatch": "^10.2.3",
40+
"next": "16.2.1",
4141
"next-intl": "^4.4.0",
4242
"next-themes": "^0.2.1",
4343
"postcss": "^8",
@@ -46,7 +46,7 @@
4646
"react-dom": "19.2.4",
4747
"react-syntax-highlighter": "^15.6.1",
4848
"serwist": "^9.5.5",
49-
"systeminformation": "^5.27.14",
49+
"systeminformation": "^5.31.0",
5050
"tailwind-merge": "^2.0.0",
5151
"tailwindcss": "^3.3.0",
5252
"typescript": "^5"
@@ -56,15 +56,22 @@
5656
"@types/bcryptjs": "^2.4.6",
5757
"@types/minimatch": "^6.0.0",
5858
"eslint": "^9",
59-
"eslint-config-next": "16.1.6",
59+
"eslint-config-next": "16.2.1",
6060
"postcss-import": "^16.1.1"
6161
},
6262
"resolutions": {
6363
"@isaacs/brace-expansion": "^5.0.1",
64+
"eslint/minimatch": "^3.1.3",
65+
"@eslint/config-array/minimatch": "^3.1.3",
66+
"@eslint/eslintrc/minimatch": "^3.1.3",
67+
"eslint-plugin-import/minimatch": "^3.1.3",
68+
"eslint-plugin-jsx-a11y/minimatch": "^3.1.3",
6469
"@types/react": "19.2.14",
6570
"@types/react-dom": "19.2.3",
6671
"lodash": "^4.17.23",
6772
"prismjs": "^1.30.0",
68-
"systeminformation": "^5.27.14"
73+
"systeminformation": "^5.31.0",
74+
"ajv": "^6.14.0",
75+
"flatted": "^3.4.2"
6976
}
7077
}

proxy.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ export const proxy = async (request: NextRequest) => {
9999
}
100100
} catch (error) {
101101
console.error("Session check error:", error);
102+
return NextResponse.redirect(loginUrl);
102103
}
103104

104105
const response = NextResponse.next();

0 commit comments

Comments
 (0)