@sveltejs/kit
Advanced tools
Comparing version
{ | ||
"name": "@sveltejs/kit", | ||
"version": "1.27.6", | ||
"version": "1.27.7", | ||
"description": "The fastest way to build Svelte apps", | ||
@@ -36,4 +36,4 @@ "repository": { | ||
"rollup": "^3.29.4", | ||
"svelte": "^4.2.2", | ||
"svelte-preprocess": "^5.0.4", | ||
"svelte": "^4.2.7", | ||
"svelte-preprocess": "^5.1.1", | ||
"typescript": "^4.9.4", | ||
@@ -40,0 +40,0 @@ "vite": "^4.4.9", |
@@ -42,2 +42,3 @@ import { dedent, isSvelte5Plus, write_if_changed } from './utils.js'; | ||
<!-- This file is generated by @sveltejs/kit — do not edit it! --> | ||
${isSvelte5Plus() ? '<svelte:options runes={true} />' : ''} | ||
<script> | ||
@@ -44,0 +45,0 @@ import { setContext, ${isSvelte5Plus() ? '' : 'afterUpdate, '}onMount, tick } from 'svelte'; |
@@ -105,3 +105,3 @@ import fs from 'node:fs'; | ||
const { pathname } = new URL(/** @type {string} */ (req.url), 'http://dummy'); | ||
const { pathname, search } = new URL(/** @type {string} */ (req.url), 'http://dummy'); | ||
@@ -117,2 +117,3 @@ let filename = normalizePath( | ||
/** @type {string | undefined} */ | ||
let redirect; | ||
@@ -132,2 +133,3 @@ | ||
if (redirect) { | ||
if (search) redirect += search; | ||
res.writeHead(307, { | ||
@@ -134,0 +136,0 @@ location: redirect |
// generated during release, do not modify | ||
/** @type {string} */ | ||
export const VERSION = '1.27.6'; | ||
export const VERSION = '1.27.7'; |
675978
0.02%19864
0.02%