chore(deps): upgrade astro to v7 and bump runtime to node 22
- astro 5.18.1 -> 7.3.2 (fixes critical XSS/RCE advisory GHSA-j687-52p2-xcff) - @astrojs/node 9.5.5 -> 11.1.5 - typescript pinned to 6.0.3 (astro 7's requirement is satisfied by astro itself; typescript 7.x is an incompatible rewrite that breaks @astrojs/check, so staying on the 5||6 range it still supports) - Dockerfile and nixpacks.toml bumped from node:20 to node:22, required by astro v6+ (minimum supported node is 22.12.0)
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ HOST = "0.0.0.0"
|
||||
PORT = "4321"
|
||||
|
||||
[phases.setup]
|
||||
nixPkgs = ["nodejs_20"]
|
||||
nixPkgs = ["nodejs_22"]
|
||||
|
||||
[start]
|
||||
cmd = "node ./dist/server/entry.mjs"
|
||||
|
||||
Reference in New Issue
Block a user