Repository navigation
chore(deps): update dependency @sveltejs/adapter-static to v3 [security] - #13
renovate-appwrite[bot] wants to merge 1 commit into
Conversation
DeploymentsProject Snapwrite · Tip Push a commit to redeploy, or switch these comments off in Git automation. |
Code review
The dependency declaration and pnpm lockfile move Fix with agent prompt### Issue 1
pnpm-lock.yaml:941
**adapter-static 3 requires SvelteKit 2**
The lockfile still resolves `@sveltejs/kit` to 1.30.4, but adapter-static 3 requires Kit `^2.0.0` and calls `builder.generateEnvModule`, which Kit 1.30.4 does not provide. `pnpm build` consequently fails in the adapter with `builder.generateEnvModule is not a function` (reproduced after adding a temporary favicon to get past the existing prerender 404); upgrade SvelteKit alongside the adapter or keep a Kit 1-compatible adapter.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.Walkthrough (2)
Reviewed Tip Comment |
| resolution: {integrity: sha512-DyX1bWx9uiPxzq7Mr+jnxqY+w3UhE3pYy5D1LcfdS++2KZTHSZBD60BoP44LjVgtGILfeOQCF8ESqzmLVrz4Ng==} | ||
| peerDependencies: | ||
| '@sveltejs/kit': ^1.5.0 | ||
| '@sveltejs/kit': ^2.0.0 |
There was a problem hiding this comment.
adapter-static 3 requires SvelteKit 2
The lockfile still resolves @sveltejs/kit to 1.30.4, but adapter-static 3 requires Kit ^2.0.0 and calls builder.generateEnvModule, which Kit 1.30.4 does not provide. pnpm build consequently fails in the adapter with builder.generateEnvModule is not a function (reproduced after adding a temporary favicon to get past the existing prerender 404); upgrade SvelteKit alongside the adapter or keep a Kit 1-compatible adapter.
Prompt To Fix With AI
This is a comment left during a code review.
Path: pnpm-lock.yaml
Line: 941
Comment:
**adapter-static 3 requires SvelteKit 2**
The lockfile still resolves `@sveltejs/kit` to 1.30.4, but adapter-static 3 requires Kit `^2.0.0` and calls `builder.generateEnvModule`, which Kit 1.30.4 does not provide. `pnpm build` consequently fails in the adapter with `builder.generateEnvModule is not a function` (reproduced after adding a temporary favicon to get past the existing prerender 404); upgrade SvelteKit alongside the adapter or keep a Kit 1-compatible adapter.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.🟠 Major · bug · Reply if this doesn't apply.
0744ade to
24ef99a
Compare
24ef99a to
b0f15f1
Compare


This PR contains the following updates:
^2.0.0→^3.0.0SvelteKit: Prerendered paths are interpreted as regular expressions in Vercel route config generated by @sveltejs/adapter-vercel and @sveltejs/adapter-static
CVE-2026-128121 / GHSA-jf9x-2fg2-hx4w
More information
Details
If an attacker could influence a link that was crawled during the prerender phase, that link could later be interpreted as a regex in the Vercel routing configuration.
Severity
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NReferences
This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).
Release Notes
sveltejs/kit (@sveltejs/adapter-static)
v3.0.11Compare Source
Patch Changes
0a2e58c,0a2e58c,0a2e58c,0a2e58c,0a2e58c]:v3.0.10Compare Source
Patch Changes
v3.0.9Compare Source
Patch Changes
chore: add
.gitto the end ofpackage.jsonrepository url (#14134)Updated dependencies [
c968aef]:v3.0.8Compare Source
Patch Changes
v3.0.7Compare Source
Patch Changes
v3.0.6Compare Source
Patch Changes
docs: update URLs for new svelte.dev site (#12857)
Updated dependencies [
dcbe4222a194c5f90cfc0fc020cf065f7a4e4c46,4cdbf76fbbf0c0ce7f574ef69c8daddcf954d39d,3a9b78f04786898ca93f6d4b75ab18d26bc45192,723eb8b31e6a22c82f730c30e485386c8676b746,8ec471c875345b751344e67580ff1b772ef2735b]:v3.0.5Compare Source
Patch Changes
fix: import
node:processinstead of using globals (#12641)Updated dependencies [
e798ef718f163bed4f93e1918bd8294f765376ad]:v3.0.4Compare Source
Patch Changes
chore: configure provenance in a simpler manner (#12570)
Updated dependencies [
087a43d391fc38b8c008fb39a804dc6988974101]:v3.0.3Compare Source
Patch Changes
chore: package provenance (#12567)
Updated dependencies [
4930a8443caa53bcecee7b690cd28e429b1c8a20]:v3.0.2Compare Source
Patch Changes
chore: add keywords for discovery in npm search (#12330)
Updated dependencies [
25acb1d9fce998dccd8050b93cf4142c2b082611,642c4a4aff4351b786fe6274aa2f0bf7d905faf9,0a0e9aa897123ebec50af08e9385b2ca4fc5bb28]:v3.0.1Compare Source
Patch Changes
v3.0.0Compare Source
Major Changes
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate CLI.