@sveltejs/kit
Advanced tools
Comparing version 2.5.13 to 2.5.14
{ | ||
"name": "@sveltejs/kit", | ||
"version": "2.5.13", | ||
"version": "2.5.14", | ||
"description": "The fastest way to build Svelte apps", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -30,8 +30,9 @@ import { read_implementation, manifest } from '__sveltekit/server'; | ||
// handle inline assets internally | ||
if (asset.startsWith('data:')) { | ||
const [prelude, data] = asset.split(';'); | ||
const type = prelude.slice(5) || 'application/octet-stream'; | ||
const match = /^data:([^;,]+)?(;base64)?,/.exec(asset); | ||
if (match) { | ||
const type = match[1] ?? 'application/octet-stream'; | ||
const data = asset.slice(match[0].length); | ||
if (data.startsWith('base64,')) { | ||
const decoded = b64_decode(data.slice(7)); | ||
if (match[2] !== undefined) { | ||
const decoded = b64_decode(data); | ||
@@ -38,0 +39,0 @@ return new Response(decoded, { |
// generated during release, do not modify | ||
/** @type {string} */ | ||
export const VERSION = '2.5.13'; | ||
export const VERSION = '2.5.14'; |
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
731997
21319