@sveltejs/kit
Advanced tools
Comparing version 2.8.5 to 2.9.0
{ | ||
"name": "@sveltejs/kit", | ||
"version": "2.8.5", | ||
"version": "2.9.0", | ||
"description": "SvelteKit is the fastest way to build Svelte apps", | ||
@@ -24,3 +24,3 @@ "keywords": [ | ||
"devalue": "^5.1.0", | ||
"esm-env": "^1.0.0", | ||
"esm-env": "^1.2.1", | ||
"import-meta-resolve": "^4.1.0", | ||
@@ -37,18 +37,18 @@ "kleur": "^4.1.5", | ||
"@playwright/test": "^1.44.1", | ||
"@sveltejs/vite-plugin-svelte": "^3.0.1", | ||
"@sveltejs/vite-plugin-svelte": "^5.0.1", | ||
"@types/connect": "^3.4.38", | ||
"@types/node": "^18.19.48", | ||
"@types/set-cookie-parser": "^2.4.7", | ||
"dts-buddy": "^0.5.3", | ||
"dts-buddy": "^0.5.4", | ||
"rollup": "^4.14.2", | ||
"svelte": "^4.2.10", | ||
"svelte": "^5.2.9", | ||
"svelte-preprocess": "^6.0.0", | ||
"typescript": "^5.3.3", | ||
"vite": "^5.3.2", | ||
"vitest": "^2.0.1" | ||
"vite": "^6.0.1", | ||
"vitest": "^2.1.6" | ||
}, | ||
"peerDependencies": { | ||
"@sveltejs/vite-plugin-svelte": "^3.0.0 || ^4.0.0-next.1", | ||
"@sveltejs/vite-plugin-svelte": "^3.0.0 || ^4.0.0-next.1 || ^5.0.0", | ||
"svelte": "^4.0.0 || ^5.0.0-next.0", | ||
"vite": "^5.0.3" | ||
"vite": "^5.0.3 || ^6.0.0" | ||
}, | ||
@@ -55,0 +55,0 @@ "bin": { |
@@ -82,7 +82,8 @@ import 'svelte'; // pick up `declare module "*.svelte"` | ||
type UnpackValidationError<T> = T extends ActionFailure<infer X> | ||
? X | ||
: T extends void | ||
? undefined // needs to be undefined, because void will corrupt union type | ||
: T; | ||
type UnpackValidationError<T> = | ||
T extends ActionFailure<infer X> | ||
? X | ||
: T extends void | ||
? undefined // needs to be undefined, because void will corrupt union type | ||
: T; | ||
@@ -89,0 +90,0 @@ /** |
@@ -247,3 +247,3 @@ import { DEV } from 'esm-env'; | ||
// simulate CORS errors and "no access to body in no-cors mode" server-side for consistency with client-side behaviour | ||
const mode = input instanceof Request ? input.mode : init?.mode ?? 'cors'; | ||
const mode = input instanceof Request ? input.mode : (init?.mode ?? 'cors'); | ||
if (mode === 'no-cors') { | ||
@@ -250,0 +250,0 @@ response = new Response('', { |
@@ -82,3 +82,3 @@ import * as devalue from 'devalue'; | ||
action_result?.type === 'success' || action_result?.type === 'failure' | ||
? action_result.data ?? null | ||
? (action_result.data ?? null) | ||
: null; | ||
@@ -85,0 +85,0 @@ |
// generated during release, do not modify | ||
/** @type {string} */ | ||
export const VERSION = '2.8.5'; | ||
export const VERSION = '2.9.0'; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
743129
21570
13
+ Added@esbuild/aix-ppc64@0.24.2(transitive)
+ Added@esbuild/android-arm@0.24.2(transitive)
+ Added@esbuild/android-arm64@0.24.2(transitive)
+ Added@esbuild/android-x64@0.24.2(transitive)
+ Added@esbuild/darwin-arm64@0.24.2(transitive)
+ Added@esbuild/darwin-x64@0.24.2(transitive)
+ Added@esbuild/freebsd-arm64@0.24.2(transitive)
+ Added@esbuild/freebsd-x64@0.24.2(transitive)
+ Added@esbuild/linux-arm@0.24.2(transitive)
+ Added@esbuild/linux-arm64@0.24.2(transitive)
+ Added@esbuild/linux-ia32@0.24.2(transitive)
+ Added@esbuild/linux-loong64@0.24.2(transitive)
+ Added@esbuild/linux-mips64el@0.24.2(transitive)
+ Added@esbuild/linux-ppc64@0.24.2(transitive)
+ Added@esbuild/linux-riscv64@0.24.2(transitive)
+ Added@esbuild/linux-s390x@0.24.2(transitive)
+ Added@esbuild/linux-x64@0.24.2(transitive)
+ Added@esbuild/netbsd-arm64@0.24.2(transitive)
+ Added@esbuild/netbsd-x64@0.24.2(transitive)
+ Added@esbuild/openbsd-arm64@0.24.2(transitive)
+ Added@esbuild/openbsd-x64@0.24.2(transitive)
+ Added@esbuild/sunos-x64@0.24.2(transitive)
+ Added@esbuild/win32-arm64@0.24.2(transitive)
+ Added@esbuild/win32-ia32@0.24.2(transitive)
+ Added@esbuild/win32-x64@0.24.2(transitive)
+ Added@sveltejs/vite-plugin-svelte@5.0.3(transitive)
+ Added@sveltejs/vite-plugin-svelte-inspector@4.0.1(transitive)
+ Addedesbuild@0.24.2(transitive)
+ Addedvite@6.0.6(transitive)
- Removed@esbuild/aix-ppc64@0.21.5(transitive)
- Removed@esbuild/android-arm@0.21.5(transitive)
- Removed@esbuild/android-arm64@0.21.5(transitive)
- Removed@esbuild/android-x64@0.21.5(transitive)
- Removed@esbuild/darwin-arm64@0.21.5(transitive)
- Removed@esbuild/darwin-x64@0.21.5(transitive)
- Removed@esbuild/freebsd-arm64@0.21.5(transitive)
- Removed@esbuild/freebsd-x64@0.21.5(transitive)
- Removed@esbuild/linux-arm@0.21.5(transitive)
- Removed@esbuild/linux-arm64@0.21.5(transitive)
- Removed@esbuild/linux-ia32@0.21.5(transitive)
- Removed@esbuild/linux-loong64@0.21.5(transitive)
- Removed@esbuild/linux-mips64el@0.21.5(transitive)
- Removed@esbuild/linux-ppc64@0.21.5(transitive)
- Removed@esbuild/linux-riscv64@0.21.5(transitive)
- Removed@esbuild/linux-s390x@0.21.5(transitive)
- Removed@esbuild/linux-x64@0.21.5(transitive)
- Removed@esbuild/netbsd-x64@0.21.5(transitive)
- Removed@esbuild/openbsd-x64@0.21.5(transitive)
- Removed@esbuild/sunos-x64@0.21.5(transitive)
- Removed@esbuild/win32-arm64@0.21.5(transitive)
- Removed@esbuild/win32-ia32@0.21.5(transitive)
- Removed@esbuild/win32-x64@0.21.5(transitive)
- Removed@sveltejs/vite-plugin-svelte@4.0.4(transitive)
- Removed@sveltejs/vite-plugin-svelte-inspector@3.0.1(transitive)
- Removedesbuild@0.21.5(transitive)
- Removedvite@5.4.11(transitive)
Updatedesm-env@^1.2.1