[PR #8075] [MERGED] chore(deps-dev): bump @sveltejs/kit from 2.50.1 to 2.52.2 #7730

Closed
opened 2026-03-13 13:47:30 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/8075
Author: @dependabot[bot]
Created: 2/20/2026
Status: Merged
Merged: 2/20/2026
Merged by: @himself65

Base: canaryHead: dependabot/npm_and_yarn/sveltejs/kit-2.52.2


📝 Commits (1)

  • a4597c2 chore(deps-dev): bump @sveltejs/kit from 2.50.1 to 2.52.2

📊 Changes

2 files changed (+439 additions, -157 deletions)

View changed files

📝 packages/better-auth/package.json (+1 -1)
📝 pnpm-lock.yaml (+438 -156)

📄 Description

Bumps @sveltejs/kit from 2.50.1 to 2.52.2.

Release notes

Sourced from @​sveltejs/kit's releases.

@​sveltejs/kit@​2.52.2

Patch Changes

  • fix: validate form file information to prevent amplification attacks (3e607b3)

  • chore: upgrade devalue and svelte (#15339)

  • fix: parse file offset table more strictly (f47c01b)

@​sveltejs/kit@​2.52.0

Minor Changes

  • feat: match function to map a path back to a route id and params (#14997)

Patch Changes

  • fix: respect scroll-margin when navigating to a url-supplied anchor (#15246)

  • fix: resolve will narrow types to follow trailing slash page settings (#15027)

@​sveltejs/kit@​2.51.0

Minor Changes

  • feat: add scroll property to NavigationTarget in navigation callbacks (#15248)

    Navigation callbacks (beforeNavigate, onNavigate, and afterNavigate) now include scroll position information via the scroll property on from and to targets:

    • from.scroll: The scroll position at the moment navigation was triggered
    • to.scroll: In beforeNavigate and onNavigate, this is populated for popstate navigations (back/forward) with the scroll position that will be restored, and null for other navigation types. In afterNavigate, this is always the final scroll position after navigation completed.

    This enables use cases like animating transitions based on the target scroll position when using browser back/forward navigation.

  • feat: hydratable's injected script now works with CSP (#15048)

Patch Changes

  • fix: put preloads before styles (#15232)

  • fix: suppress false-positive inner content warning when children prop is forwarded to a child component (#15269)

  • fix: fetch not working when URL is same host but different than paths.base (#15291)

  • fix: navigate to hash link when base element is present (#15236)

... (truncated)

Changelog

Sourced from @​sveltejs/kit's changelog.

2.52.2

Patch Changes

  • fix: validate form file information to prevent amplification attacks (3e607b3)

  • chore: upgrade devalue and svelte (#15339)

  • fix: parse file offset table more strictly (f47c01b)

2.52.1

Patch Changes

  • fix: clear stale preflight issues on subsequent valid form submissions (#15281)

  • chore: remove dependency on sade (#15272)

  • fix: include .txt files in precompression (#15259)

  • fix: escape backticks and dollar signs when creating inlined css (#15320)

  • fix: increment form.pending count before preflight validation (#15279)

2.52.0

Minor Changes

  • feat: match function to map a path back to a route id and params (#14997)

Patch Changes

  • fix: respect scroll-margin when navigating to a url-supplied anchor (#15246)

  • fix: resolve will narrow types to follow trailing slash page settings (#15027)

2.51.0

Minor Changes

  • feat: add scroll property to NavigationTarget in navigation callbacks (#15248)

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Summary by cubic

Bumped @sveltejs/kit from 2.50.1 to 2.52.2 to pick up security fixes, new APIs, and small reliability improvements. No app code changes are required.

  • Dependencies
    • Updated devDependency: @sveltejs/kit to ^2.52.2.
    • Security: validate form file info; stricter file offset parsing.
    • Features: new match(path) API; navigation callbacks include scroll; hydratable script works with CSP.
    • Fixes: better hash-anchor navigation with base tags, preloads before styles, path-aware fetch, clear stale form preflight issues, correct form.pending, escape backticks/dollar signs in inlined CSS, include .txt in precompression.
    • Upstream bumps: svelte and devalue updated.

Written for commit a4597c2bc8. Summary will update on new commits.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/8075 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 2/20/2026 **Status:** ✅ Merged **Merged:** 2/20/2026 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `dependabot/npm_and_yarn/sveltejs/kit-2.52.2` --- ### 📝 Commits (1) - [`a4597c2`](https://github.com/better-auth/better-auth/commit/a4597c2bc8ed6acce10014d1a134d37c544bb083) chore(deps-dev): bump @sveltejs/kit from 2.50.1 to 2.52.2 ### 📊 Changes **2 files changed** (+439 additions, -157 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/package.json` (+1 -1) 📝 `pnpm-lock.yaml` (+438 -156) </details> ### 📄 Description Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 2.50.1 to 2.52.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/sveltejs/kit/releases"><code>@​sveltejs/kit</code>'s releases</a>.</em></p> <blockquote> <h2><code>@​sveltejs/kit</code><a href="https://github.com/2"><code>@​2</code></a>.52.2</h2> <h3>Patch Changes</h3> <ul> <li> <p>fix: validate <code>form</code> file information to prevent amplification attacks (<a href="https://github.com/sveltejs/kit/commit/3e607b314aec9e5f278d32847945b8b6323e1cb8"><code>3e607b3</code></a>)</p> </li> <li> <p>chore: upgrade <code>devalue</code> and <code>svelte</code> (<a href="https://redirect.github.com/sveltejs/kit/pull/15339">#15339</a>)</p> </li> <li> <p>fix: parse file offset table more strictly (<a href="https://github.com/sveltejs/kit/commit/f47c01bd8100328c24fdb8522fe35913b0735f35"><code>f47c01b</code></a>)</p> </li> </ul> <h2><code>@​sveltejs/kit</code><a href="https://github.com/2"><code>@​2</code></a>.52.0</h2> <h3>Minor Changes</h3> <ul> <li>feat: <code>match</code> function to map a path back to a route id and params (<a href="https://redirect.github.com/sveltejs/kit/pull/14997">#14997</a>)</li> </ul> <h3>Patch Changes</h3> <ul> <li> <p>fix: respect scroll-margin when navigating to a url-supplied anchor (<a href="https://redirect.github.com/sveltejs/kit/pull/15246">#15246</a>)</p> </li> <li> <p>fix: <code>resolve</code> will narrow types to follow trailing slash page settings (<a href="https://redirect.github.com/sveltejs/kit/pull/15027">#15027</a>)</p> </li> </ul> <h2><code>@​sveltejs/kit</code><a href="https://github.com/2"><code>@​2</code></a>.51.0</h2> <h3>Minor Changes</h3> <ul> <li> <p>feat: add <code>scroll</code> property to <code>NavigationTarget</code> in navigation callbacks (<a href="https://redirect.github.com/sveltejs/kit/pull/15248">#15248</a>)</p> <p>Navigation callbacks (<code>beforeNavigate</code>, <code>onNavigate</code>, and <code>afterNavigate</code>) now include scroll position information via the <code>scroll</code> property on <code>from</code> and <code>to</code> targets:</p> <ul> <li><code>from.scroll</code>: The scroll position at the moment navigation was triggered</li> <li><code>to.scroll</code>: In <code>beforeNavigate</code> and <code>onNavigate</code>, this is populated for <code>popstate</code> navigations (back/forward) with the scroll position that will be restored, and <code>null</code> for other navigation types. In <code>afterNavigate</code>, this is always the final scroll position after navigation completed.</li> </ul> <p>This enables use cases like animating transitions based on the target scroll position when using browser back/forward navigation.</p> </li> <li> <p>feat: <code>hydratable</code>'s injected script now works with CSP (<a href="https://redirect.github.com/sveltejs/kit/pull/15048">#15048</a>)</p> </li> </ul> <h3>Patch Changes</h3> <ul> <li> <p>fix: put preloads before styles (<a href="https://redirect.github.com/sveltejs/kit/pull/15232">#15232</a>)</p> </li> <li> <p>fix: suppress false-positive inner content warning when children prop is forwarded to a child component (<a href="https://redirect.github.com/sveltejs/kit/pull/15269">#15269</a>)</p> </li> <li> <p>fix: <code>fetch</code> not working when URL is same host but different than <code>paths.base</code> (<a href="https://redirect.github.com/sveltejs/kit/pull/15291">#15291</a>)</p> </li> <li> <p>fix: navigate to hash link when base element is present (<a href="https://redirect.github.com/sveltejs/kit/pull/15236">#15236</a>)</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md"><code>@​sveltejs/kit</code>'s changelog</a>.</em></p> <blockquote> <h2>2.52.2</h2> <h3>Patch Changes</h3> <ul> <li> <p>fix: validate <code>form</code> file information to prevent amplification attacks (<a href="https://github.com/sveltejs/kit/commit/3e607b314aec9e5f278d32847945b8b6323e1cb8"><code>3e607b3</code></a>)</p> </li> <li> <p>chore: upgrade <code>devalue</code> and <code>svelte</code> (<a href="https://redirect.github.com/sveltejs/kit/pull/15339">#15339</a>)</p> </li> <li> <p>fix: parse file offset table more strictly (<a href="https://github.com/sveltejs/kit/commit/f47c01bd8100328c24fdb8522fe35913b0735f35"><code>f47c01b</code></a>)</p> </li> </ul> <h2>2.52.1</h2> <h3>Patch Changes</h3> <ul> <li> <p>fix: clear stale preflight issues on subsequent valid form submissions (<a href="https://redirect.github.com/sveltejs/kit/pull/15281">#15281</a>)</p> </li> <li> <p>chore: remove dependency on <code>sade</code> (<a href="https://redirect.github.com/sveltejs/kit/pull/15272">#15272</a>)</p> </li> <li> <p>fix: include <code>.txt</code> files in precompression (<a href="https://redirect.github.com/sveltejs/kit/pull/15259">#15259</a>)</p> </li> <li> <p>fix: escape backticks and dollar signs when creating inlined css (<a href="https://redirect.github.com/sveltejs/kit/pull/15320">#15320</a>)</p> </li> <li> <p>fix: increment <code>form.pending</code> count before preflight validation (<a href="https://redirect.github.com/sveltejs/kit/pull/15279">#15279</a>)</p> </li> </ul> <h2>2.52.0</h2> <h3>Minor Changes</h3> <ul> <li>feat: <code>match</code> function to map a path back to a route id and params (<a href="https://redirect.github.com/sveltejs/kit/pull/14997">#14997</a>)</li> </ul> <h3>Patch Changes</h3> <ul> <li> <p>fix: respect scroll-margin when navigating to a url-supplied anchor (<a href="https://redirect.github.com/sveltejs/kit/pull/15246">#15246</a>)</p> </li> <li> <p>fix: <code>resolve</code> will narrow types to follow trailing slash page settings (<a href="https://redirect.github.com/sveltejs/kit/pull/15027">#15027</a>)</p> </li> </ul> <h2>2.51.0</h2> <h3>Minor Changes</h3> <ul> <li>feat: add <code>scroll</code> property to <code>NavigationTarget</code> in navigation callbacks (<a href="https://redirect.github.com/sveltejs/kit/pull/15248">#15248</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/sveltejs/kit/commit/9c4a73733441acaa2f166d023fcdb977a9d88cf6"><code>9c4a737</code></a> Version Packages (<a href="https://github.com/sveltejs/kit/tree/HEAD/packages/kit/issues/15338">#15338</a>)</li> <li><a href="https://github.com/sveltejs/kit/commit/3e607b314aec9e5f278d32847945b8b6323e1cb8"><code>3e607b3</code></a> Merge commit from fork</li> <li><a href="https://github.com/sveltejs/kit/commit/62991c81db4f50ccfb08a9ac5e05ccba4ddab59e"><code>62991c8</code></a> chore: upgrade <code>devalue</code> and <code>svelte</code> (<a href="https://github.com/sveltejs/kit/tree/HEAD/packages/kit/issues/15339">#15339</a>)</li> <li><a href="https://github.com/sveltejs/kit/commit/f47c01bd8100328c24fdb8522fe35913b0735f35"><code>f47c01b</code></a> Merge commit from fork</li> <li><a href="https://github.com/sveltejs/kit/commit/6f69ded005c14db0c2e6a73843cc5e5cb15b684f"><code>6f69ded</code></a> Version Packages (<a href="https://github.com/sveltejs/kit/tree/HEAD/packages/kit/issues/15321">#15321</a>)</li> <li><a href="https://github.com/sveltejs/kit/commit/e87efba90aeb04227e6a1a5e9017989e7f1c78dc"><code>e87efba</code></a> fix: clear stale preflight issues on subsequent valid form submissions (<a href="https://github.com/sveltejs/kit/tree/HEAD/packages/kit/issues/15281">#15281</a>)</li> <li><a href="https://github.com/sveltejs/kit/commit/4f367d5bf80935e99c9048e75d6f7e258730980f"><code>4f367d5</code></a> chore: fix Node 18 CI by changing .remote.js import to .remote.ts (<a href="https://github.com/sveltejs/kit/tree/HEAD/packages/kit/issues/15331">#15331</a>)</li> <li><a href="https://github.com/sveltejs/kit/commit/20dfadfbef312b4e750318aa871aebbfcb4396a4"><code>20dfadf</code></a> fix: escape backticks and dollar signs before creating interpolated string (#...</li> <li><a href="https://github.com/sveltejs/kit/commit/8c2384a346825d54eb4281f9da854388fb4d81b3"><code>8c2384a</code></a> fix: increment <code>form.pending</code> count before preflight validation (<a href="https://github.com/sveltejs/kit/tree/HEAD/packages/kit/issues/15279">#15279</a>)</li> <li><a href="https://github.com/sveltejs/kit/commit/71ddbc7ff19a612cfcd483f3b7ba58586372528b"><code>71ddbc7</code></a> chore: remove dependency on sade (<a href="https://github.com/sveltejs/kit/tree/HEAD/packages/kit/issues/15272">#15272</a>)</li> <li>Additional commits viewable in <a href="https://github.com/sveltejs/kit/commits/@sveltejs/kit@2.52.2/packages/kit">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@sveltejs/kit&package-manager=npm_and_yarn&previous-version=2.50.1&new-version=2.52.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/better-auth/better-auth/network/alerts). </details> <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Bumped @sveltejs/kit from 2.50.1 to 2.52.2 to pick up security fixes, new APIs, and small reliability improvements. No app code changes are required. - **Dependencies** - Updated devDependency: @sveltejs/kit to ^2.52.2. - Security: validate form file info; stricter file offset parsing. - Features: new match(path) API; navigation callbacks include scroll; hydratable script works with CSP. - Fixes: better hash-anchor navigation with base tags, preloads before styles, path-aware fetch, clear stale form preflight issues, correct form.pending, escape backticks/dollar signs in inlined CSS, include .txt in precompression. - Upstream bumps: svelte and devalue updated. <sup>Written for commit a4597c2bc8ed6acce10014d1a134d37c544bb083. Summary will update on new commits.</sup> <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-13 13:47:30 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#7730