Skip to content

Commit 1af9eda

Browse files
committed
Merge branch 'main' into statically-analyse-exports
2 parents 9de8f40 + b183244 commit 1af9eda

File tree

74 files changed

+670
-550
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+670
-550
lines changed

.changeset/hip-moons-camp.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@sveltejs/adapter-netlify': patch
3+
'@sveltejs/adapter-vercel': patch
4+
---
5+
6+
chore(deps): upgrade esbuild to 0.25.2

.changeset/khaki-queens-provide.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@sveltejs/kit': patch
3+
---
4+
5+
fix: ensure that `ssr` and `csr` page options apply to error pages rendered as a result of a load function error on the server

.changeset/ninety-planets-remember.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/purple-feet-lay.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@sveltejs/adapter-cloudflare': patch
3+
---
4+
5+
chore(deps): upgrade @cloudflare/workers-types to 4.20250415.0

.changeset/silly-ears-visit.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@sveltejs/adapter-vercel': patch
3+
---
4+
5+
fix: include the `edge-light` bundling condition when building edge functions

.changeset/thirty-foxes-study.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

documentation/docs/10-getting-started/30-project-structure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ The `src` directory contains the meat of your project. Everything except `src/ro
5555
- `hooks.server.js` contains your server [hooks](hooks)
5656
- `service-worker.js` contains your [service worker](service-workers)
5757

58-
(Whether the project contains `.js` or `.ts` files depends on whether you opt to use TypeScript when you create your project. You can switch between JavaScript and TypeScript in the documentation using the toggle at the bottom of this page.)
58+
(Whether the project contains `.js` or `.ts` files depends on whether you opt to use TypeScript when you create your project.)
5959

6060
If you added [Vitest](https://vitest.dev) when you set up your project, your unit tests will live in the `src` directory with a `.test.js` extension.
6161

documentation/docs/25-build-and-deploy/60-adapter-cloudflare.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Cloudflare Pages
2+
title: Cloudflare
33
---
44

55
To deploy to [Cloudflare Workers](https://workers.cloudflare.com/) or [Cloudflare Pages](https://pages.cloudflare.com/), use [`adapter-cloudflare`](https://github.com/sveltejs/kit/tree/main/packages/adapter-cloudflare).

documentation/docs/30-advanced/20-hooks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ Since version 2.18, the `reroute` hook can be asynchronous, allowing it to (for
307307
// @errors: 2304
308308

309309
/** @type {import('@sveltejs/kit').Reroute} */
310-
export function reroute({ url, fetch }) {
310+
export async function reroute({ url, fetch }) {
311311
// Ask a special endpoint within your app about the destination
312312
if (url.pathname === '/api/reroute') return;
313313

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"@sveltejs/eslint-config": "^8.1.0",
2727
"@svitejs/changesets-changelog-github-compact": "^1.1.0",
2828
"eslint": "^9.6.0",
29-
"playwright": "^1.44.1",
29+
"@playwright/test": "catalog:",
3030
"prettier": "^3.1.1",
3131
"prettier-plugin-svelte": "^3.1.2",
3232
"typescript-eslint": "^8.24.0"
@@ -37,9 +37,10 @@
3737
},
3838
"pnpm": {
3939
"onlyBuiltDependencies": [
40+
"esbuild",
41+
"sharp",
4042
"svelte-preprocess",
41-
"workerd",
42-
"esbuild"
43+
"workerd"
4344
]
4445
}
45-
}
46+
}

0 commit comments

Comments
 (0)