Skip to content

Commit b6679b6

Browse files
chore(deps-dev): Bump @sveltejs/kit from 2.50.1 to 2.52.2 (#19442)
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/getsentry/sentry-javascript/network/alerts). </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 3674106 commit b6679b6

File tree

2 files changed

+17
-13
lines changed

2 files changed

+17
-13
lines changed

packages/sveltekit/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
},
6060
"devDependencies": {
6161
"@babel/types": "^7.26.3",
62-
"@sveltejs/kit": "^2.50.1",
62+
"@sveltejs/kit": "^2.52.2",
6363
"@sveltejs/vite-plugin-svelte": "^3.0.0",
6464
"svelte": "^4.2.8",
6565
"vite": "^5.4.11"

yarn.lock

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9121,23 +9121,22 @@
91219121
resolved "https://registry.yarnpkg.com/@sveltejs/acorn-typescript/-/acorn-typescript-1.0.8.tgz#69c746a7c232094c117c50dedbd1279fc64887b7"
91229122
integrity sha512-esgN+54+q0NjB0Y/4BomT9samII7jGwNy/2a3wNZbT2A2RpmXsXwUt24LvLhx6jUq2gVk4cWEvcRO6MFQbOfNA==
91239123

9124-
"@sveltejs/kit@^2.50.1":
9125-
version "2.50.1"
9126-
resolved "https://registry.yarnpkg.com/@sveltejs/kit/-/kit-2.50.1.tgz#22dd5cb7e3013560289b30c7876bd90bad2b1836"
9127-
integrity sha512-XRHD2i3zC4ukhz2iCQzO4mbsts081PAZnnMAQ7LNpWeYgeBmwMsalf0FGSwhFXBbtr2XViPKnFJBDCckWqrsLw==
9124+
"@sveltejs/kit@^2.52.2":
9125+
version "2.52.2"
9126+
resolved "https://registry.yarnpkg.com/@sveltejs/kit/-/kit-2.52.2.tgz#8de4a96ef7b54a59ccb2d13f4297da3f22c3ec1d"
9127+
integrity sha512-1in76dftrofUt138rVLvYuwiQLkg9K3cG8agXEE6ksf7gCGs8oIr3+pFrVtbRmY9JvW+psW5fvLM/IwVybOLBA==
91289128
dependencies:
91299129
"@standard-schema/spec" "^1.0.0"
91309130
"@sveltejs/acorn-typescript" "^1.0.5"
91319131
"@types/cookie" "^0.6.0"
91329132
acorn "^8.14.1"
91339133
cookie "^0.6.0"
9134-
devalue "^5.6.2"
9134+
devalue "^5.6.3"
91359135
esm-env "^1.2.2"
91369136
kleur "^4.1.5"
91379137
magic-string "^0.30.5"
91389138
mrmime "^2.0.0"
9139-
sade "^1.8.1"
9140-
set-cookie-parser "^2.6.0"
9139+
set-cookie-parser "^3.0.0"
91419140
sirv "^3.0.0"
91429141

91439142
"@sveltejs/vite-plugin-svelte-inspector@^2.1.0":
@@ -15196,10 +15195,10 @@ devalue@^4.3.2:
1519615195
resolved "https://registry.yarnpkg.com/devalue/-/devalue-4.3.3.tgz#e35df3bdc49136837e77986f629b9fa6fef50726"
1519715196
integrity sha512-UH8EL6H2ifcY8TbD2QsxwCC/pr5xSwPvv85LrLXVihmHVC3T3YqTCIwnR5ak0yO1KYqlxrPVOA/JVZJYPy2ATg==
1519815197

15199-
devalue@^5.1.1, devalue@^5.6.2:
15200-
version "5.6.2"
15201-
resolved "https://registry.yarnpkg.com/devalue/-/devalue-5.6.2.tgz#931e2bb1cc2b299e0f0fb9e4e5be8ebf521a25b8"
15202-
integrity sha512-nPRkjWzzDQlsejL1WVifk5rvcFi/y1onBRxjaFMjZeR9mFpqu2gmAZ9xUB9/IEanEP/vBtGeGganC/GO1fmufg==
15198+
devalue@^5.1.1, devalue@^5.6.2, devalue@^5.6.3:
15199+
version "5.6.3"
15200+
resolved "https://registry.yarnpkg.com/devalue/-/devalue-5.6.3.tgz#fee7b50bf072f4a4cdf18d1f27de3ce92131f699"
15201+
integrity sha512-nc7XjUU/2Lb+SvEFVGcWLiKkzfw8+qHI7zn8WYXKkLMgfGSHbgCEaR6bJpev8Cm6Rmrb19Gfd/tZvGqx9is3wg==
1520315202

1520415203
devlop@^1.0.0:
1520515204
version "1.1.0"
@@ -27111,7 +27110,7 @@ rxjs@^7.5.5, rxjs@^7.8.1:
2711127110
dependencies:
2711227111
tslib "^2.1.0"
2711327112

27114-
sade@^1.7.3, sade@^1.8.1:
27113+
sade@^1.7.3:
2711527114
version "1.8.1"
2711627115
resolved "https://registry.yarnpkg.com/sade/-/sade-1.8.1.tgz#0a78e81d658d394887be57d2a409bf703a3b2701"
2711727116
integrity sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==
@@ -27481,6 +27480,11 @@ set-cookie-parser@^2.4.8, set-cookie-parser@^2.6.0:
2748127480
resolved "https://registry.yarnpkg.com/set-cookie-parser/-/set-cookie-parser-2.6.0.tgz#131921e50f62ff1a66a461d7d62d7b21d5d15a51"
2748227481
integrity sha512-RVnVQxTXuerk653XfuliOxBP81Sf0+qfQE73LIYKcyMYHG94AuH0kgrQpRDuTZnSmjpysHmzxJXKNfa6PjFhyQ==
2748327482

27483+
set-cookie-parser@^3.0.0:
27484+
version "3.0.1"
27485+
resolved "https://registry.yarnpkg.com/set-cookie-parser/-/set-cookie-parser-3.0.1.tgz#a902ea39d692837bcfd7160891f06b2427321a18"
27486+
integrity sha512-n7Z7dXZhJbwuAHhNzkTti6Aw9QDDjZtm3JTpTGATIdNzdQz5GuFs22w90BcvF4INfnrL5xrX3oGsuqO5Dx3A1Q==
27487+
2748427488
set-function-length@^1.2.2:
2748527489
version "1.2.2"
2748627490
resolved "https://registry.yarnpkg.com/set-function-length/-/set-function-length-1.2.2.tgz#aac72314198eaed975cf77b2c3b6b880695e5449"

0 commit comments

Comments
 (0)