Files
uiogaming.no/package.json
T
leanderandClaude Opus 5.5 c997b74d01 Verify Sanity webhook signatures in the revalidate route
The secret was passed in the query string, which ends up in access logs
and doesn't protect the request body. Verify the signed header with
@sanity/webhook instead, and return 400 for invalid JSON.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 21:48:49 +01:00

46 lines
1.2 KiB
JSON

{
"name": "uiogaming.no",
"version": "1.0.0",
"private": true,
"description": "UiO Gaming Website",
"author": "Leander Furumo <leander@furumo.eu>",
"scripts": {
"dev": "next dev --turbopack",
"build": "next build",
"start": "next start -p 9000",
"lint": "eslint .",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\""
},
"dependencies": {
"@portabletext/react": "^3.2.1",
"@sanity/client": "^7.8.1",
"@sanity/image-url": "^1.1.0",
"@sanity/webhook": "^4.0.4",
"country-flag-icons": "^1.5.19",
"install": "^0.13.0",
"next": "^16.3.3",
"next-intl": "^4.3.4",
"react": "19.1.0",
"react-dom": "19.1.0",
"react-icons": "^5.5.0",
"react-photo-sphere-viewer": "^6.2.3"
},
"devDependencies": {
"@eslint/eslintrc": "^3",
"@types/node": "^20",
"@types/react": "^19",
"@types/react-dom": "^19",
"eslint": "^9",
"eslint-config-next": "15.4.4",
"prettier": "^3.6.2",
"typescript": "^5"
},
"repository": {
"type": "git",
"url": "https://github.com/UiO-Gaming/uiogaming.no"
},
"bugs": {
"url": "https://github.com/UiO-Gaming/uiogaming.no/issues"
}
}