Skip to content

chore(deps): update dependency @sveltejs/adapter-static to v3 [security] - #13

Open
renovate-appwrite[bot] wants to merge 1 commit into
mainfrom
renovate/npm-sveltejs-adapter-static-vulnerability
Open

renovate-appwrite[bot] wants to merge 1 commit into
mainfrom
renovate/npm-sveltejs-adapter-static-vulnerability

Conversation

@renovate-appwrite

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@sveltejs/adapter-static (source) ^2.0.0 → ^3.0.0 age confidence

SvelteKit: 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 Score: 5.9 / 10 (Medium)
  • Vector String: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

References

This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).


Release Notes

sveltejs/kit (@​sveltejs/adapter-static)

v3.0.11

Compare Source

Patch Changes

v3.0.10

Compare Source

Patch Changes
  • chore: update "homepage" field in package.json (#​14579)

v3.0.9

Compare Source

Patch Changes

v3.0.8

Compare Source

Patch Changes
  • fix: use optional chaining when checking router type (#​13218)

v3.0.7

Compare Source

Patch Changes
  • fix: allow dynamic routes with missing fallback in hash mode (#​13213)

v3.0.6

Compare Source

Patch Changes

v3.0.5

Compare Source

Patch Changes

v3.0.4

Compare Source

Patch Changes

v3.0.3

Compare Source

Patch Changes

v3.0.2

Compare Source

Patch Changes

v3.0.1

Compare Source

Patch Changes
  • chore: update "homepage" field in package.json (#​14579)

v3.0.0

Compare Source

Major Changes
  • breaking: update SvelteKit peer dependency to version 2 (#​11277)

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

@appwrite

appwrite Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

Deployments

Project Snapwrite · snapwrite

Sites (1)
Site Commit Status Preview QR Details
snapwrite b0f15f1 Failed Failed Preview URL QR Code View logs

Tip

Push a commit to redeploy, or switch these comments off in Git automation.

@appwrite

appwrite Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

Code review

Commit Status Tier Verdict Details
b0f15f1 Reviewed Reviewed 🟡 B · Needs changes before merging 💬 Commented View review

The existing open finding remains: adapter-static 3 requires SvelteKit 2 while this lockfile uses SvelteKit 1.

The dependency declaration and pnpm lockfile move @sveltejs/adapter-static from 2.0.3 to 3.0.11. The lockfile continues to resolve @sveltejs/kit to 1.30.4.

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)
File Change
package.json Bumps the adapter-static dependency range from ^2.0.0 to ^3.0.0.
pnpm-lock.yaml Locks adapter-static 3.0.11 and its Kit peer dependency metadata.
Still open from earlier reviews (1)

Reviewed b0f15f1

Tip

Comment @appwrite review to re-run, or mention @appwrite with a question.

@appwrite appwrite Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Tier B · 1 blocking finding to address. Summary

Comment thread pnpm-lock.yaml
resolution: {integrity: sha512-DyX1bWx9uiPxzq7Mr+jnxqY+w3UhE3pYy5D1LcfdS++2KZTHSZBD60BoP44LjVgtGILfeOQCF8ESqzmLVrz4Ng==}
peerDependencies:
'@sveltejs/kit': ^1.5.0
'@sveltejs/kit': ^2.0.0

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@renovate-appwrite
renovate-appwrite Bot force-pushed the renovate/npm-sveltejs-adapter-static-vulnerability branch 3 times, most recently from 0744ade to 24ef99a Compare November 23, 2026 14:20
@renovate-appwrite
renovate-appwrite Bot force-pushed the renovate/npm-sveltejs-adapter-static-vulnerability branch from 24ef99a to b0f15f1 Compare November 24, 2026 06:28

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants