Skip to content

chore(deps-dev): bump @sveltejs/kit from 2.22.0 to 2.51.0 in the npm_and_yarn group across 1 directory#4

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/npm_and_yarn-e0ba90b5b1
Open

chore(deps-dev): bump @sveltejs/kit from 2.22.0 to 2.51.0 in the npm_and_yarn group across 1 directory#4
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/npm_and_yarn-e0ba90b5b1

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Feb 14, 2026

Bumps the npm_and_yarn group with 1 update in the / directory: @sveltejs/kit.

Updates @sveltejs/kit from 2.22.0 to 2.51.0

Release notes

Sourced from @​sveltejs/kit's releases.

@​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)

  • fix: avoid triggering handleError when redirecting in a remote function (#15222)

  • fix: include test directory in generated tsconfig.json alongside existing tests entry (#15254)

  • fix: generate tsconfig.json using the value of kit.files.src (#15253)

@​sveltejs/kit@​2.50.2

Patch Changes

  • fix: ensure inlined CSS follows paths.assets and paths.relative settings (#15153)

  • fix: emit script CSP nonces when unsafe-inline is present if strict-dynamic is also present (#15221)

  • fix: re-export browser/dev from esm-env (#15206)

  • fix: use validated args in batch resolver in both csr and ssr (#15215)

... (truncated)

Changelog

Sourced from @​sveltejs/kit's changelog.

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)

  • fix: avoid triggering handleError when redirecting in a remote function (#15222)

  • fix: include test directory in generated tsconfig.json alongside existing tests entry (#15254)

  • fix: generate tsconfig.json using the value of kit.files.src (#15253)

2.50.2

Patch Changes

  • fix: ensure inlined CSS follows paths.assets and paths.relative settings (#15153)

  • fix: emit script CSP nonces when unsafe-inline is present if strict-dynamic is also present (#15221)

  • fix: re-export browser/dev from esm-env (#15206)

... (truncated)

Commits
  • 060b1dc Version Packages (#15241)
  • dc8cf2d fix: include test directory in generated tsconfig.json (#15254)
  • ace2116 fix: use kit.files.src when generating tsconfig.json (#15253)
  • db1cc81 chore: upgrade to playwright 1.58.2 (#15301)
  • ed69b77 fix: remove unnecessary path validation which breaks fetch with custom path b...
  • 2f3a007 chore: test matrix dimension for vite (#15208)
  • 159aece fix: handle remote query redirects (#15222)
  • 7492085 chore: appease IDE's typescript 5.9 (#15276)
  • 5d05ca6 fix: suppress inner content warning when children prop is forwarded (#15269)
  • d027236 fix: correct minor typos in docs and test descriptions (#15264)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for @​sveltejs/kit since your current version.


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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps the npm_and_yarn group with 1 update in the / directory: [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit).


Updates `@sveltejs/kit` from 2.22.0 to 2.51.0
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@2.51.0/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-version: 2.51.0
  dependency-type: direct:development
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Feb 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants

Comments