Härtung (Code-Review): persistiertes Session-Secret statt Default-Fallback; timing-safe API-Token-Vergleich; Secure-Cookie auf HTTPS; HTML-Sanitizer für richtext/html-Blöcke + Seiten-Body (Stored-XSS); 14 Unit-Tests (Rabatt/MwSt/Versand/Sanitizer) + npm test
This commit is contained in:
+3
-2
@@ -8,7 +8,8 @@
|
||||
"dev": "astro dev",
|
||||
"build": "astro build",
|
||||
"start": "node ./dist/server/entry.mjs",
|
||||
"prebuild": "node ./scripts/sync-css.mjs"
|
||||
"prebuild": "node ./scripts/sync-css.mjs",
|
||||
"test": "node test/unit.mjs"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/node": "^9.1.3",
|
||||
@@ -19,4 +20,4 @@
|
||||
"nodemailer": "^6.10.1",
|
||||
"stripe": "^17.5.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user